diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-10-08 11:16:02 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-10-08 11:16:02 +0000 |
commit | fd150b8578ca6450c2050cce8b5c091a4fd69c13 (patch) | |
tree | f6196ead6688997f899afdaec454a5ef28fb8481 /dev-python | |
parent | Add missing patch, bug #487274 (diff) | |
download | gentoo-2-fd150b8578ca6450c2050cce8b5c091a4fd69c13.tar.gz gentoo-2-fd150b8578ca6450c2050cce8b5c091a4fd69c13.tar.bz2 gentoo-2-fd150b8578ca6450c2050cce8b5c091a4fd69c13.zip |
Add missing dev-python/mock dependency. Clean up the ebuild.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/urllib3/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/urllib3/urllib3-1.7.1.ebuild | 15 |
2 files changed, 12 insertions, 8 deletions
diff --git a/dev-python/urllib3/ChangeLog b/dev-python/urllib3/ChangeLog index 2fded8eca4e7..e0f1cf72cfac 100644 --- a/dev-python/urllib3/ChangeLog +++ b/dev-python/urllib3/ChangeLog @@ -1,6 +1,9 @@ # 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.10 2013/10/02 03:00:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/ChangeLog,v 1.11 2013/10/08 11:16:02 mgorny Exp $ + + 08 Oct 2013; Michał Górny <mgorny@gentoo.org> urllib3-1.7.1.ebuild: + Add missing dev-python/mock dependency. Clean up the ebuild. *urllib3-1.7.1 (02 Oct 2013) diff --git a/dev-python/urllib3/urllib3-1.7.1.ebuild b/dev-python/urllib3/urllib3-1.7.1.ebuild index 30aa5fd92bee..f673e725afc3 100644 --- a/dev-python/urllib3/urllib3-1.7.1.ebuild +++ b/dev-python/urllib3/urllib3-1.7.1.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/urllib3/urllib3-1.7.1.ebuild,v 1.2 2013/10/08 11:16:02 mgorny Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 ) @@ -18,20 +18,21 @@ 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}] )" + test? ( >=www-servers/tornado-2.4.1[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" -python_prepare() { +python_prepare_all() { # Replace bundled copy of dev-python/six cat > urllib3/packages/six.py <<-EOF - from __future__ import absolute_import - from six import * + 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 + distutils-r1_python_prepare_all } python_test() { |