From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22FAB1396D1 for ; Mon, 28 Aug 2017 00:47:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CB27E0E88; Mon, 28 Aug 2017 00:47:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C70C1E0E93 for ; Mon, 28 Aug 2017 00:47:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81DB4341B70 for ; Mon, 28 Aug 2017 00:47:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 067BC8507 for ; Mon, 28 Aug 2017 00:47:33 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1503881214.243419de20cb6bc138da5a21cd062273536df6bc.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/urllib3/Manifest dev-python/urllib3/urllib3-1.22.ebuild X-VCS-Directories: dev-python/urllib3/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 243419de20cb6bc138da5a21cd062273536df6bc X-VCS-Branch: master Date: Mon, 28 Aug 2017 00:47:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fe8fbdaa-03dc-41b5-9b11-7edfc026b066 X-Archives-Hash: fd0bfd88d9903617ea97423b030bd4c2 commit: 243419de20cb6bc138da5a21cd062273536df6bc Author: Matthew Thode gentoo org> AuthorDate: Mon Aug 28 00:14:03 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Mon Aug 28 00:46:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=243419de dev-python/urllib3: 1.22 bup Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/urllib3/Manifest | 1 + dev-python/urllib3/urllib3-1.22.ebuild | 63 ++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest index 7486802a0f7..cde0f9ecdd6 100644 --- a/dev-python/urllib3/Manifest +++ b/dev-python/urllib3/Manifest @@ -2,3 +2,4 @@ DIST urllib3-1.12.tar.gz 151072 SHA256 0ea512776971fe4e76192600fe41e4e7ee96b4b9a DIST urllib3-1.16.tar.gz 179763 SHA256 63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab SHA512 646b35a9a4490b2d1f068883a29cbb5be5050a6eea7bb7842f77cd666b7f88101a7612e8eb45ae0eb900d914518db5202f548ab688b8db1c20ed248ba2edac66 WHIRLPOOL a4a813a5fc560a1487a87e492185122ffe8a41ba263e3c5e5962a48b9f4577a6360fa5d47d474f3c97a56e7ef99b2854c0f742075c05b88461f41d69e10c7a04 DIST urllib3-1.20.tar.gz 201873 SHA256 97ef2b6e2878d84c0126b9f4e608e37a951ca7848e4855a7f7f4437d5c34a72f SHA512 5e2c960ad8641b7e7faf3df966ceb5a2fbb898d9fb4d4459ba607448bab096e3d5df6bc42fdf5fbc2ea58fb6199ba3eb16613b63fd109401d6a2b6e46aade6c3 WHIRLPOOL 30938f71f77e300c9ccc050b6b1f071941db644b5c34ceba262fa839659a7d9655fe22bc867e63edde5dbae790a4505cbea370962cc495700d6b1c6b40c2b98a DIST urllib3-1.21.1.tar.gz 224266 SHA256 b14486978518ca0901a76ba973d7821047409d7f726f22156b24e83fd71382a5 SHA512 0d2e9c2a0b895e4e232cad5ecc645ea9fd9b70191df045a220ee1f32e284c613c6790bcdfd9e40a22ea9d25ec397278fa700a3c3747e7b04222719d50df07859 WHIRLPOOL 58df2abc5d211fa312e7a7967367c0bac9f029848a6fed15fb83d3b0b197e9834fa60f71d2ec2577dfc464c30d3e446035252fac830da500111976e77a4e904b +DIST urllib3-1.22.tar.gz 226083 SHA256 cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f SHA512 132b69d7f390916bdcde66d46fbf0189d0c1f976f91778dcb0a9ef8174487b7bb4b37b9139e84f7c70234803be95284448aba0b820f3b54530c0c497ca7a1dc9 WHIRLPOOL 4f3314dd61da4ffe85bf44966876dab5ecfffe92e11df1db960c37cc50abc39225607fdb722f53e8b7cfc1005597bec3c2d68db96b5c4b9cbecdb0b1f1814d24 diff --git a/dev-python/urllib3/urllib3-1.22.ebuild b/dev-python/urllib3/urllib3-1.22.ebuild new file mode 100644 index 00000000000..58ff01c8dac --- /dev/null +++ b/dev-python/urllib3/urllib3-1.22.ebuild @@ -0,0 +1,63 @@ +# 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="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 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc test" +RESTRICT="test" + +RDEPEND=" + >=dev-python/PySocks-1.5.6[${PYTHON_USEDEP}] + !~dev-python/PySocks-1.5.7[${PYTHON_USEDEP}] + =dev-python/cryptography-1.3.4[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] + >=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 + +python_compile_all() { + use doc && emake -C docs SPHINXOPTS= html +} + +python_test() { + # FIXME: get tornado ported + if [[ ${EPYTHON} == python* ]]; then + nosetests -v test || die "Testing failed with ${EPYTHON}" + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +}