From f5e75eab44919f8fb180dc0de45acf43b9fcaa6a Mon Sep 17 00:00:00 2001 From: Mickaël Schoentgen Date: Tue, 14 Sep 2021 10:42:43 +0200 Subject: net-misc/httpie: update metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove obsolete `dev-python/mock` dependency. * Simplify tests: skipped tests due to required network access are now handled at the upstream level. * Also take ownership (I am working for the compagny behind HTTPie). Signed-off-by: Mickaël Schoentgen Closes: https://github.com/gentoo/gentoo/pull/22291 Signed-off-by: Sam James --- net-misc/httpie/httpie-2.5.0.ebuild | 18 +++--------------- net-misc/httpie/metadata.xml | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 17 deletions(-) (limited to 'net-misc') diff --git a/net-misc/httpie/httpie-2.5.0.ebuild b/net-misc/httpie/httpie-2.5.0.ebuild index b2e48e8373fa..bc6673f64530 100644 --- a/net-misc/httpie/httpie-2.5.0.ebuild +++ b/net-misc/httpie/httpie-2.5.0.ebuild @@ -10,8 +10,8 @@ PYTHON_REQ_USE="ssl(+)" inherit bash-completion-r1 distutils-r1 DESCRIPTION="Modern command line HTTP client" -HOMEPAGE="https://httpie.org/ https://pypi.org/project/httpie/" -SRC_URI="https://github.com/jakubroztocil/httpie/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://httpie.io/ https://pypi.org/project/httpie/" +SRC_URI="https://github.com/httpie/httpie/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -28,7 +28,6 @@ RDEPEND=" BDEPEND=" test? ( ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/pytest-httpbin[${PYTHON_USEDEP}] dev-python/responses[${PYTHON_USEDEP}] @@ -38,18 +37,7 @@ BDEPEND=" distutils_enable_tests pytest python_test() { - local skipped_tests=() - - skipped_tests+=( - tests/test_uploads.py::test_chunked_json - tests/test_uploads.py::test_chunked_form - tests/test_uploads.py::test_chunked_stdin - tests/test_uploads.py::TestMultipartFormDataFileUpload::test_multipart_chunked - tests/test_uploads.py::TestRequestBodyFromFilePath::test_request_body_from_file_by_path_chunked - tests/test_tokens.py::test_verbose_chunked - ) - - pytest -v ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}" + pytest -v || die "Tests failed with ${EPYTHON}" } python_install_all() { diff --git a/net-misc/httpie/metadata.xml b/net-misc/httpie/metadata.xml index ee6866684a3b..4bfbb6afe5f7 100644 --- a/net-misc/httpie/metadata.xml +++ b/net-misc/httpie/metadata.xml @@ -1,7 +1,14 @@ - + + mickael@apible.io + Mickaël Schoentgen + + + proxy-maint@gentoo.org + Proxy Maintainers + HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as @@ -12,7 +19,10 @@ servers. - jakubroztocil/httpie + https://github.com/httpie/httpie/issues + https://raw.githubusercontent.com/httpie/httpie/master/CHANGELOG.md + https://httpie.io/docs + httpie/httpie httpie -- cgit v1.2.3-65-gdbad