diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-12-20 17:57:16 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-12-20 17:57:16 +0000 |
commit | b2db338f003ffa3aa38b0554fe0952df82a561f2 (patch) | |
tree | f09e467e7783674e1b849ceb8e27bb246920213f /dev-python/pyzmq/pyzmq-14.3.1.ebuild | |
parent | Need at least Portage 2.0.0 since the location of make.globals changed, bug 4... (diff) | |
download | gentoo-2-b2db338f003ffa3aa38b0554fe0952df82a561f2.tar.gz gentoo-2-b2db338f003ffa3aa38b0554fe0952df82a561f2.tar.bz2 gentoo-2-b2db338f003ffa3aa38b0554fe0952df82a561f2.zip |
Force early import of setuptools to work around bug 532708.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/pyzmq/pyzmq-14.3.1.ebuild')
-rw-r--r-- | dev-python/pyzmq/pyzmq-14.3.1.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-python/pyzmq/pyzmq-14.3.1.ebuild b/dev-python/pyzmq/pyzmq-14.3.1.ebuild index e46039ca2646..717a18d476cf 100644 --- a/dev-python/pyzmq/pyzmq-14.3.1.ebuild +++ b/dev-python/pyzmq/pyzmq-14.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-14.3.1.ebuild,v 1.6 2014/12/08 10:08:48 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyzmq/pyzmq-14.3.1.ebuild,v 1.7 2014/12/20 17:57:16 floppym Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} ) @@ -21,8 +21,9 @@ RDEPEND=">=net-libs/zeromq-2.1.9 dev-python/py[${PYTHON_USEDEP}] dev-python/cffi[${PYTHON_USEDEP}] green? ( dev-python/gevent[${PY2_USEDEP}] )" -DEPEND="test? ( ${RDEPEND} - dev-python/nose[${PYTHON_USEDEP}] ) +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" python_configure_all() { @@ -30,7 +31,8 @@ python_configure_all() { } python_prepare_all() { - sed -e s':intersphinx_mapping:#&:' -i docs/source/conf.py || die + # Work around bug 532708. + sed -i -e "/import distutils/i import setuptools" setup.py || die distutils-r1_python_prepare_all } |