diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-08-05 21:55:30 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-08-05 21:55:30 +0000 |
commit | 423bba362015e3bd55e894651aa9aa4253b70612 (patch) | |
tree | 1a33d50006afd0faf04d066334730221d5cc11d8 /dev-python/pyds9 | |
parent | Stable on amd64 wrt bug #353128 (diff) | |
download | gentoo-2-423bba362015e3bd55e894651aa9aa4253b70612.tar.gz gentoo-2-423bba362015e3bd55e894651aa9aa4253b70612.tar.bz2 gentoo-2-423bba362015e3bd55e894651aa9aa4253b70612.zip |
Initial import
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyds9')
-rw-r--r-- | dev-python/pyds9/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pyds9/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyds9/pyds9-1.2.ebuild | 42 |
3 files changed, 64 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/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 +} |