diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2014-11-27 18:47:27 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2014-11-27 18:47:27 +0000 |
commit | 651edaf83e43c2a1abd26427811ba809851c0bad (patch) | |
tree | 78a2c56019a47e161486b783f97c11a0fccf6dcd /dev-python/aplpy | |
parent | Version bump, add dnstap use flag. (diff) | |
download | gentoo-2-651edaf83e43c2a1abd26427811ba809851c0bad.tar.gz gentoo-2-651edaf83e43c2a1abd26427811ba809851c0bad.tar.bz2 gentoo-2-651edaf83e43c2a1abd26427811ba809851c0bad.zip |
Pass --offline to setup.py instead of removing ah_bootstrap
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x5D21B852895192F9)
Diffstat (limited to 'dev-python/aplpy')
-rw-r--r-- | dev-python/aplpy/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/aplpy/aplpy-0.9.14.ebuild | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/dev-python/aplpy/ChangeLog b/dev-python/aplpy/ChangeLog index 5d9b7b318045..f287aafc6589 100644 --- a/dev-python/aplpy/ChangeLog +++ b/dev-python/aplpy/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/aplpy # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/ChangeLog,v 1.16 2014/11/27 18:24:31 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/ChangeLog,v 1.17 2014/11/27 18:47:27 xarthisius Exp $ + + 27 Nov 2014; Kacper Kowalik <xarthisius@gentoo.org> aplpy-0.9.14.ebuild: + Pass --offline to setup.py instead of removing ah_bootstrap *aplpy-0.9.14 (27 Nov 2014) diff --git a/dev-python/aplpy/aplpy-0.9.14.ebuild b/dev-python/aplpy/aplpy-0.9.14.ebuild index 666a4d27d208..0fba199054e6 100644 --- a/dev-python/aplpy/aplpy-0.9.14.ebuild +++ b/dev-python/aplpy/aplpy-0.9.14.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/aplpy/aplpy-0.9.14.ebuild,v 1.1 2014/11/27 18:24:31 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/aplpy-0.9.14.ebuild,v 1.2 2014/11/27 18:47:27 xarthisius Exp $ EAPI=5 @@ -30,15 +30,17 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/${MYP} -python_prepare_all() { - sed -e '/import ah_bootstrap/d' \ - -i setup.py || die "Removing ah_bootstrap failed" - distutils-r1_python_prepare_all +python_compile() { + distutils-r1_python_compile --use-system-libraries --offline } python_test() { - distutils_install_for_testing + distutils_install_for_testing --offline cd "${TEST_DIR}" || die "${EPYTHON}" -c "import aplpy, sys;r = aplpy.test();sys.exit(r)" \ || die "tests fail with ${EPYTHON}" } + +python_install() { + distutils-r1_python_install --offline +} |