From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-python/geventhttpclient/Manifest | 4 +- .../geventhttpclient/geventhttpclient-1.4.2.ebuild | 50 ---------------------- .../geventhttpclient-1.4.4-r1.ebuild | 50 ++++++++++++++++++++++ .../geventhttpclient/geventhttpclient-1.4.4.ebuild | 50 ---------------------- 4 files changed, 51 insertions(+), 103 deletions(-) delete mode 100644 dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild create mode 100644 dev-python/geventhttpclient/geventhttpclient-1.4.4-r1.ebuild delete mode 100644 dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild (limited to 'dev-python/geventhttpclient') diff --git a/dev-python/geventhttpclient/Manifest b/dev-python/geventhttpclient/Manifest index b652d3cb50fa..d1e89b82a174 100644 --- a/dev-python/geventhttpclient/Manifest +++ b/dev-python/geventhttpclient/Manifest @@ -1,5 +1,3 @@ -DIST geventhttpclient-1.4.2.tar.gz 57535 BLAKE2B f3c17140698b1609d9953110790fb536d982782c60165c717b6cee290c0b8fa5ae99cd6935401b6b617f0bd021783dd3f836c7cff775f513b9084714da1575a7 SHA512 3252d27f07a4642ba34d449664f50451b2ca4e44dc508345133d21acf659251a66be72784bacd312c074de4025dd5e080bdf35c84d9f7d40057132184a4d285d DIST geventhttpclient-1.4.4.tar.gz 57620 BLAKE2B 20b60cfa7e8221b050bfd95a6e23c2f3eee87c0df1e93171719c7ba1804e88c918471cdd01cf4c6020fb6d44d0a1b911ee09dd44cc1e150b5d18d6052f2904cf SHA512 c6a8580707f3178a3a55eb638b9e3f36f82aecbd8a5ce044f0b8c167d88ad2bec584275bed6b720a5f7a546b0ffd113bec28dd2e1ff4290c60f0b5e13542b737 -EBUILD geventhttpclient-1.4.2.ebuild 1527 BLAKE2B 6e6a17d12cebcc4e355bd35e7030df325ce028da315f76274d8ca95015488bb650a33f8ee64a0e0b7298a250e018a9778020bc511ed500bc1f1a12cfc0018afd SHA512 33a0eb1d558e10a841a09511f0c3ab48453c2ed66c38304f981f0f4027a9eaa77550b44384245377dde4fd61c4a260510577b0b7b68e5dbf41b4506b47483869 -EBUILD geventhttpclient-1.4.4.ebuild 1534 BLAKE2B 197e4765239974791a17839b96ae0e3ca778cbbe0cfc7e653cbc6191ccae8f0961bd4e5884d8dfbe95d28def428ba5a7dac05d309c861c027f6866de7f6cb493 SHA512 06e2e9ca60a5d959fe400eefb7db325f43f8dac024c8b7d30617519810239054578da3e4cb3a9798c7b779720586ffbf9dd37ef4f542d0425d5d1a3e4c7ccccf +EBUILD geventhttpclient-1.4.4-r1.ebuild 1528 BLAKE2B e6cb5144775a67001bbaae1298a9a1c545c7b19b4a2f6a780ba33d4c0c6b2ef1c6e613fa897f2269957ec8c9bac757324cef922c21470b9de1cd98fb54914c47 SHA512 b6768d862579ba75522389d6c3e7a5e2c74c123df6759c203b278a654ec5202b819084295b5a39f6961851f68902400e2f8769be6eb5c6469d3354accd9f4593 MISC metadata.xml 555 BLAKE2B a747ad2f270f2267b197d8489d253c18bc6093063f9cbc037afa0598931a244aa9da1d0d9d5c8e69a98c4f1fdfb8275917b9493dec895db5225a8918c51d0f43 SHA512 61c8affec2fd6d68f40d721842d7a121f6e24fdad560d131acf9e8b0f1a229afd2580fe9f78095da9a77b8dd9accf72b180eef797c4e143776e8beb7b7c36fcc diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild deleted file mode 100644 index 248eb286dece..000000000000 --- a/dev-python/geventhttpclient/geventhttpclient-1.4.2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) - -inherit distutils-r1 - -DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" -HOMEPAGE="https://github.com/gwik/geventhttpclient" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -python_prepare_all() { - # Skip SNI tests which require dpkt - sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local skipped_tests=( - # Require dpkg - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl - ) - # Append to sys.path to avoid ImportError - # https://bugs.gentoo.org/667758 - # Skip tests which require internet access - pytest --import-mode=append -vv ${skipped_tests[@]/#/--deselect } \ - -m "not online" || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.4-r1.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.4-r1.ebuild new file mode 100644 index 000000000000..826f195f3eee --- /dev/null +++ b/dev-python/geventhttpclient/geventhttpclient-1.4.4-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" +HOMEPAGE="https://github.com/gwik/geventhttpclient" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Skip SNI tests which require dpkt + sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || die + distutils-r1_python_prepare_all +} + +python_test() { + local skipped_tests=( + # Require dpkt + src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl + src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl + src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl + ) + # Append to sys.path to avoid ImportError + # https://bugs.gentoo.org/667758 + # Skip tests which require internet access + pytest --import-mode=append -vv ${skipped_tests[@]/#/--deselect } \ + -m "not online" || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild b/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild deleted file mode 100644 index 3cb77db1829c..000000000000 --- a/dev-python/geventhttpclient/geventhttpclient-1.4.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{6,7,8,9}} ) - -inherit distutils-r1 - -DESCRIPTION="A high performance, concurrent HTTP client library for Python using gevent" -HOMEPAGE="https://github.com/gwik/geventhttpclient" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -python_prepare_all() { - # Skip SNI tests which require dpkt - sed -i '/^import dpkt.ssl/d' src/geventhttpclient/tests/test_ssl.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local skipped_tests=( - # Require dpkt - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_host_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_implicit_sni_from_header_in_ssl - src/geventhttpclient/tests/test_ssl.py::test_explicit_sni_in_ssl - ) - # Append to sys.path to avoid ImportError - # https://bugs.gentoo.org/667758 - # Skip tests which require internet access - pytest --import-mode=append -vv ${skipped_tests[@]/#/--deselect } \ - -m "not online" || die "Tests failed with ${EPYTHON}" -} -- cgit v1.2.3