summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-04-25 16:50:45 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-04-25 16:50:45 +0000
commitf6d75ffe2f1411931ec8899f362bdc99ca97cc30 (patch)
treea0ac8d32d23c34c347bd6392f9a8c84c9fb48084 /dev-python/pyregion
parentfixed changelog for listing the manifest update (diff)
downloadgentoo-2-f6d75ffe2f1411931ec8899f362bdc99ca97cc30.tar.gz
gentoo-2-f6d75ffe2f1411931ec8899f362bdc99ca97cc30.tar.bz2
gentoo-2-f6d75ffe2f1411931ec8899f362bdc99ca97cc30.zip
Version bump
(Portage version: 2.2.01.21890-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/pyregion')
-rw-r--r--dev-python/pyregion/ChangeLog11
-rw-r--r--dev-python/pyregion/metadata.xml3
-rw-r--r--dev-python/pyregion/pyregion-1.0.ebuild22
-rw-r--r--dev-python/pyregion/pyregion-1.1.ebuild32
4 files changed, 43 insertions, 25 deletions
diff --git a/dev-python/pyregion/ChangeLog b/dev-python/pyregion/ChangeLog
index c0034946f1e4..2e71bf45e373 100644
--- a/dev-python/pyregion/ChangeLog
+++ b/dev-python/pyregion/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyregion
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyregion/ChangeLog,v 1.5 2012/02/23 03:44:06 patrick Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyregion/ChangeLog,v 1.6 2013/04/25 16:50:45 bicatali Exp $
+
+*pyregion-1.1 (25 Apr 2013)
+
+ 25 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> +pyregion-1.1.ebuild,
+ -pyregion-1.0.ebuild, metadata.xml:
+ Version bump
23 Feb 2012; Patrick Lauer <patrick@gentoo.org> pyregion-1.0.1.ebuild,
pyregion-1.0.ebuild:
@@ -23,4 +29,3 @@
12 Oct 2010; Sébastien Fabbro <bicatali@gentoo.org> +pyregion-1.0.ebuild,
+metadata.xml:
Initial import
-
diff --git a/dev-python/pyregion/metadata.xml b/dev-python/pyregion/metadata.xml
index f861b2a39bb3..b515cba0ba5d 100644
--- a/dev-python/pyregion/metadata.xml
+++ b/dev-python/pyregion/metadata.xml
@@ -6,4 +6,7 @@
pyregion is a python module to parse ds9 region files. It also
support ciao region files, and can draw regions using matplotlib.
</longdescription>
+<upstream>
+ <remote-id type="pypi">pyregion</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/dev-python/pyregion/pyregion-1.0.ebuild b/dev-python/pyregion/pyregion-1.0.ebuild
deleted file mode 100644
index 40eaa1da0e76..000000000000
--- a/dev-python/pyregion/pyregion-1.0.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyregion/pyregion-1.0.ebuild,v 1.4 2012/02/23 20:20:14 mr_bones_ Exp $
-
-EAPI=2
-
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
-
-inherit distutils
-
-DESCRIPTION="Python module to parse ds9 region file"
-HOMEPAGE="http://leejjoon.github.com/pyregion/"
-SRC_URI="http://github.com/downloads/leejjoon/${PN}/${P}.tar.gz"
-
-IUSE=""
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-LICENSE="MIT"
-
-DEPEND="dev-python/numpy"
-RDEPEND="${DEPEND}"
diff --git a/dev-python/pyregion/pyregion-1.1.ebuild b/dev-python/pyregion/pyregion-1.1.ebuild
new file mode 100644
index 000000000000..c7895566e072
--- /dev/null
+++ b/dev-python/pyregion/pyregion-1.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyregion/pyregion-1.1.ebuild,v 1.1 2013/04/25 16:50:45 bicatali Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+inherit distutils-r1
+
+DESCRIPTION="Python module to parse ds9 region file"
+HOMEPAGE="http://leejjoon.github.com/pyregion/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="MIT"
+
+IUSE="examples"
+RDEPEND="
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]"
+DEPEND="${DEPEND}
+ || ( dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/pyrex[${PYTHON_USEDEP}] )"
+
+python_install_all() {
+ dodoc README
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}