summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/urllib3')
-rw-r--r--dev-python/urllib3/Manifest1
-rw-r--r--dev-python/urllib3/urllib3-1.19.ebuild117
2 files changed, 0 insertions, 118 deletions
diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest
index 9e24b97bc545..02a35a1ee526 100644
--- a/dev-python/urllib3/Manifest
+++ b/dev-python/urllib3/Manifest
@@ -1,5 +1,4 @@
DIST urllib3-1.12.tar.gz 151072 SHA256 0ea512776971fe4e76192600fe41e4e7ee96b4b9a5b15aefc1ac31d2a63872c6 SHA512 44f1cf9c5d5538e35d026551a2d1dc7119786c1148b9a769fa9f652f0368e996512962c6245c92d1f4bb1d8e816e2fb0ffebeb0060b01f92b2a5d6e01d15426f WHIRLPOOL d386e4fb47b2ea4d78d2ad690c9252d6be1b3f5a624e20670e22c9b3a28dc910e3d5ecd24ca54d8f8337f8e9a9875208efce06952cd392d9c8254257eadeee70
DIST urllib3-1.16.tar.gz 179763 SHA256 63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab SHA512 646b35a9a4490b2d1f068883a29cbb5be5050a6eea7bb7842f77cd666b7f88101a7612e8eb45ae0eb900d914518db5202f548ab688b8db1c20ed248ba2edac66 WHIRLPOOL a4a813a5fc560a1487a87e492185122ffe8a41ba263e3c5e5962a48b9f4577a6360fa5d47d474f3c97a56e7ef99b2854c0f742075c05b88461f41d69e10c7a04
DIST urllib3-1.19.1.tar.gz 187416 SHA256 53bc34c8ee268c3bd83ecf5e9c80fa783f3148484579bd4e20f4a7c1bb2dd6a0 SHA512 a23ce0dec72dd080a355a5dfde1886b7e831314785302d2dbb67db645e25d8a175169a2ed80534657ce0376bd6d38294d4cd479c9142324b179c7607cfe5d13b WHIRLPOOL 2e1b3c71476404a39750c19efd91678398ff3f3bc9f499be3b7af5ba095dac4a2158edaa5b9f4a0906c79cb83d55d77c414715df1beff85a038b148ee7c59674
-DIST urllib3-1.19.tar.gz 187217 SHA256 87f362d061184191d07ced0b947d8526f3e1884f21b0fe97fab313dedcb895be SHA512 3c4a6cbcf8e6797c1ba0d0945ae4f767314607f746a79aeac95230130682c91de5c16826b299973e9e3374a284facc10be39df8cef3dea876d1dea4314c62d94 WHIRLPOOL 978f4c7c9fc9d858c423229d91b0c8d80256dcd0ad08400c8aaf9bfbbcbb7c0abad2eec86deddac3b41ed8dcf9348d70e7e8f2e2ae6e3edbe5c3827b2b44db21
DIST urllib3-1.20.tar.gz 201873 SHA256 97ef2b6e2878d84c0126b9f4e608e37a951ca7848e4855a7f7f4437d5c34a72f SHA512 5e2c960ad8641b7e7faf3df966ceb5a2fbb898d9fb4d4459ba607448bab096e3d5df6bc42fdf5fbc2ea58fb6199ba3eb16613b63fd109401d6a2b6e46aade6c3 WHIRLPOOL 30938f71f77e300c9ccc050b6b1f071941db644b5c34ceba262fa839659a7d9655fe22bc867e63edde5dbae790a4505cbea370962cc495700d6b1c6b40c2b98a
diff --git a/dev-python/urllib3/urllib3-1.19.ebuild b/dev-python/urllib3/urllib3-1.19.ebuild
deleted file mode 100644
index 162a683970b7..000000000000
--- a/dev-python/urllib3/urllib3-1.19.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
-PYTHON_REQ_USE="ssl(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more"
-HOMEPAGE="https://github.com/shazow/urllib3"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-fbsd ~x86-linux"
-IUSE="doc test"
-
-RDEPEND="
- >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}]
- dev-python/certifi[${PYTHON_USEDEP}]
- >=dev-python/cryptography-1.3.4[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' python2_7 pypy)
- >=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
- virtual/python-ipaddress[${PYTHON_USEDEP}]
- "
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? (
- ${RDEPEND}
- >=www-servers/tornado-4.2.1[$(python_gen_usedep 'python*')]
- >=dev-python/mock-1.3.0[${PYTHON_USEDEP}]
- >=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
- >=dev-python/nose-exclude-0.4.1[${PYTHON_USEDEP}]
- )
- doc? ( dev-python/mock[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}] )
- "
-
-# Testsuite written requiring mock to be installed under all Cpythons
-
-PATCHES=( "${FILESDIR}"/${PN}-1.16.0-unbundle.patch )
-
-python_prepare_all() {
- # Replace bundled copy of dev-python/six
- cat > urllib3/packages/six.py <<-EOF
- from __future__ import absolute_import
- from six import *
- EOF
-
- rm -r urllib3/packages/ssl_match_hostname || die
- cat > urllib3/packages/ssl_match_hostname.py <<- EOF
- from __future__ import absolute_import
- try:
- from backports.ssl_match_hostname import CertificateError, match_hostname
- except ImportError:
- from ssl import CertificateError, match_hostname
- EOF
-
- cat > urllib3/packages/ordered_dict.py <<- EOF
- from __future__ import absolute_import
- from collections import OrderedDict
- EOF
-
- sed \
- -e 's:\.packages\.six:six:g' \
- -e 's:\.six:six:g' \
- -i urllib3/util/response.py urllib3/response.py urllib3/exceptions.py urllib3/connectionpool.py urllib3/connection.py urllib3/request.py urllib3/poolmanager.py || die
-
- sed -i '/cover-min-percentage/d' setup.cfg || die
- # Fix tests
- sed -i 's/urllib3.packages.six/six/' test/test_retry.py dummyserver/handlers.py test/test_response.py test/test_connectionpool.py test/with_dummyserver/test_connectionpool.py || die
-
- # Reset source of objects.inv
- if use doc; then
- local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
- local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
- local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
- local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
- sed \
- -e "s|'python': ('http://docs.python.org/2.7', None|'${PYTHON_DOC}': ('${PYTHON_DOC_INVENTORY}'|" \
- -i docs/conf.py || die
- fi
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- use doc && emake -C docs html
-}
-
-python_test() {
- # Failures still occur under py2.7.
- # https://github.com/shazow/urllib3/issues/621
-
- # FIXME: get tornado ported
- [[ "${EPYTHON}" == pypy* ]] && return
-
- nosetests -v \
- --exclude test_headerdict \
- --exclude test_headers \
- --exclude test_source_address_error \
- --exclude test_no_ssl \
- --exclude test_ca_dir_verified \
- --exclude test_verified \
- test || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
-
- distutils-r1_python_install_all
-}