1 |
commit: 243419de20cb6bc138da5a21cd062273536df6bc |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 28 00:14:03 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 28 00:46:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=243419de |
7 |
|
8 |
dev-python/urllib3: 1.22 bup |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-python/urllib3/Manifest | 1 + |
13 |
dev-python/urllib3/urllib3-1.22.ebuild | 63 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest |
17 |
index 7486802a0f7..cde0f9ecdd6 100644 |
18 |
--- a/dev-python/urllib3/Manifest |
19 |
+++ b/dev-python/urllib3/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST urllib3-1.12.tar.gz 151072 SHA256 0ea512776971fe4e76192600fe41e4e7ee96b4b9a |
21 |
DIST urllib3-1.16.tar.gz 179763 SHA256 63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab SHA512 646b35a9a4490b2d1f068883a29cbb5be5050a6eea7bb7842f77cd666b7f88101a7612e8eb45ae0eb900d914518db5202f548ab688b8db1c20ed248ba2edac66 WHIRLPOOL a4a813a5fc560a1487a87e492185122ffe8a41ba263e3c5e5962a48b9f4577a6360fa5d47d474f3c97a56e7ef99b2854c0f742075c05b88461f41d69e10c7a04 |
22 |
DIST urllib3-1.20.tar.gz 201873 SHA256 97ef2b6e2878d84c0126b9f4e608e37a951ca7848e4855a7f7f4437d5c34a72f SHA512 5e2c960ad8641b7e7faf3df966ceb5a2fbb898d9fb4d4459ba607448bab096e3d5df6bc42fdf5fbc2ea58fb6199ba3eb16613b63fd109401d6a2b6e46aade6c3 WHIRLPOOL 30938f71f77e300c9ccc050b6b1f071941db644b5c34ceba262fa839659a7d9655fe22bc867e63edde5dbae790a4505cbea370962cc495700d6b1c6b40c2b98a |
23 |
DIST urllib3-1.21.1.tar.gz 224266 SHA256 b14486978518ca0901a76ba973d7821047409d7f726f22156b24e83fd71382a5 SHA512 0d2e9c2a0b895e4e232cad5ecc645ea9fd9b70191df045a220ee1f32e284c613c6790bcdfd9e40a22ea9d25ec397278fa700a3c3747e7b04222719d50df07859 WHIRLPOOL 58df2abc5d211fa312e7a7967367c0bac9f029848a6fed15fb83d3b0b197e9834fa60f71d2ec2577dfc464c30d3e446035252fac830da500111976e77a4e904b |
24 |
+DIST urllib3-1.22.tar.gz 226083 SHA256 cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f SHA512 132b69d7f390916bdcde66d46fbf0189d0c1f976f91778dcb0a9ef8174487b7bb4b37b9139e84f7c70234803be95284448aba0b820f3b54530c0c497ca7a1dc9 WHIRLPOOL 4f3314dd61da4ffe85bf44966876dab5ecfffe92e11df1db960c37cc50abc39225607fdb722f53e8b7cfc1005597bec3c2d68db96b5c4b9cbecdb0b1f1814d24 |
25 |
|
26 |
diff --git a/dev-python/urllib3/urllib3-1.22.ebuild b/dev-python/urllib3/urllib3-1.22.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..58ff01c8dac |
29 |
--- /dev/null |
30 |
+++ b/dev-python/urllib3/urllib3-1.22.ebuild |
31 |
@@ -0,0 +1,63 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
38 |
+PYTHON_REQ_USE="ssl(+)" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more" |
43 |
+HOMEPAGE="https://github.com/shazow/urllib3" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux" |
49 |
+IUSE="doc test" |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] |
54 |
+ !~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] |
55 |
+ <dev-python/PySocks-2.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/certifi[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] |
60 |
+ virtual/python-ipaddress[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+DEPEND=" |
63 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
+ test? ( |
65 |
+ ${RDEPEND} |
66 |
+ >=www-servers/tornado-4.2.1[$(python_gen_usedep 'python*')] |
67 |
+ >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/nose-1.3.7[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/nose-exclude-0.4.1[${PYTHON_USEDEP}] |
70 |
+ ) |
71 |
+ doc? ( |
72 |
+ dev-python/mock[${PYTHON_USEDEP}] |
73 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+# Testsuite written requiring mock to be installed under all Cpythons |
78 |
+ |
79 |
+python_compile_all() { |
80 |
+ use doc && emake -C docs SPHINXOPTS= html |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ # FIXME: get tornado ported |
85 |
+ if [[ ${EPYTHON} == python* ]]; then |
86 |
+ nosetests -v test || die "Testing failed with ${EPYTHON}" |
87 |
+ fi |
88 |
+} |
89 |
+ |
90 |
+python_install_all() { |
91 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
92 |
+ |
93 |
+ distutils-r1_python_install_all |
94 |
+} |