From fc5c3193ac0ed653510e009311802fe077a50b7c Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Fri, 17 Jan 2014 22:13:23 +0000 Subject: Version bump (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) --- dev-python/pyds9/ChangeLog | 9 +++++++-- dev-python/pyds9/pyds9-1.7.ebuild | 41 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 dev-python/pyds9/pyds9-1.7.ebuild (limited to 'dev-python/pyds9') diff --git a/dev-python/pyds9/ChangeLog b/dev-python/pyds9/ChangeLog index b36ba44be8c0..c094fbda0389 100644 --- a/dev-python/pyds9/ChangeLog +++ b/dev-python/pyds9/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pyds9 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyds9/ChangeLog,v 1.9 2013/04/24 21:20:51 bicatali Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyds9/ChangeLog,v 1.10 2014/01/17 22:13:23 bicatali Exp $ + +*pyds9-1.7 (17 Jan 2014) + + 17 Jan 2014; Sébastien Fabbro +pyds9-1.7.ebuild: + Version bump 24 Apr 2013; Sébastien Fabbro pyds9-1.6.ebuild: Propagate use depedencies for python targets diff --git a/dev-python/pyds9/pyds9-1.7.ebuild b/dev-python/pyds9/pyds9-1.7.ebuild new file mode 100644 index 000000000000..8b86ac16ea2a --- /dev/null +++ b/dev-python/pyds9/pyds9-1.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyds9/pyds9-1.7.ebuild,v 1.1 2014/01/17 22:13:23 bicatali Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +inherit distutils-r1 multilib + +XPAPV=2.1.15 + +DESCRIPTION="Python interface to XPA to communicate with DS9" +HOMEPAGE="http://hea-www.harvard.edu/RD/ds9/pyds9/" +SRC_URI="http://hea-www.harvard.edu/RD/download/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=x11-libs/xpa-${XPAPV}" +RDEPEND="${DEPEND} + dev-python/numpy[${PYTHON_USEDEP}] + virtual/pyfits[${PYTHON_USEDEP}]" + +DOCS=(changelog README) + +src_prepare() { + rm -r xpa-${XPAPV} || die + sed -i \ + -e "/py_modules/s|\],|\])|" \ + -e '/data_files/,$ d' \ + setup.py || die + sed -i \ + -e "s|./xpa-${XPAPV}|${EROOT%/}/usr/$(get_libdir)|" \ + xpa.py || die + sed -i \ + -e "s|sys.path|${EROOT%/}/usr/bin|" \ + ds9.py || die + distutils-r1_src_prepare +} -- cgit v1.2.3-65-gdbad