clean up old requests dupes

This commit is contained in:
Andreas Billmeier 2020-06-20 09:52:19 +02:00 committed by Andreas Billmeier
parent 216b7f6111
commit e4cf083403
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
6 changed files with 1 additions and 228 deletions

View File

@ -6,6 +6,7 @@
* bump axis-31
* update PyMetno-0.5.1, SRC_URI changed to Github
* bump plexwebsocket-0.0.11
* clean up old requests dupes
2020-06-18
* throw out more old Python 3.6 stuff from README.md

View File

@ -1,9 +1,3 @@
DIST requests-2.21.0.tar.gz 111528 BLAKE2B 7b40f9f572a8efde41c177fb5d1e1eaf29ca60cad0661fa28ac0085f3700348380d619f68c0082f24044d1af82b16d6b1e7d5dd2c2a2329f85fcee7141b1fbf6 SHA512 385e1d80993a21c09e7c4682500ca8c24155962ba41ecd8e73612722b2ff6618b736e827fc48ad1683b0d2bc7a420cfe680f5107860aca52656ef777f1d60104
DIST requests-2.22.0.tar.gz 113406 BLAKE2B 36e1fa106f30af3d560c11edab3cd8f7e79116378c6f4d505052c8b19021846a22b4631567859b23331e7c9413896e77d7fc3288cd3af586f5f99da21c9181a6 SHA512 8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5
DIST requests-2.23.0.tar.gz 114327 BLAKE2B 75bdf83e117e9f67c2032609ed5c20582f743519ab8364dd6b12685efd6b6e438f1c155fe9d3df87e48608747f59df6d99698d1f68e5df6c0cbced9e7d1a9b37 SHA512 a0f7db5cc9ce67af9f6f81b72e41491735a102f2a1da2fbde98e279846e2140cd26b6370aa5ec79c148c397885a7ae2bbce45c4587215f510dd02b8ac57cb46e
EBUILD requests-2.21.0-r1.ebuild 1321 BLAKE2B ffc4e5ca9f8350d5c0159ae0f72588e26a0c7a630a899a8dc6364885b1b51967f3d53ac34379f27c84f45235a1886c061492191c8df326d943f336bed6e9ea06 SHA512 f7b51ed2f3d83f8f354fc81effca9716b60c5f6024f95920d681da3daaa318b8cf33196ca8a0dfc57987979996461df2d4d8137d96f43a75f6059fe1efe1927e
EBUILD requests-2.21.0.ebuild 1264 BLAKE2B ce58e67e5d6d120a1dcbfe944ef15b5f285498072897d01111c12ec85116cd0ed6fc5a6ff495e03cbb5532825b6f7b96cab4d4a820b4c3118a79dfd7dd431c96 SHA512 c0e17abac5b9f9de23867ae8b34108f13621366d4506f88dd4130927f1c1a7d37e663e9f775786e533fe0ba5650c1257bcfb4f46b6a22c215dd187aabb91d29a
EBUILD requests-2.22.0-r1.ebuild 1449 BLAKE2B f3e20df48def5e43a0893eb251e1e5668996f8366f5e6faaec47857e3d961006837acd8eb1922dcfd4b42e911167cf324681ceca015884fa0fec0ea2e2bffbab SHA512 ef6a65043fc17f3774b9c964de44c50b1810ce7e55472abf6cb6a31a33d38b9a0213e6348a8f3843a356bc8dbe7bf1cc9a561e7d80e443e3841b03d59f006608
EBUILD requests-2.22.0.ebuild 1462 BLAKE2B be5f9ba83ff1f580df62958ef52a6e187890bcdd14599695fc5cd68502d70c75b980a33cfc6ae351c25db5e36a5c436f4798fa9c0bee63dfb2ddfd56801a97df SHA512 19bad8672ba208bcf8cdaff21ebbae1c166451f8c94555e641cd89a8a4c04e46786232342674df9906cea88cbb85c818bf811bbb883b76eb4df89765a1dd3f9b
EBUILD requests-2.23.0.ebuild 1666 BLAKE2B 58987b403d8a0336a9f64c5d33b0900918bb0e3ee426123952fdaeb7b1c37a361fbeed9e236de241eef766216d2fb49af44701c056d230a4e16c9c266ba765fc SHA512 c477201e3a5ffa4fcb17c916be10215142e340e8de46bb72fbff9ebf142bf4dddf505018849305424051e1de5b424d501a2ec65b6b90e6dad416f23623e367ac
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@ -1,53 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="https://python-requests.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 amd64-linux x86-linux"
IUSE="socks5 +ssl"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
<dev-python/chardet-3.1.0[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
<dev-python/idna-2.9[${PYTHON_USEDEP}]
<dev-python/urllib3-1.25[${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_gen_usedep 'python*' pypy)]
)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests connect to various remote sites
RESTRICT="test"
#DEPEND+="
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
# dev-python/pytest-mock[${PYTHON_USEDEP}]
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
# )
#"
python_test() {
py.test || die
}

View File

@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="https://python-requests.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 amd64-linux x86-linux"
IUSE="socks5 +ssl"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
<dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24[${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_gen_usedep 'python*' pypy)]
)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests connect to various remote sites
RESTRICT="test"
#DEPEND+="
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
# dev-python/pytest-mock[${PYTHON_USEDEP}]
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
# )
#"
python_test() {
py.test || die
}

View File

@ -1,56 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="https://python-requests.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 amd64-linux x86-linux"
IUSE="socks5 +ssl"
RDEPEND="
>=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
<dev-python/chardet-3.1.0[${PYTHON_USEDEP}]
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
<dev-python/idna-2.9[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
<dev-python/urllib3-1.26[${PYTHON_USEDEP}]
!~dev-python/urllib3-1.25.0[${PYTHON_USEDEP}]
!~dev-python/urllib3-1.25.1[${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_gen_usedep 'python*' pypy)]
)
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
# tests connect to various remote sites
RESTRICT="test"
#DEPEND+="
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
# dev-python/pytest-mock[${PYTHON_USEDEP}]
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
# >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
# )
#"
python_test() {
py.test || die
}

View File

@ -1,61 +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} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="HTTP library for human beings"
HOMEPAGE="https://python-requests.org/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~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="
dev-python/setuptools[${PYTHON_USEDEP}]
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() {
pytest -vv || die "Tests failed with ${EPYTHON}"
}