summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-08-05 21:55:30 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-08-05 21:55:30 +0000
commit3f692659c6aa9e9f0ecacfe63a7a9c865fc20523 (patch)
tree4213fc580e84d54f6162490b42c0205f354b770f /dev-python/pyds9
parentStable on amd64 wrt bug #353128 (diff)
downloadhistorical-3f692659c6aa9e9f0ecacfe63a7a9c865fc20523.tar.gz
historical-3f692659c6aa9e9f0ecacfe63a7a9c865fc20523.tar.bz2
historical-3f692659c6aa9e9f0ecacfe63a7a9c865fc20523.zip
Initial import
Package-Manager: portage-2.1.10.10/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyds9')
-rw-r--r--dev-python/pyds9/ChangeLog10
-rw-r--r--dev-python/pyds9/Manifest14
-rw-r--r--dev-python/pyds9/metadata.xml12
-rw-r--r--dev-python/pyds9/pyds9-1.2.ebuild42
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-python/pyds9/ChangeLog b/dev-python/pyds9/ChangeLog
new file mode 100644
index 000000000000..fc59d5786ece
--- /dev/null
+++ b/dev-python/pyds9/ChangeLog
@@ -0,0 +1,10 @@
+# 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 $
+
+*pyds9-1.2 (05 Aug 2011)
+
+ 05 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> +pyds9-1.2.ebuild,
+ +metadata.xml:
+ Initial import
+
diff --git a/dev-python/pyds9/Manifest b/dev-python/pyds9/Manifest
new file mode 100644
index 000000000000..55e41b29bd5b
--- /dev/null
+++ b/dev-python/pyds9/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST pyds9-1.2.tar.gz 1994576 RMD160 0c505661d7c002f6571d577c3d2b7475440fe1f0 SHA1 67ee460908e1bb164bb001b16acbaaa10bfd63ba SHA256 73b52df8133f3efbef8281b38f9cf3e370920cca4ed3f3c15c037c9f516c1383
+EBUILD pyds9-1.2.ebuild 951 RMD160 ec577f81e9a738ec0b81f12cf5da92352ffbfc67 SHA1 799b8d67fde89cf79e95fe45a5209db8d2a41a22 SHA256 55622736484531dded18862fc8bc0488705e3761faff13d907f3b8fd200a701f
+MISC ChangeLog 342 RMD160 04fb0979a4f82b1e2b320c2ef39000df5c457f26 SHA1 61a67b13e291c8ec9ccebdcae4d270a3d35084d4 SHA256 04e2e2691fe52b0620e858e7bb477ebdec0397f4406d379922e050972fc6e1f2
+MISC metadata.xml 495 RMD160 f5a6ab7883e8a3e52e9927d4ca147c4d2e6b7323 SHA1 37c8bb99659a9386f69a800faf678d1f9562dfa7 SHA256 a4baad46e408ee682f69fcbd8bf813db3313678b829a6a3dc9ce9a3d474a1f57
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk48ZtoACgkQ1ycZbhPLE2D2XACfQXeuVrYJGr2NUa7y1CJd//qR
+6LwAn2C/lJteBOUd62rWN4awwvZEZMxc
+=IdAn
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pyds9/metadata.xml b/dev-python/pyds9/metadata.xml
new file mode 100644
index 000000000000..b1d6caffdd81
--- /dev/null
+++ b/dev-python/pyds9/metadata.xml
@@ -0,0 +1,12 @@
+<?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">
+ The XPA messaging system provides seamless communication between
+ many kinds of Unix programs, including Tcl/Tk programs such as
+ ds9. The pyds9 module uses a Python interface to XPA to communicate
+ with ds9. It supports communication with all of ds9’s XPA access
+ points.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/pyds9/pyds9-1.2.ebuild b/dev-python/pyds9/pyds9-1.2.ebuild
new file mode 100644
index 000000000000..a0124a69e8a7
--- /dev/null
+++ b/dev-python/pyds9/pyds9-1.2.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.2.ebuild,v 1.1 2011/08/05 21:55:30 bicatali 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
+}