summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-10-02 03:00:00 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-10-02 03:00:00 +0000
commitb748068f6eac02ea5c4726fdaca3d319546accd1 (patch)
tree652ff3dfd4bbf55ddfad4ed8e05d0264270e8700 /dev-python/urllib3
parentStable for HPPA (bug #475480). (diff)
downloadgentoo-2-b748068f6eac02ea5c4726fdaca3d319546accd1.tar.gz
gentoo-2-b748068f6eac02ea5c4726fdaca3d319546accd1.tar.bz2
gentoo-2-b748068f6eac02ea5c4726fdaca3d319546accd1.zip
Bump
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/urllib3')
-rw-r--r--dev-python/urllib3/ChangeLog7
-rw-r--r--dev-python/urllib3/urllib3-1.7.1.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/urllib3/ChangeLog b/dev-python/urllib3/ChangeLog
index 97d203d21682..2fded8eca4e7 100644
--- a/dev-python/urllib3/ChangeLog
+++ b/dev-python/urllib3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/urllib3
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.9 2013/09/05 18:46:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.10 2013/10/02 03:00:00 patrick Exp $
+
+*urllib3-1.7.1 (02 Oct 2013)
+
+ 02 Oct 2013; Patrick Lauer <patrick@gentoo.org> +urllib3-1.7.1.ebuild:
+ Bump
05 Sep 2013; Michał Górny <mgorny@gentoo.org> urllib3-1.6.ebuild,
urllib3-1.7.ebuild:
diff --git a/dev-python/urllib3/urllib3-1.7.1.ebuild b/dev-python/urllib3/urllib3-1.7.1.ebuild
new file mode 100644
index 000000000000..30aa5fd92bee
--- /dev/null
+++ b/dev-python/urllib3/urllib3-1.7.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.7.1.ebuild,v 1.1 2013/10/02 03:00:00 patrick Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
+
+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="~amd64 ~arm ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( >=www-servers/tornado-2.4.1[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_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
+ sed -e 's:cover-min-percentage = 100::' -i setup.cfg || die
+
+ distutils-r1_python_prepare
+}
+
+python_test() {
+ nosetests -v || die "Tests fail with ${EPYTHON}"
+}