summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 18:37:19 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 18:37:19 +0000
commitf63d986e062effdc453c6777d1cc7dd8d57fca1a (patch)
treea2be5fb3ce85184897a3d6096d64712567e02e48 /dev-python/pygene
parentVersion bump and fix bug #324237 (diff)
downloadhistorical-f63d986e062effdc453c6777d1cc7dd8d57fca1a.tar.gz
historical-f63d986e062effdc453c6777d1cc7dd8d57fca1a.tar.bz2
historical-f63d986e062effdc453c6777d1cc7dd8d57fca1a.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pygene')
-rw-r--r--dev-python/pygene/ChangeLog8
-rw-r--r--dev-python/pygene/Manifest4
-rw-r--r--dev-python/pygene/pygene-0.2.1.ebuild35
3 files changed, 27 insertions, 20 deletions
diff --git a/dev-python/pygene/ChangeLog b/dev-python/pygene/ChangeLog
index 14a439d38a7f..acd2b06f50eb 100644
--- a/dev-python/pygene/ChangeLog
+++ b/dev-python/pygene/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pygene
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygene/ChangeLog,v 1.3 2009/02/15 22:48:54 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygene/ChangeLog,v 1.4 2010/07/08 18:37:19 arfrever Exp $
+
+ 08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pygene-0.2.1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
15 Feb 2009; Patrick Lauer <patrick@gentoo.org> pygene-0.2.1.ebuild:
Adding ~amd64 keyword
diff --git a/dev-python/pygene/Manifest b/dev-python/pygene/Manifest
index 1460a47d5aec..2438be486937 100644
--- a/dev-python/pygene/Manifest
+++ b/dev-python/pygene/Manifest
@@ -1,4 +1,4 @@
DIST pygene-0.2.1.tar.gz 147178 RMD160 5f1aa0d9a34629945fd91ebb9b4230fea335d2b4 SHA1 c96911cda8c4b792f0da4f83bc276091fc55992f SHA256 8d24bb4f3fa0fd31f86a1f3478d8699d01e5c3803ff276d876e3c9e9c13c154a
-EBUILD pygene-0.2.1.ebuild 1001 RMD160 86b89e728c261860ec45bfb055d83bc9966b5489 SHA1 79e45d1c7b9c8a1995138178ce57fddfb9ae9367 SHA256 257b5cae4f0df54079fa00dc110ade7c12b8d5307bffcaa99d69563fd020a13d
-MISC ChangeLog 557 RMD160 deca1d5d534c03c37207bee737d6b0a1cd4a6295 SHA1 ff1aedc3da575bf568dee423dae5c28a7689412c SHA256 44f65ded06aafa02f49ca7b864a14baa51a9caddd3e927cabb2b260db16b7411
+EBUILD pygene-0.2.1.ebuild 1172 RMD160 1b215e06846cb5233dbee463d536af370ff7cc4a SHA1 42aa36e50cfcb158175b34f1eb555303e2366fe2 SHA256 4b66906e8bd6ddd6e505eb45e79674b1600ed2c1c579609bff07a810aa5dfd30
+MISC ChangeLog 682 RMD160 50edce609f579f13785f030e0b293eca23930847 SHA1 5bd9000cae194637b8f849abbd0ec9e146d15451 SHA256 83a9f40a74cbaec52ed4594db6d4d1c0fd44f416d875e53ab5a0c08541f2da87
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/pygene/pygene-0.2.1.ebuild b/dev-python/pygene/pygene-0.2.1.ebuild
index 0d05c3e7ab7c..55922c5ae4d3 100644
--- a/dev-python/pygene/pygene-0.2.1.ebuild
+++ b/dev-python/pygene/pygene-0.2.1.ebuild
@@ -1,43 +1,46 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygene/pygene-0.2.1.ebuild,v 1.3 2009/02/15 22:48:54 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygene/pygene-0.2.1.ebuild,v 1.4 2010/07/08 18:37:19 arfrever Exp $
-NEED_PYTHON=2.4
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
DESCRIPTION="Simple python genetic algorithms programming library"
-SRC_URI="http://www.freenet.org.nz/python/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.freenet.org.nz/python/pygene/"
+SRC_URI="http://www.freenet.org.nz/python/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-2"
IUSE="doc examples"
+
DEPEND="doc? ( >=dev-python/epydoc-2.1-r2 )"
RDEPEND="examples? ( >=dev-python/pyfltk-1.1.2 )"
DOCS="BUGS CREDITS INSTALL"
src_compile() {
-
distutils_src_compile
- if use doc ; then
- epydoc -n "pygene - Python genetic algorithms" -o "${S}"/doc \
- "${S}"/pygene || die "epydoc failed"
+ if use doc; then
+ einfo "Generation of documentation"
+ epydoc -n "pygene - Python genetic algorithms" -o doc pygene || die "Generation of documentation failed"
fi
-
}
src_install() {
-
distutils_src_install
- use doc && \
- dohtml -r doc/*
+ if use doc; then
+ dohtml -r doc/* || die "Installation of documentation failed"
+ fi
- if use examples ; then
- insinto /usr/share/doc/"${PF}"/examples
- doins demo*.py salesman.gif || die 'doins failed'
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins demo*.py salesman.gif || die "Installation of examples failed"
fi
}