summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2008-07-30 04:55:49 +0000
committerJesus Rivero <neurogeek@gentoo.org>2008-07-30 04:55:49 +0000
commit7cbf47b3a16177a8f5435c30ae1c604ccaf9374b (patch)
tree79f4a3458020c54449557115db7cee8e17032113 /dev-python/pygene
parentAdd USE flag descriptions to metadata.xml. (diff)
downloadhistorical-7cbf47b3a16177a8f5435c30ae1c604ccaf9374b.tar.gz
historical-7cbf47b3a16177a8f5435c30ae1c604ccaf9374b.tar.bz2
historical-7cbf47b3a16177a8f5435c30ae1c604ccaf9374b.zip
Initial commit, closes bug #115218
Package-Manager: portage-2.2_rc3/cvs/Linux 2.6.18-gentoo-r3 i686
Diffstat (limited to 'dev-python/pygene')
-rw-r--r--dev-python/pygene/ChangeLog10
-rw-r--r--dev-python/pygene/Manifest4
-rw-r--r--dev-python/pygene/metadata.xml5
-rw-r--r--dev-python/pygene/pygene-0.2.1.ebuild43
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/pygene/ChangeLog b/dev-python/pygene/ChangeLog
new file mode 100644
index 000000000000..ad24994c9a9a
--- /dev/null
+++ b/dev-python/pygene/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pygene
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygene/ChangeLog,v 1.1 2008/07/30 04:55:49 neurogeek Exp $
+
+*pygene-0.2.1 (30 Jul 2008)
+
+ 30 Jul 2008; Jesus Rivero <neurogeek@gentoo.org> +metadata.xml,
+ +pygene-0.2.1.ebuild:
+ Initial commit, closes bug #115218
+
diff --git a/dev-python/pygene/Manifest b/dev-python/pygene/Manifest
new file mode 100644
index 000000000000..04410ac75306
--- /dev/null
+++ b/dev-python/pygene/Manifest
@@ -0,0 +1,4 @@
+DIST pygene-0.2.1.tar.gz 147178 RMD160 5f1aa0d9a34629945fd91ebb9b4230fea335d2b4 SHA1 c96911cda8c4b792f0da4f83bc276091fc55992f SHA256 8d24bb4f3fa0fd31f86a1f3478d8699d01e5c3803ff276d876e3c9e9c13c154a
+EBUILD pygene-0.2.1.ebuild 997 RMD160 2dcc580e070f76190fffa1aa64a73a9bd31f5ad4 SHA1 6a9d52bcae43b17f4b01dbf7fcd5d72cfbf04223 SHA256 da9703461b67877710bb66dddfc040c92452f92e09fbe959744fbb521cae64dc
+MISC ChangeLog 367 RMD160 5e1b07a3f174b8566b4d9e341bf2c12f81b324a0 SHA1 f61cdd921ea0b139b78d09f22402208adc4953f0 SHA256 14c409e36a3e607aaa62e33d73fba861ec80f7d6cbda28b1659415bb3acb6a08
+MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/pygene/metadata.xml b/dev-python/pygene/metadata.xml
new file mode 100644
index 000000000000..301d2207cc29
--- /dev/null
+++ b/dev-python/pygene/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pygene/pygene-0.2.1.ebuild b/dev-python/pygene/pygene-0.2.1.ebuild
new file mode 100644
index 000000000000..f0a5617d3d98
--- /dev/null
+++ b/dev-python/pygene/pygene-0.2.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 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.1 2008/07/30 04:55:49 neurogeek Exp $
+
+NEEDS_PYTHON=2.4
+
+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/"
+SLOT="0"
+KEYWORDS="~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"
+ fi
+
+}
+
+src_install() {
+
+ distutils_src_install
+
+ use doc && \
+ dohtml -r doc/*
+
+ if use examples ; then
+ insinto /usr/share/doc/"${PF}"/examples
+ doins demo*.py salesman.gif || die 'doins failed'
+ fi
+}