Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/, dev-python/requests/files/
Date: Sat, 06 Jan 2018 14:13:36
Message-Id: 1515248002.f03a990d45918977b6069a6dba48da87a94bff91.mgorny@gentoo
1 commit: f03a990d45918977b6069a6dba48da87a94bff91
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 6 13:48:20 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 6 14:13:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03a990d
7
8 dev-python/requests: Clean old up
9
10 dev-python/requests/Manifest | 3 --
11 .../files/requests-2.2.0-system-chardet.patch | 21 ---------
12 dev-python/requests/requests-2.13.0.ebuild | 54 ----------------------
13 dev-python/requests/requests-2.18.1.ebuild | 46 ------------------
14 dev-python/requests/requests-2.8.1.ebuild | 53 ---------------------
15 5 files changed, 177 deletions(-)
16
17 diff --git a/dev-python/requests/Manifest b/dev-python/requests/Manifest
18 index 088c39b8942..f1367cf8fe9 100644
19 --- a/dev-python/requests/Manifest
20 +++ b/dev-python/requests/Manifest
21 @@ -1,8 +1,5 @@
22 DIST requests-2.11.1.tar.gz 485936 BLAKE2B a6396da4beca66a0b546b92cebebb33352dc0855f50bba046bd40d7c65e71cdaab0b36496060dd4ee9c88b851f1f6e0faa4a2be5a596b475a08bd5359da43a0d SHA512 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5
23 DIST requests-2.12.5.tar.gz 548336 BLAKE2B edb163b945289fe6d75365da523505d25eab47c5686f5e44a3eacd2a70adf1a45320e0bc8d5b91f10fae065117435682523117b4d338179c2a01352910be1d14 SHA512 3ad60b953c6db98d26c043c7e77c3be8b28389ee1dbf32e75663cf48a8ddc2e487df27c54c64736ff42b79e35a6dbd2788065469a61a520a9818183970274cd9
24 -DIST requests-2.13.0.tar.gz 557508 BLAKE2B f7ef3349eb090dfd9dabbf81410b801ce97a74a1a22f8b935ccf980218e49ead054ca78f97dde4fe48fee40c2b6e92a62364a386d79787c3c8847ee2805e6330 SHA512 d3e9c25d1ce7ecf51bd4b137645d06c07170542a78fc847b1c30cad6efa9bcbf36d4b0c809389cbf260dc7d73128ab6bbed1e197cba9497b6ad791b48014ae14
25 DIST requests-2.14.2.tar.gz 521027 BLAKE2B c8f691b126876e069556542dbfc86a6aa645233b3539ca7fc0e02f42dec22bdcbb78863e3a9cf30a976af89cd8c1403c3c379737a5e1b07c54f19b217dbec529 SHA512 f6531ada6d854a261cad874044daa9e7f79d55c8f8fcfec1b25862563127318fbf717ed640644ddf0dbe4d7fe1298d478fcd76825a3604e06cefae5990fa9dd4
26 -DIST requests-2.18.1.tar.gz 124229 BLAKE2B 71b73af2afa87b1cfaedb9c27f2c305b0a9dce536a716a15441ef9d098c50c50a8f826ee540a4bac053e4f1cbc0af0cd8b87924368755aea02fac131d215e017 SHA512 d7482ddce36ce633bee830bc8d9f9a207e1c20595378f7c60dcef01cab016a16704965f3b52e3faac63dd50fbe7c61d575742e71f51a2b8d41c1922df2dbaa06
27 DIST requests-2.18.2.tar.gz 125381 BLAKE2B f55bee7558424662ff5d577eefc89cdbdec3a209667bd174a3ec73554bab20582867139ce69ed5b996ecfb297cc251d41294188e21bd24d2241a0ad0432582f2 SHA512 b78660e5370f9acc458159edda385fbcbbb33b0703fa2c83400f3c08fe05253f357175e2ad76c5bff4bd942ab18da5df344473e9b5a924d7457596c0ff9bfbc6
28 DIST requests-2.18.4.tar.gz 126224 BLAKE2B 98ab1fe39832673ea7900029da275e031fc85811d6ddb0f37609ec50b18e17d8a04b6cef397bc626ba13da32e16ffa961626879106941d327694d8763dc1efb6 SHA512 5c59bed82ac1094194f04a973b299f7d783264d372abd7a5229295bccc6b2f7a9f082ee4b0dff348e9c22cf68ddbd7cb67f60fd0b7d9eda41c02e40d075e9472
29 -DIST requests-2.8.1.tar.gz 480803 BLAKE2B 8af2cd1588f2dec11f04286132eda8c2bac956ea45d5a6ae32baf09d87dd1c4749d936aa607dc554a568bbc04e3485463d7f60ca62d77a9c2eca5db0a11c22f8 SHA512 bccec89165596df3af3f46eb43b5b28b595752485b00ed73978ef76fa6b8a8961c3db046c3f91ff34fa390f037322f6e13b141ba9b600a836a6d798086bd13fb
30
31 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
32 deleted file mode 100644
33 index 18fc7a992bf..00000000000
34 --- a/dev-python/requests/files/requests-2.2.0-system-chardet.patch
35 +++ /dev/null
36 @@ -1,21 +0,0 @@
37 ---- requests-2.2.0/requests/compat.py
38 -+++ requests-2.2.0/requests/compat.py
39 -@@ -4,7 +4,7 @@
40 - pythoncompat
41 - """
42 -
43 --from .packages import chardet
44 -+import chardet
45 -
46 - import sys
47 -
48 ---- requests-2.2.0/setup.py
49 -+++ requests-2.2.0/setup.py
50 -@@ -17,7 +17,6 @@
51 - packages = [
52 - 'requests',
53 - 'requests.packages',
54 -- 'requests.packages.chardet',
55 - 'requests.packages.urllib3',
56 - 'requests.packages.urllib3.packages',
57 - 'requests.packages.urllib3.contrib',
58
59 diff --git a/dev-python/requests/requests-2.13.0.ebuild b/dev-python/requests/requests-2.13.0.ebuild
60 deleted file mode 100644
61 index ca733c4061c..00000000000
62 --- a/dev-python/requests/requests-2.13.0.ebuild
63 +++ /dev/null
64 @@ -1,54 +0,0 @@
65 -# Copyright 1999-2017 Gentoo Foundation
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -EAPI=6
69 -
70 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
71 -PYTHON_REQ_USE="threads(+)"
72 -
73 -inherit distutils-r1
74 -
75 -DESCRIPTION="HTTP library for human beings"
76 -HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests"
77 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
78 -
79 -LICENSE="Apache-2.0"
80 -SLOT="0"
81 -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"
82 -IUSE="test"
83 -
84 -RDEPEND="
85 - app-misc/ca-certificates
86 - >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
87 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
88 - >=dev-python/idna-2.0[${PYTHON_USEDEP}]
89 - dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
90 - >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
91 - >=dev-python/urllib3-1.20[${PYTHON_USEDEP}]
92 - "
93 -DEPEND="${RDEPEND}
94 - dev-python/setuptools[${PYTHON_USEDEP}]
95 - test? (
96 - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
97 - )
98 - "
99 -# >=dev-python/pytest-httpbin-0.0.7[${PYTHON_USEDEP}]
100 -
101 -# tests connect to various remote sites
102 -RESTRICT="test"
103 -
104 -PATCHES=(
105 - "${FILESDIR}"/${PN}-2.12.1-system-packages.patch
106 - "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
107 -)
108 -
109 -python_prepare_all() {
110 - # use system chardet & urllib3
111 - rm -r requests/packages/{chardet,urllib3} || die
112 -
113 - distutils-r1_python_prepare_all
114 -}
115 -
116 -python_test() {
117 - py.test -v || die
118 -}
119
120 diff --git a/dev-python/requests/requests-2.18.1.ebuild b/dev-python/requests/requests-2.18.1.ebuild
121 deleted file mode 100644
122 index bbf594bc0e5..00000000000
123 --- a/dev-python/requests/requests-2.18.1.ebuild
124 +++ /dev/null
125 @@ -1,46 +0,0 @@
126 -# Copyright 1999-2017 Gentoo Foundation
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=6
130 -
131 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
132 -PYTHON_REQ_USE="threads(+)"
133 -
134 -inherit distutils-r1
135 -
136 -DESCRIPTION="HTTP library for human beings"
137 -HOMEPAGE="http://python-requests.org/"
138 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
139 -
140 -LICENSE="Apache-2.0"
141 -SLOT="0"
142 -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"
143 -IUSE="socks5 +ssl test"
144 -
145 -RDEPEND="
146 - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}]
147 - >=dev-python/chardet-3.0.2[${PYTHON_USEDEP}]
148 - >=dev-python/idna-2.5[${PYTHON_USEDEP}]
149 - >=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
150 - socks5? ( >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] )
151 - ssl? (
152 - >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
153 - >=dev-python/pyopenssl-0.14[$(python_gen_usedep 'python*' pypy)]
154 - )
155 -"
156 -
157 -DEPEND="${RDEPEND}
158 - dev-python/setuptools[${PYTHON_USEDEP}]
159 -"
160 -# tests connect to various remote sites
161 -RESTRICT="test"
162 -# test? (
163 -# dev-python/pytest[${PYTHON_USEDEP}]
164 -# dev-python/pytest-httpbin[${PYTHON_USEDEP}]
165 -# dev-python/pytest-mock[${PYTHON_USEDEP}]
166 -# dev-python/pytest-xdist[${PYTHON_USEDEP}]
167 -# )
168 -
169 -python_test() {
170 - py.test -v --boxed || die
171 -}
172
173 diff --git a/dev-python/requests/requests-2.8.1.ebuild b/dev-python/requests/requests-2.8.1.ebuild
174 deleted file mode 100644
175 index 30e3700e685..00000000000
176 --- a/dev-python/requests/requests-2.8.1.ebuild
177 +++ /dev/null
178 @@ -1,53 +0,0 @@
179 -# Copyright 1999-2015 Gentoo Foundation
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=5
183 -
184 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
185 -PYTHON_REQ_USE="threads(+)"
186 -
187 -inherit distutils-r1
188 -
189 -DESCRIPTION="HTTP library for human beings"
190 -HOMEPAGE="http://python-requests.org/ https://pypi.python.org/pypi/requests"
191 -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
192 -
193 -LICENSE="Apache-2.0"
194 -SLOT="0"
195 -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"
196 -IUSE="test"
197 -
198 -# bundles dev-python/urllib3 snapshot
199 -RDEPEND="
200 - app-misc/ca-certificates
201 - >=dev-python/chardet-2.2.1[${PYTHON_USEDEP}]
202 - dev-python/ndg-httpsclient[${PYTHON_USEDEP}]
203 - >=dev-python/py-1.4.30[${PYTHON_USEDEP}]
204 - dev-python/pyasn1[${PYTHON_USEDEP}]
205 - dev-python/pyopenssl[$(python_gen_usedep 'python*' pypy)]
206 - "
207 -DEPEND="${RDEPEND}
208 - dev-python/setuptools[${PYTHON_USEDEP}]
209 - test? (
210 - >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
211 - )
212 - "
213 -
214 -# tests connect to various remote sites
215 -RESTRICT="test"
216 -
217 -PATCHES=(
218 - "${FILESDIR}"/${PN}-2.2.0-system-chardet.patch
219 - "${FILESDIR}"/${PN}-2.5.0-system-cacerts.patch
220 -)
221 -
222 -python_prepare_all() {
223 - # use system chardet
224 - rm -r requests/packages/chardet || die
225 -
226 - distutils-r1_python_prepare_all
227 -}
228 -
229 -python_test() {
230 - "${PYTHON}" test_requests.py || die "Tests fail with ${EPYTHON}"
231 -}