diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-04-23 22:53:01 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-04-23 22:53:01 +0000 |
commit | eb60e84f0ab01a36ae0a274a81f9d73b10a3893d (patch) | |
tree | 7b03bfd3adceb8bcb73ebbd4a6692e3207ec4421 /dev-python/astropy | |
parent | Add libav9 support, patch derived from Ubuntu/Debian, thanks to Jiří Morave... (diff) | |
download | gentoo-2-eb60e84f0ab01a36ae0a274a81f9d73b10a3893d.tar.gz gentoo-2-eb60e84f0ab01a36ae0a274a81f9d73b10a3893d.tar.bz2 gentoo-2-eb60e84f0ab01a36ae0a274a81f9d73b10a3893d.zip |
Version bump
(Portage version: 2.2.01.21890-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/astropy')
-rw-r--r-- | dev-python/astropy/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/astropy/astropy-0.2.1.ebuild | 64 | ||||
-rw-r--r-- | dev-python/astropy/metadata.xml | 3 |
3 files changed, 75 insertions, 2 deletions
diff --git a/dev-python/astropy/ChangeLog b/dev-python/astropy/ChangeLog index 5fed1cf97560..9fe30e15f11b 100644 --- a/dev-python/astropy/ChangeLog +++ b/dev-python/astropy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/astropy -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/astropy/ChangeLog,v 1.7 2012/08/08 19:10:03 bicatali Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astropy/ChangeLog,v 1.8 2013/04/23 22:53:01 bicatali Exp $ + +*astropy-0.2.1 (23 Apr 2013) + + 23 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> +astropy-0.2.1.ebuild, + metadata.xml: + Version bump 08 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> astropy-0.1-r1.ebuild: Blocking pyfits and vo (bug #426822 and bug #429148) diff --git a/dev-python/astropy/astropy-0.2.1.ebuild b/dev-python/astropy/astropy-0.2.1.ebuild new file mode 100644 index 000000000000..9d6bc629d10f --- /dev/null +++ b/dev-python/astropy/astropy-0.2.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/astropy/astropy-0.2.1.ebuild,v 1.1 2013/04/23 22:53:01 bicatali Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 + +DESCRIPTION="Core functionality for performing astrophysics with Python" +HOMEPAGE="http://astropy.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND=" + dev-libs/expat + dev-python/numpy[${PYTHON_USEDEP}] + sci-astronomy/sofa_c + sci-astronomy/wcslib + sci-libs/cfitsio + sys-libs/zlib + !dev-python/pyfits + !dev-python/pywcs + !dev-python/vo" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + virtual/pkgconfig + doc? ( dev-python/matplotlib + dev-python/sphinx + media-gfx/graphviz ) + test? ( dev-libs/libxml2 + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] )" + +python_compile() { + distutils-r1_python_compile build \ + --enable-legacy --use-system-libraries +} + +python_compile_all() { + if use doc; then + VARTEXFONTS="${T}"/fonts \ + MPLCONFIGDIR="${BUILD_DIR}" \ + PYTHONPATH="${BUILD_DIR}"/lib \ + emake -C docs html + fi +} + +python_test() { + distutils-r1_python_compile build \ + --enable-legacy --use-system-libraries test +} + +python_install_all() { + use doc && dohtml -r doc/_build/html +} diff --git a/dev-python/astropy/metadata.xml b/dev-python/astropy/metadata.xml index 5039e8b1fec0..f82f421cc634 100644 --- a/dev-python/astropy/metadata.xml +++ b/dev-python/astropy/metadata.xml @@ -7,4 +7,7 @@ the core functionality and some common tools needed for performing astronomy and astrophysics with Python. </longdescription> +<upstream> + <remote-id type="pypi">astropy</remote-id> +</upstream> </pkgmetadata> |