diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-08-19 03:03:11 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-08-19 03:03:11 +0000 |
commit | 667a4a6ed1886ad07ab383591ff4ec5ac17b61dd (patch) | |
tree | 75d614433c8715a87733ed3e6f0ed7660c7549cc /dev-python/urllib3 | |
parent | bugfix from b.g.o #346423 (diff) | |
download | gentoo-2-667a4a6ed1886ad07ab383591ff4ec5ac17b61dd.tar.gz gentoo-2-667a4a6ed1886ad07ab383591ff4ec5ac17b61dd.tar.bz2 gentoo-2-667a4a6ed1886ad07ab383591ff4ec5ac17b61dd.zip |
New ebuild; unbundling from dev-python/requests.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/urllib3')
-rw-r--r-- | dev-python/urllib3/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/urllib3/Manifest | 3 | ||||
-rw-r--r-- | dev-python/urllib3/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/urllib3/urllib3-1.5.ebuild | 38 |
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/urllib3/ChangeLog b/dev-python/urllib3/ChangeLog new file mode 100644 index 000000000000..9259391e36e9 --- /dev/null +++ b/dev-python/urllib3/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/urllib3 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.1 2012/08/19 03:03:11 floppym Exp $ + +*urllib3-1.5 (19 Aug 2012) + + 19 Aug 2012; Mike Gilbert <floppym@gentoo.org> +metadata.xml, + +urllib3-1.5.ebuild: + New ebuild; unbundling from dev-python/requests. diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest new file mode 100644 index 000000000000..5b7cc252358a --- /dev/null +++ b/dev-python/urllib3/Manifest @@ -0,0 +1,3 @@ +DIST urllib3-1.5.tar.gz 36783 SHA256 0fc8836c9f39091a07a612d9ee55fc6458d0309d8efebf835215936fc7ffc76c SHA512 a6afe4dee993eb02ca7ecbcec4a91f3c7f09a79cf4d53d4afab524a86e486f0d2219a0c4edce3f708e402f7c8dc0d46a136c61a78c6f960d9539a11368741764 WHIRLPOOL 1344609eacd53aad4f6579f4ca7a54f58a257eb1c4dd2d2c5853cadd86eb58408e9b5302ab123a27b74ddd0ae3a341ebe8e773fea41f8cad8bd8c94941af8d58 +EBUILD urllib3-1.5.ebuild 849 SHA256 2a12b9bf167090284bbf0bc4b9df2303c63fd2ac256f51a7b4fa16a8494ff5ac SHA512 1107f61a512f33dfe38286bdfaf433182e310860a4819cb71c667babb507f16d1125eea6dda8c7a69f84b5d296f05aae58d120abe3c3425e204a1c5ea8a586c4 WHIRLPOOL b547afa58c19da87bc1f17a549cc22bb86d67326a400ee07ea9e53a61487f18e244f41be0d812709a9cd6a28977e1ee2c3eb9ec621fee60b0eb6cc2eb2ad779b +MISC metadata.xml 230 SHA256 783d7ab5ebaca687ef2ba45f8c567e93e45eb308a515f0d5ec28afc1e0fe652b SHA512 9f624d4ed6ed478e14955782355c19c0f92198d23bf9c4422e11d38b978f062f781a125883b43ea4c5fc7a1002e08db61cdb59bfc5e7e40c50361869913abf87 WHIRLPOOL 183ead4fc7c1b5dd984879f30ed2fcf7ed855a38edb1747b4000dc1dbe17fc19cf101345c60ed85d996102879ed4a786d8f5227436b978cc910edd3b2727cf89 diff --git a/dev-python/urllib3/metadata.xml b/dev-python/urllib3/metadata.xml new file mode 100644 index 000000000000..4aaec6560426 --- /dev/null +++ b/dev-python/urllib3/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="pypi">urllib3</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/urllib3/urllib3-1.5.ebuild b/dev-python/urllib3/urllib3-1.5.ebuild new file mode 100644 index 000000000000..939abf5f2e5e --- /dev/null +++ b/dev-python/urllib3/urllib3-1.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.5.ebuild,v 1.1 2012/08/19 03:03:11 floppym Exp $ + +EAPI=4 + +PYTHON_DEPEND="*:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.5" +DISTUTILS_SRC_TEST="nosetests" +PYTHON_TESTS_RESTRICTED_ABIS="2.6 3.1" + +inherit distutils + +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="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/six" +DEPEND="${RDEPEND} + test? ( www-servers/tornado )" + +src_prepare() { + # Replace bundled copy of dev-python/six + cat > urllib3/packages/six.py <<-EOF + from __future__ import absolute_import + from six import * + EOF + + sed -i -e "s/'dummyserver',//" setup.py || die + + distutils_src_prepare +} |