summaryrefslogtreecommitdiff
path: root/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-07-31 18:55:48 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-07-31 20:46:23 +0000
commit7c81b656c5710043090fe45e86d341e7c554210c (patch)
tree75f9e4bcd2374e5847d994067d721a074124aff8 /dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
parent5c514bb2ebc2a05b3861e36c841e0dd9e43dca3e (diff)
downloadgentoo-7c81b656c5710043090fe45e86d341e7c554210c.tar.gz
gentoo-7c81b656c5710043090fe45e86d341e7c554210c.tar.bz2
gentoo-7c81b656c5710043090fe45e86d341e7c554210c.zip
dev-python/astropy-helpers: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild')
-rw-r--r--dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild b/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
new file mode 100644
index 000000000000..68cb890bf330
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-2.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1 xdg-utils
+
+MYPV=${PV/_/}
+S=${WORKDIR}/${PN}-${MYPV}
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+python_prepare_all() {
+ sed -e '/import ah_bootstrap/d' \
+ -i setup.py || die "Removing ah_bootstrap failed"
+ xdg_environment_reset
+ distutils-r1_python_prepare_all
+}