summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-05-31 12:29:00 +0000
committerJustin Lecher <jlec@gentoo.org>2013-05-31 12:29:00 +0000
commit5fa7aa2631ef5e7003d747a93f4351d4d5c2697b (patch)
treedc1ae27f1623524f3007ab8941a8d3e4e9b338a4 /dev-python/astropy
parentautomated version bump (diff)
downloadgentoo-2-5fa7aa2631ef5e7003d747a93f4351d4d5c2697b.tar.gz
gentoo-2-5fa7aa2631ef5e7003d747a93f4351d4d5c2697b.tar.bz2
gentoo-2-5fa7aa2631ef5e7003d747a93f4351d4d5c2697b.zip
dev-python/astropy: Version BUmp
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-python/astropy')
-rw-r--r--dev-python/astropy/ChangeLog8
-rw-r--r--dev-python/astropy/astropy-0.2.3.ebuild64
-rw-r--r--dev-python/astropy/metadata.xml10
3 files changed, 76 insertions, 6 deletions
diff --git a/dev-python/astropy/ChangeLog b/dev-python/astropy/ChangeLog
index 722b394d98a6..275d297a0294 100644
--- a/dev-python/astropy/ChangeLog
+++ b/dev-python/astropy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/astropy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/astropy/ChangeLog,v 1.10 2013/05/22 06:23:13 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/astropy/ChangeLog,v 1.11 2013/05/31 12:29:00 jlec Exp $
+
+*astropy-0.2.3 (31 May 2013)
+
+ 31 May 2013; Justin Lecher <jlec@gentoo.org> +astropy-0.2.3.ebuild,
+ metadata.xml:
+ Version BUmp
22 May 2013; Patrick Lauer <patrick@gentoo.org> astropy-0.2.1.ebuild:
(Re-)Adding python-3.3 to python_targets
diff --git a/dev-python/astropy/astropy-0.2.3.ebuild b/dev-python/astropy/astropy-0.2.3.ebuild
new file mode 100644
index 000000000000..4a67cfbb716a
--- /dev/null
+++ b/dev-python/astropy/astropy-0.2.3.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.3.ebuild,v 1.1 2013/05/31 12:29:00 jlec 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 f82f421cc634..5dab9c71475d 100644
--- a/dev-python/astropy/metadata.xml
+++ b/dev-python/astropy/metadata.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang='en'>
+ <herd>sci-astronomy</herd>
+ <longdescription lang="en">
Astropy is a community-driven package intended to contain much of
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>
+ <upstream>
+ <remote-id type="pypi">astropy</remote-id>
+ </upstream>
</pkgmetadata>