Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/
Date: Wed, 23 Dec 2020 00:59:12
Message-Id: 1608685143.a2609013938ab7a136aa911f58c97977d6c59c98.whissi@gentoo
1 commit: a2609013938ab7a136aa911f58c97977d6c59c98
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 00:59:03 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 00:59:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2609013
7
8 dev-python/urllib3: security cleanup (bug #749336)
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/urllib3/Manifest | 1 -
14 dev-python/urllib3/urllib3-1.24.2-r1.ebuild | 64 -----------------------------
15 2 files changed, 65 deletions(-)
16
17 diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest
18 index a02f16c957c..9333e5f5201 100644
19 --- a/dev-python/urllib3/Manifest
20 +++ b/dev-python/urllib3/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST urllib3-1.24.2.tar.gz 230699 BLAKE2B 9c2f2be8fa743f542493d75072c02423d1bd40189561fa0ea393a8a2515b24da9a2a383aeec35b55bdd2a9954d3d585450d759548358ed91ecfdb9ec03d391b6 SHA512 9939e9e7c4da30b5effb334969cd835c9d0404a136761098203c699570aab02e63fb3f1b4ab680def0bc0906fabe5f0782ab94cf3095ff10ccf9b3c371653cf2
23 DIST urllib3-1.25.11.tar.gz 260300 BLAKE2B 06bd2107bad479e36c6474f95567c3ecb119d18b193b358df9e345e4d09392366255b21597b26fbf2374220b921cc2117a1972f88021c3a6ebac3844a319acbe SHA512 58f77edb9ced62cbac7b0baf2651c07f9f413267f103730ee25f08c5d4d0bf52a2ace02f58841bcd55652db677c7a1dc9a756681e7e32d590bc69d8b93e8f173
24 DIST urllib3-1.26.0.tar.gz 291709 BLAKE2B e750bcd28c6205cb8e7f12c2a1c6123d48979877b206914fc122f67ff6cdf3e16e5d7ee0ffae1f4af40f028075f9592cdebf8856ca7e29b541283a8023afbf0d SHA512 5e5a78486cded9a378532a094818cfcaf6ec621d3aefbffac4c78f130798ee06f08e47d14f3d154274a502c8c1e3963a12d65030ba6109108ed786202637bd42
25 DIST urllib3-1.26.1.tar.gz 286708 BLAKE2B 19f210a56850e9754faa7a7a309292ba69450ba3ca232bc42f10e1f163eb72e7430eb233d8a0ee1cf97acbdfa132b2e515561e67fade3806347e04e6c7869db2 SHA512 5fbb28e190ecf58aae0932994bc1adb1542041bf96f176a9ece22bd6ee8d4ae8dc8f40dea77359601b704025e65c65ca27137f65d3d47fac3fc796b7bbd112f3
26
27 diff --git a/dev-python/urllib3/urllib3-1.24.2-r1.ebuild b/dev-python/urllib3/urllib3-1.24.2-r1.ebuild
28 deleted file mode 100644
29 index e2c7aedf480..00000000000
30 --- a/dev-python/urllib3/urllib3-1.24.2-r1.ebuild
31 +++ /dev/null
32 @@ -1,64 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
39 -PYTHON_REQ_USE="ssl(+)"
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more"
44 -HOMEPAGE="https://github.com/shazow/urllib3"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -IUSE="test"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND="
54 - >=dev-python/PySocks-1.5.8[${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 -"
61 -DEPEND="
62 - dev-python/setuptools[${PYTHON_USEDEP}]
63 - test? (
64 - $(python_gen_cond_dep "
65 - ${RDEPEND}
66 - dev-python/mock[\${PYTHON_USEDEP}]
67 - dev-python/pytest[\${PYTHON_USEDEP}]
68 - >=www-servers/tornado-4.2.1[\${PYTHON_USEDEP}]
69 - " 'python3*')
70 - )
71 -"
72 -
73 -distutils_enable_sphinx docs \
74 - dev-python/alabaster \
75 - dev-python/mock
76 -
77 -python_prepare_all() {
78 - # skip appengine tests
79 - rm -r test/appengine || die
80 -
81 - distutils-r1_python_prepare_all
82 -}
83 -
84 -python_test() {
85 - # FIXME: get tornado ported
86 - case ${EPYTHON} in
87 - python2*)
88 - ewarn "Tests are being skipped for Python 2 in order to reduce the number"
89 - ewarn "of circular dependencies for Python 2 removal. Please test"
90 - ewarn "manually in a virtualenv."
91 - ;;
92 - python3*)
93 - pytest -vv || die "Tests fail with ${EPYTHON}"
94 - ;;
95 - esac
96 -}