From c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Feb 2021 21:41:11 +0000 Subject: gentoo (valentine's day) resync : 14.02.2021 --- net-misc/httpie/Manifest | 6 ++-- net-misc/httpie/httpie-2.2.0.ebuild | 39 ------------------------- net-misc/httpie/httpie-2.3.0.ebuild | 2 +- net-misc/httpie/httpie-2.4.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 43 deletions(-) delete mode 100644 net-misc/httpie/httpie-2.2.0.ebuild create mode 100644 net-misc/httpie/httpie-2.4.0.ebuild (limited to 'net-misc/httpie') diff --git a/net-misc/httpie/Manifest b/net-misc/httpie/Manifest index 09013d0cd5f3..737abae5b342 100644 --- a/net-misc/httpie/Manifest +++ b/net-misc/httpie/Manifest @@ -1,5 +1,5 @@ -DIST httpie-2.2.0.tar.gz 1761927 BLAKE2B 3ce8acf4abf9cb189315e07e7f9c8dfc1b0a537696a2c9fd795e8e944c85c1df8e7e13fbaee68d3b93115296ba048e664d31245fe2c6b832123818292b4fac8d SHA512 00c1f34041854319816d7d643a79358723c27a3744f405d629b5361685745bfdd8ce0a0f127cb3d6746e46405d24562625ca37733a5955809d7bfc077ae5c533 DIST httpie-2.3.0.tar.gz 1769401 BLAKE2B e9bb5ca9ebb5fde3bed66ba15c46cccff1f8d5d01841f954fe4d19be92d3282cd3c19e1fc34b42fe1c36798438aa116f5bb91147864be9d8ee37030cb7796e16 SHA512 d0c5b46075892e9d6df76c1e3b430fcd768238c7fbdeda51368dc1bc7c657efc901088ccb7f1e6fc6e4f54dde4c9bcbe626dfa926c8ca1a6bcfd12e522414505 -EBUILD httpie-2.2.0.ebuild 1047 BLAKE2B dab187b07f3c6195f43dade2eb4ffe64e964cd385b5ce736a78c53104e33329aaaa6b3f632d74cb140cf772ddcbc362566c703dc375df90377bbd2e727376fb0 SHA512 be7bb36e2fa694912fa2d889345c76c1e86e583b8a16f0d648fd3334196691936cd100646e3d9974ed3dc13470ffa56d1eb817196239287f32222e5856d8ced1 -EBUILD httpie-2.3.0.ebuild 1581 BLAKE2B d1b7ac93924ee2f29c4edb34b6848900e6a991b0039f74ff6616bc467067be6820b198b279d04f75ec01e35e0b8c59df9d15b23a634642e73ca9e28d315f6d30 SHA512 7dcf0f5f054ad75d62eaed2125caeb1c9a31d0eba8e12663433fb436e3f8813a923a2c7d80bd5ebb5b9efe4b6c1689522be39b6ac9b9d9a7550749f5683c74cd +DIST httpie-2.4.0.tar.gz 1772537 BLAKE2B 111451cc7dc353d5b586554f98ac715a3198f03e74d261944a5f021d2dcc948455500800222b323d182a2a067d0549bda7c318ab3a6c934b9a9beec64aff2db2 SHA512 44cc7ff4fe0f3d8c53a7dd750465f6b56c36f5bbac06d22b760579bd60949039e82313845699669a659ec91adc69dbeac22c06ddd63af64e6f2e0edecf3e732a +EBUILD httpie-2.3.0.ebuild 1580 BLAKE2B d21fdd15e5656af0a54d13652cdcd7c6ff4e8eb57875fe6c5200b496172d399ee566998d1d75be36fafd1e0504005e750ebab8437c7283eebf26b7a51e2e4baa SHA512 39e169d6673a8c120ee64efce8957550d43fdac6cf5fc31554ba23d69e4feda2da355d8f7dd67869e0c51b4de09ea5996f53fd238b0a957e0b876d293235640e +EBUILD httpie-2.4.0.ebuild 1579 BLAKE2B 2ee916321ac4fb4e0bacc3477b142bf1f3579a636fb9bf84ee0031f7c4bcb6e0874da3b9f1009bbaa8a83b8e4546895ba0a4b0a61a09626300efd5fe3dde67a4 SHA512 0e05c02df76810f03817fa0964474cbb6cdf7f3dffba71f911871fa58094128f4637f88e0e2018ffb183202f54666d617e00769574926118faf53b7ffdbba7a2 MISC metadata.xml 749 BLAKE2B cb920766146fcc33952835a6e2fff7aeb12dff221655b53550a5158679639256529d51165dc25697ceac13113c6b34e3b174f75fb34e448c0d3121790324c06b SHA512 c3da003a8f72ab4df475211a13c35d83b0cbae2883fa7babecc3325c16ad967f80c25e6c28b35d1a120dba627a82ff629dde26aae62ad6e86494579e2e3eff3d diff --git a/net-misc/httpie/httpie-2.2.0.ebuild b/net-misc/httpie/httpie-2.2.0.ebuild deleted file mode 100644 index 213ab2c2d83f..000000000000 --- a/net-misc/httpie/httpie-2.2.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,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" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND="dev-python/pygments[${PYTHON_USEDEP}] - >=dev-python/requests-2.22.0[${PYTHON_USEDEP}]" -DEPEND="test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_install_all() { - newbashcomp extras/httpie-completion.bash http - insinto /usr/share/fish/vendor_completions.d - newins extras/httpie-completion.fish http.fish - distutils-r1_python_install_all -} diff --git a/net-misc/httpie/httpie-2.3.0.ebuild b/net-misc/httpie/httpie-2.3.0.ebuild index aa283a907f97..fb68e7636b15 100644 --- a/net-misc/httpie/httpie-2.3.0.ebuild +++ b/net-misc/httpie/httpie-2.3.0.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/jakubroztocil/httpie/archive/${PV}.tar.gz -> ${P}.ta LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-misc/httpie/httpie-2.4.0.ebuild b/net-misc/httpie/httpie-2.4.0.ebuild new file mode 100644 index 000000000000..ee9d95b77935 --- /dev/null +++ b/net-misc/httpie/httpie-2.4.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7,8,9} ) +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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/requests-2.22.0[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + ) +" + +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}" +} + +python_install_all() { + newbashcomp extras/httpie-completion.bash http + insinto /usr/share/fish/vendor_completions.d + newins extras/httpie-completion.fish http.fish + distutils-r1_python_install_all +} -- cgit v1.2.3