diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /dev-python/requests | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-python/requests')
-rw-r--r-- | dev-python/requests/Manifest | 4 | ||||
-rw-r--r-- | dev-python/requests/requests-2.23.0.ebuild | 65 | ||||
-rw-r--r-- | dev-python/requests/requests-2.24.0-r1.ebuild (renamed from dev-python/requests/requests-2.24.0.ebuild) | 2 |
3 files changed, 2 insertions, 69 deletions
diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest index 4e6805979386..88d3f47f8ca1 100644 --- a/dev-python/requests/Manifest +++ b/dev-python/requests/Manifest @@ -1,5 +1,3 @@ -DIST requests-2.23.0.tar.gz 114327 BLAKE2B 75bdf83e117e9f67c2032609ed5c20582f743519ab8364dd6b12685efd6b6e438f1c155fe9d3df87e48608747f59df6d99698d1f68e5df6c0cbced9e7d1a9b37 SHA512 a0f7db5cc9ce67af9f6f81b72e41491735a102f2a1da2fbde98e279846e2140cd26b6370aa5ec79c148c397885a7ae2bbce45c4587215f510dd02b8ac57cb46e DIST requests-2.24.0.tar.gz 115071 BLAKE2B ae98be1d023b2a7b883e15a7a5d214ecbf482234e9de6bfc9cd06d1f04d1b57d101d41a2c6fdd07b7a6b468875463514841d2e023391ac8ae0797a2cb58b3424 SHA512 46ca8ab70eb39be8398c242404b9b3ffb6baddd5c78eaad125b55c719154eb8c7b6a737a8dc587b0cb51b3b9a074abaa8b2ff347a64d38f4f90cdba4db16a119 -EBUILD requests-2.23.0.ebuild 1734 BLAKE2B 283bb4889f5d8609ca75afd8c1cab7eaef7733308b6dc804b2bb94fc6df7e8706496727b181f3663bf1a6b1448669788576c3c48d52aa86292a6d77309d61bfd SHA512 790beb81a88ac5b44d720fd04160db94d1bf7eded7287e69e38d013500650de6c920794d7bfebdd14e972e87fe79b9d1930ad19ab3e67461cea51076818fa3ce -EBUILD requests-2.24.0.ebuild 1510 BLAKE2B ebd7140f06fcc78c879b15dc0b0022ab6934fa1ad6f1dbbaa1eb2e97f10f722cb2d1d79ef756a3dcfc7a3dc88e66066ed08974721a5e446c13e0aa06c8a2613f SHA512 6643d9bf90198fd708f041c126d51c52c3b477e210a417c0aec5b423f6904196999015547cf9dca9f5287fc9d40708cfc59a6e00d85e7738096e2b6ea5644dba +EBUILD requests-2.24.0-r1.ebuild 1500 BLAKE2B 8c41580af3392d4b1d22aa3809ce970e7c6ef9f56dabab7daf1b02892e8cf116a0c5872625b1de7816201dc5650d3db2907e8514c25eb6d46799f182321350bf SHA512 1eef7754e3491548ea66ab9a7d34b6412e9c08cae2bfee0eec4ab914445f6bf32ecf07ae52b3c56f31428eeebb67ffe67702d9e3a2d25248b4853a26b2e10fad MISC metadata.xml 769 BLAKE2B 3b70fd8b559e10b971a7c72e4e134028300406af09445bf3d9c013cc15899f10452b493730b0af5f1ec958b81f719ae1af9be96cbf3fb5c0e3bf6f5bf1de7326 SHA512 12d72ea4ecc2ba0a58306917322a1687b73a3234b6dfa7f9ddbc4aa861daa4a56bcc6a8ea7e5da7cafdca2239f065c0f839a998de133958656b2c9a764fc30ae diff --git a/dev-python/requests/requests-2.23.0.ebuild b/dev-python/requests/requests-2.23.0.ebuild deleted file mode 100644 index 28ef5b6c04fe..000000000000 --- a/dev-python/requests/requests-2.23.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE="https://requests.readthedocs.io/" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="socks5 +ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] - >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}] - <dev-python/chardet-4[${PYTHON_USEDEP}] - >=dev-python/idna-2.5[${PYTHON_USEDEP}] - <dev-python/idna-3[${PYTHON_USEDEP}] - <dev-python/urllib3-1.26[${PYTHON_USEDEP}] - socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] ) - ssl? ( - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] - ) -" - -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - distutils-r1_src_prepare - - # strip tests that require some kind of network - sed -e 's:test_connect_timeout:_&:' \ - -e 's:test_total_timeout_connect:_&:' \ - -i tests/test_requests.py || die - # probably pyopenssl version dependent - sed -e 's:test_https_warnings:_&:' \ - -i tests/test_requests.py || die - # doctests rely on networking - sed -e 's:--doctest-modules::' \ - -i pytest.ini || die -} - -python_test() { - # tests hang with pypy & pypy3 -# [[ ${EPYTHON} == pypy* ]] && continue - - pytest -vv || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/requests/requests-2.24.0.ebuild b/dev-python/requests/requests-2.24.0-r1.ebuild index 5b2fd3419e23..0913ffd3341b 100644 --- a/dev-python/requests/requests-2.24.0.ebuild +++ b/dev-python/requests/requests-2.24.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 |