diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-03-06 01:08:56 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-03-06 01:08:56 +0000 |
commit | 900acde20a676808af2ad8e666409f8b7bf09ae4 (patch) | |
tree | f044102af89bf31dd63d8d40f06421d24f0ae50c /dev-python | |
parent | QA fix: adding soft blocker to RDEP to avoid file collisions on binpkg install (diff) | |
download | gentoo-2-900acde20a676808af2ad8e666409f8b7bf09ae4.tar.gz gentoo-2-900acde20a676808af2ad8e666409f8b7bf09ae4.tar.bz2 gentoo-2-900acde20a676808af2ad8e666409f8b7bf09ae4.zip |
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/urllib3/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/urllib3/urllib3-1.8.ebuild | 43 |
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-python/urllib3/ChangeLog b/dev-python/urllib3/ChangeLog index f5d6e3192b87..5d6c0aebd94f 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.12 2013/11/06 23:29:04 floppym Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.13 2014/03/06 01:08:56 radhermit Exp $ + +*urllib3-1.8 (06 Mar 2014) + + 06 Mar 2014; Tim Harder <radhermit@gentoo.org> +urllib3-1.8.ebuild: + Version bump. 06 Nov 2013; Mike Gilbert <floppym@gentoo.org> urllib3-1.7.1.ebuild: Restore python 3 support. diff --git a/dev-python/urllib3/urllib3-1.8.ebuild b/dev-python/urllib3/urllib3-1.8.ebuild new file mode 100644 index 000000000000..86bcf1a11f56 --- /dev/null +++ b/dev-python/urllib3/urllib3-1.8.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.8.ebuild,v 1.1 2014/03/06 01:08:56 radhermit Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} 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 ~x86" +IUSE="test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/backports-ssl-match-hostname[$(python_gen_usedep 'python2*')]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=www-servers/tornado-2.4.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +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 + + sed -i -e "s/'dummyserver',//" setup.py || die + sed -e 's:cover-min-percentage = 100::' -i setup.cfg || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" +} |