summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-10-09 18:34:59 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-10-09 18:34:59 +0000
commitcad993face1bf40d622b60e25a3a7de532b7464c (patch)
treecb17f7fcf365c6010745b154e00b0b26e92bcc98 /dev-python/pyds9
parentppc/ppc64 stable wrt #386293 (diff)
downloadgentoo-2-cad993face1bf40d622b60e25a3a7de532b7464c.tar.gz
gentoo-2-cad993face1bf40d622b60e25a3a7de532b7464c.tar.bz2
gentoo-2-cad993face1bf40d622b60e25a3a7de532b7464c.zip
Version bump
(Portage version: 2.2.0_alpha63/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyds9')
-rw-r--r--dev-python/pyds9/ChangeLog7
-rw-r--r--dev-python/pyds9/pyds9-1.3.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/pyds9/ChangeLog b/dev-python/pyds9/ChangeLog
index fc59d5786ece..480ae2fe68d9 100644
--- a/dev-python/pyds9/ChangeLog
+++ b/dev-python/pyds9/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyds9
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyds9/ChangeLog,v 1.1 2011/08/05 21:55:30 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyds9/ChangeLog,v 1.2 2011/10/09 18:34:59 xarthisius Exp $
+
+*pyds9-1.3 (09 Oct 2011)
+
+ 09 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> +pyds9-1.3.ebuild:
+ Version bump
*pyds9-1.2 (05 Aug 2011)
diff --git a/dev-python/pyds9/pyds9-1.3.ebuild b/dev-python/pyds9/pyds9-1.3.ebuild
new file mode 100644
index 000000000000..ed01a2d14643
--- /dev/null
+++ b/dev-python/pyds9/pyds9-1.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyds9/pyds9-1.3.ebuild,v 1.1 2011/10/09 18:34:59 xarthisius Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Python interface to XPA to communicate with DS9"
+HOMEPAGE="http://hea-www.harvard.edu/saord/ds9/pyds9/"
+SRC_URI="http://hea-www.harvard.edu/saord/download/ds9/python/${P}.tar.gz"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+DEPEND="x11-libs/xpa"
+RDEPEND="${DEPEND}
+ dev-python/numpy
+ dev-python/pyfits"
+
+DOCS="changelog README"
+
+src_prepare() {
+ rm -rf xpa-*
+ sed -i \
+ -e "/py_modules/s|\],|\])|" \
+ -e '/data_files/,$ d' \
+ setup.py || die
+ sed -i \
+ -e "s|./xpa-2.1.12|${EROOT}/usr/$(get_libdir)|" \
+ xpa.py || die
+ sed -i \
+ -e "s|sys.path|${EROOT}/usr/bin|" \
+ ds9.py || die
+ distutils_src_prepare
+}