mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/requests: remove old
Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -1,7 +1,2 @@
|
||||
DIST requests-2.11.1.tar.gz 485936 BLAKE2B a6396da4beca66a0b546b92cebebb33352dc0855f50bba046bd40d7c65e71cdaab0b36496060dd4ee9c88b851f1f6e0faa4a2be5a596b475a08bd5359da43a0d SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5
|
||||
DIST requests-2.12.5.tar.gz 548336 BLAKE2B edb163b945289fe6d75365da523505d25eab47c5686f5e44a3eacd2a70adf1a45320e0bc8d5b91f10fae065117435682523117b4d338179c2a01352910be1d14 SHA512 3ad60b953c6db98d26c043c7e77c3be8b28389ee1dbf32e75663cf48a8ddc2e487df27c54c64736ff42b79e35a6dbd2788065469a61a520a9818183970274cd9
|
||||
DIST requests-2.14.2.tar.gz 521027 BLAKE2B c8f691b126876e069556542dbfc86a6aa645233b3539ca7fc0e02f42dec22bdcbb78863e3a9cf30a976af89cd8c1403c3c379737a5e1b07c54f19b217dbec529 SHA512 f6531ada6d854a261cad874044daa9e7f79d55c8f8fcfec1b25862563127318fbf717ed640644ddf0dbe4d7fe1298d478fcd76825a3604e06cefae5990fa9dd4
|
||||
DIST requests-2.18.2.tar.gz 125381 BLAKE2B f55bee7558424662ff5d577eefc89cdbdec3a209667bd174a3ec73554bab20582867139ce69ed5b996ecfb297cc251d41294188e21bd24d2241a0ad0432582f2 SHA512 b78660e5370f9acc458159edda385fbcbbb33b0703fa2c83400f3c08fe05253f357175e2ad76c5bff4bd942ab18da5df344473e9b5a924d7457596c0ff9bfbc6
|
||||
DIST requests-2.18.4.tar.gz 126224 BLAKE2B 98ab1fe39832673ea7900029da275e031fc85811d6ddb0f37609ec50b18e17d8a04b6cef397bc626ba13da32e16ffa961626879106941d327694d8763dc1efb6 SHA512 5c59bed82ac1094194f04a973b299f7d783264d372abd7a5229295bccc6b2f7a9f082ee4b0dff348e9c22cf68ddbd7cb67f60fd0b7d9eda41c02e40d075e9472
|
||||
DIST requests-2.19.1.tar.gz 131068 BLAKE2B 54ffdfd7b2c6f504071c8b55d9672dcffafd31de90cb85d354bc17d7fa19807927b46977b22a407654cdb48d7293e1b0222771d4369e148e4d6410719ba820e3 SHA512 deef2662227497b472f6e7eb7f0ee468c772069fc66552f71d80e5a12af62a187f8bc6a8a78531915e824c7f277d0db61c1534c89d13d473f68504f0bd6edf47
|
||||
DIST requests-2.21.0.tar.gz 111528 BLAKE2B 7b40f9f572a8efde41c177fb5d1e1eaf29ca60cad0661fa28ac0085f3700348380d619f68c0082f24044d1af82b16d6b1e7d5dd2c2a2329f85fcee7141b1fbf6 SHA512 385e1d80993a21c09e7c4682500ca8c24155962ba41ecd8e73612722b2ff6618b736e827fc48ad1683b0d2bc7a420cfe680f5107860aca52656ef777f1d60104
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
--- requests-2.12.1/setup.py
|
||||
+++ requests-2.12.1/setup.py
|
||||
@@ -36,14 +36,6 @@
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
- 'requests.packages.idna',
|
||||
- 'requests.packages.urllib3',
|
||||
- 'requests.packages.urllib3.packages',
|
||||
- 'requests.packages.urllib3.contrib',
|
||||
- 'requests.packages.urllib3.util',
|
||||
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||||
- 'requests.packages.urllib3.packages.backports',
|
||||
]
|
||||
|
||||
requires = []
|
||||
@@ -1,19 +0,0 @@
|
||||
--- requests-2.14.2/setup.py.old 2017-05-15 17:38:45.942532911 +0200
|
||||
+++ requests-2.14.2/setup.py 2017-05-15 17:39:03.629533611 +0200
|
||||
@@ -36,16 +36,6 @@
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
- 'requests.packages.chardet.cli',
|
||||
- 'requests.packages.idna',
|
||||
- 'requests.packages.urllib3',
|
||||
- 'requests.packages.urllib3.packages',
|
||||
- 'requests.packages.urllib3.contrib',
|
||||
- 'requests.packages.urllib3.util',
|
||||
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||||
- 'requests.packages.urllib3.packages.backports',
|
||||
- 'requests.packages.urllib3.contrib._securetransport',
|
||||
]
|
||||
|
||||
requires = []
|
||||
@@ -1,24 +0,0 @@
|
||||
--- requests-2.5.0/requests/certs.py
|
||||
+++ requests-2.5.0/requests/certs.py
|
||||
@@ -13,13 +13,14 @@
|
||||
"""
|
||||
import os.path
|
||||
|
||||
-try:
|
||||
- from certifi import where
|
||||
-except ImportError:
|
||||
- def where():
|
||||
- """Return the preferred certificate bundle."""
|
||||
- # vendored bundle inside Requests
|
||||
- return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
||||
+def where():
|
||||
+ """Return the preferred certificate bundle."""
|
||||
+ cacerts = '/etc/ssl/certs/ca-certificates.crt'
|
||||
+ if os.path.exists(cacerts):
|
||||
+ return cacerts
|
||||
+
|
||||
+ # vendored bundle inside Requests
|
||||
+ return os.path.join(os.path.dirname(__file__), 'cacert.pem')
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(where())
|
||||
@@ -1,20 +0,0 @@
|
||||
setup.py | 6 ------
|
||||
1 file changed, 6 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index b7ed12b..1d5abe4 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -18,12 +18,6 @@ if sys.argv[-1] == 'publish':
|
||||
packages = [
|
||||
'requests',
|
||||
'requests.packages',
|
||||
- 'requests.packages.chardet',
|
||||
- 'requests.packages.urllib3',
|
||||
- 'requests.packages.urllib3.packages',
|
||||
- 'requests.packages.urllib3.contrib',
|
||||
- 'requests.packages.urllib3.util',
|
||||
- 'requests.packages.urllib3.packages.ssl_match_hostname',
|
||||
]
|
||||
|
||||
requires = []
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ https://pypi.org/project/requests/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/ca-certificates
|
||||
>=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-1.4.30[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.13[$(python_gen_usedep 'python*' pypy)]
|
||||
>=dev-python/urllib3-1.14[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.9.1-system-packages.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# use system chardet & urllib3
|
||||
rm -r requests/packages/{chardet,urllib3} || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ https://pypi.org/project/requests/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/ca-certificates
|
||||
>=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-1.4.30[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
|
||||
>=dev-python/urllib3-1.14[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.12.1-system-packages.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# use system chardet & urllib3
|
||||
rm -r requests/packages/{chardet,urllib3} || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ https://pypi.org/project/requests/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/ca-certificates
|
||||
>=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
|
||||
dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
|
||||
>=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-system-packages.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# use system chardet & urllib3
|
||||
rm -r requests/packages/{chardet,urllib3} || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test -v || die
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="socks5 +ssl test"
|
||||
|
||||
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.6[${PYTHON_USEDEP}]
|
||||
<dev-python/urllib3-1.23[${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"
|
||||
# test? (
|
||||
# dev-python/pytest[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
# dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
# )
|
||||
|
||||
python_test() {
|
||||
py.test -v --boxed || die
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# 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="http://python-requests.org/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user