commit:     a5512269b8530127e1a156481b6a400f5083b209
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 17:15:34 2019 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sun Jan 27 17:16:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5512269

dev-python/requests: remove old

Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/requests/Manifest                       |  5 --
 .../files/requests-2.12.1-system-packages.patch    | 17 -------
 .../files/requests-2.14.2-system-packages.patch    | 19 --------
 .../files/requests-2.5.0-system-cacerts.patch      | 24 ----------
 .../files/requests-2.9.1-system-packages.patch     | 20 --------
 dev-python/requests/requests-2.11.1.ebuild         | 54 ---------------------
 dev-python/requests/requests-2.12.5.ebuild         | 55 ----------------------
 dev-python/requests/requests-2.14.2.ebuild         | 54 ---------------------
 dev-python/requests/requests-2.18.2-r2.ebuild      | 47 ------------------
 dev-python/requests/requests-2.19.1-r1.ebuild      | 52 --------------------
 10 files changed, 347 deletions(-)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 96e5ad527dd..bfd440a8fc6 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -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

diff --git a/dev-python/requests/files/requests-2.12.1-system-packages.patch 
b/dev-python/requests/files/requests-2.12.1-system-packages.patch
deleted file mode 100644
index 62fecf9cc7a..00000000000
--- a/dev-python/requests/files/requests-2.12.1-system-packages.patch
+++ /dev/null
@@ -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 = []

diff --git a/dev-python/requests/files/requests-2.14.2-system-packages.patch 
b/dev-python/requests/files/requests-2.14.2-system-packages.patch
deleted file mode 100644
index 67627d150fe..00000000000
--- a/dev-python/requests/files/requests-2.14.2-system-packages.patch
+++ /dev/null
@@ -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 = []

diff --git a/dev-python/requests/files/requests-2.5.0-system-cacerts.patch 
b/dev-python/requests/files/requests-2.5.0-system-cacerts.patch
deleted file mode 100644
index f0d9e943e90..00000000000
--- a/dev-python/requests/files/requests-2.5.0-system-cacerts.patch
+++ /dev/null
@@ -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())

diff --git a/dev-python/requests/files/requests-2.9.1-system-packages.patch 
b/dev-python/requests/files/requests-2.9.1-system-packages.patch
deleted file mode 100644
index f511d0d6524..00000000000
--- a/dev-python/requests/files/requests-2.9.1-system-packages.patch
+++ /dev/null
@@ -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 = []

diff --git a/dev-python/requests/requests-2.11.1.ebuild 
b/dev-python/requests/requests-2.11.1.ebuild
deleted file mode 100644
index d4d0a9ff54b..00000000000
--- a/dev-python/requests/requests-2.11.1.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/dev-python/requests/requests-2.12.5.ebuild 
b/dev-python/requests/requests-2.12.5.ebuild
deleted file mode 100644
index c528fbc166d..00000000000
--- a/dev-python/requests/requests-2.12.5.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/dev-python/requests/requests-2.14.2.ebuild 
b/dev-python/requests/requests-2.14.2.ebuild
deleted file mode 100644
index f344c8e9fa8..00000000000
--- a/dev-python/requests/requests-2.14.2.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/dev-python/requests/requests-2.18.2-r2.ebuild 
b/dev-python/requests/requests-2.18.2-r2.ebuild
deleted file mode 100644
index f445f7e031f..00000000000
--- a/dev-python/requests/requests-2.18.2-r2.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/dev-python/requests/requests-2.19.1-r1.ebuild 
b/dev-python/requests/requests-2.19.1-r1.ebuild
deleted file mode 100644
index 0d6c239ab99..00000000000
--- a/dev-python/requests/requests-2.19.1-r1.ebuild
+++ /dev/null
@@ -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
-}

Reply via email to