diff options
Diffstat (limited to 'dev-python/astropy/astropy-0.1.ebuild')
-rw-r--r-- | dev-python/astropy/astropy-0.1.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/dev-python/astropy/astropy-0.1.ebuild b/dev-python/astropy/astropy-0.1.ebuild deleted file mode 100644 index 9356fe1..0000000 --- a/dev-python/astropy/astropy-0.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 - -SUPPORT_PYTHON_ABIS="1" -DISTUTILS_SRC_TEST=setup.py - -inherit eutils distutils - -DESCRIPTION="Collection of common tools needed for performing astronomy and astrophysics" -HOMEPAGE="http://astropy.org/ https://github.com/astropy/astropy" -SRC_URI="http://github.com/downloads/${PN}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc test" - -RDEPEND="dev-libs/expat - dev-python/numpy" -DEPEND="${RDEPEND} - dev-python/configobj - doc? ( dev-python/sphinx ) - test? ( dev-python/pytest )" - -src_prepare() { - # Upstream likes to bundle everythin - rm -rf cextern ${PN}/extern - export ASTROPY_USE_SYSTEM_PYTEST=1 - epatch "${FILESDIR}"/${P}-expat.patch - sed -e 's/from ..extern.configobj //g' \ - -i astropy/config/configuration.py || die - distutils_src_prepare -} - -src_compile() { - distutils_src_compile - if use doc; then - PYTHONPATH=$(ls -d "${S}"/build-$(PYTHON -f --ABI)/lib*) emake html -C docs - fi -} - -src_install() { - distutils_src_install - use doc && dohtml -r docs/_build/html/ -} |