commit:     f03a990d45918977b6069a6dba48da87a94bff91
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 13:48:20 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 14:13:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03a990d

dev-python/requests: Clean old up

 dev-python/requests/Manifest                       |  3 --
 .../files/requests-2.2.0-system-chardet.patch      | 21 ---------
 dev-python/requests/requests-2.13.0.ebuild         | 54 ----------------------
 dev-python/requests/requests-2.18.1.ebuild         | 46 ------------------
 dev-python/requests/requests-2.8.1.ebuild          | 53 ---------------------
 5 files changed, 177 deletions(-)

diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
index 088c39b8942..f1367cf8fe9 100644
--- a/dev-python/requests/Manifest
+++ b/dev-python/requests/Manifest
@@ -1,8 +1,5 @@
 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.13.0.tar.gz 557508 BLAKE2B 
f7ef3349eb090dfd9dabbf81410b801ce97a74a1a22f8b935ccf980218e49ead054ca78f97dde4fe48fee40c2b6e92a62364a386d79787c3c8847ee2805e6330
 SHA512 
d3e9c25d1ce7ecf51bd4b137645d06c07170542a78fc847b1c30cad6efa9bcbf36d4b0c809389cbf260dc7d73128ab6bbed1e197cba9497b6ad791b48014ae14
 DIST requests-2.14.2.tar.gz 521027 BLAKE2B 
c8f691b126876e069556542dbfc86a6aa645233b3539ca7fc0e02f42dec22bdcbb78863e3a9cf30a976af89cd8c1403c3c379737a5e1b07c54f19b217dbec529
 SHA512 
f6531ada6d854a261cad874044daa9e7f79d55c8f8fcfec1b25862563127318fbf717ed640644ddf0dbe4d7fe1298d478fcd76825a3604e06cefae5990fa9dd4
-DIST requests-2.18.1.tar.gz 124229 BLAKE2B 
71b73af2afa87b1cfaedb9c27f2c305b0a9dce536a716a15441ef9d098c50c50a8f826ee540a4bac053e4f1cbc0af0cd8b87924368755aea02fac131d215e017
 SHA512 
d7482ddce36ce633bee830bc8d9f9a207e1c20595378f7c60dcef01cab016a16704965f3b52e3faac63dd50fbe7c61d575742e71f51a2b8d41c1922df2dbaa06
 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.8.1.tar.gz 480803 BLAKE2B 
8af2cd1588f2dec11f04286132eda8c2bac956ea45d5a6ae32baf09d87dd1c4749d936aa607dc554a568bbc04e3485463d7f60ca62d77a9c2eca5db0a11c22f8
 SHA512 
bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb

diff --git a/dev-python/requests/files/requests-2.2.0-system-chardet.patch 
b/dev-python/requests/files/requests-2.2.0-system-chardet.patch
deleted file mode 100644
index 18fc7a992bf..00000000000
--- a/dev-python/requests/files/requests-2.2.0-system-chardet.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- requests-2.2.0/requests/compat.py
-+++ requests-2.2.0/requests/compat.py
-@@ -4,7 +4,7 @@
- pythoncompat
- """
- 
--from .packages import chardet
-+import chardet
- 
- import sys
- 
---- requests-2.2.0/setup.py
-+++ requests-2.2.0/setup.py
-@@ -17,7 +17,6 @@
- packages = [
-     'requests',
-     'requests.packages',
--    'requests.packages.chardet',
-     'requests.packages.urllib3',
-     'requests.packages.urllib3.packages',
-     'requests.packages.urllib3.contrib',

diff --git a/dev-python/requests/requests-2.13.0.ebuild 
b/dev-python/requests/requests-2.13.0.ebuild
deleted file mode 100644
index ca733c4061c..00000000000
--- a/dev-python/requests/requests-2.13.0.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.python.org/pypi/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-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/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
-       >=dev-python/urllib3-1.20[${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.18.1.ebuild 
b/dev-python/requests/requests-2.18.1.ebuild
deleted file mode 100644
index bbf594bc0e5..00000000000
--- a/dev-python/requests/requests-2.18.1.ebuild
+++ /dev/null
@@ -1,46 +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/";
-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="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/urllib3-1.21.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"
-#      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.8.1.ebuild 
b/dev-python/requests/requests-2.8.1.ebuild
deleted file mode 100644
index 30e3700e685..00000000000
--- a/dev-python/requests/requests-2.8.1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="HTTP library for human beings"
-HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/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"
-
-# bundles dev-python/urllib3 snapshot
-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[$(python_gen_usedep 'python*' pypy)]
-       "
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? (
-               >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
-       )
-       "
-
-# tests connect to various remote sites
-RESTRICT="test"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch
-       "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
-)
-
-python_prepare_all() {
-       # use system chardet
-       rm -r requests/packages/chardet || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_test() {
-       "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}"
-}

Reply via email to