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
commitf61465a1eb850ca87b45a2071c363ab52f2863e9 (patch)
treed363b02764852dcdf6575fa611d6b081e062e481 /dev-python/pygene
parentAdd USE flag descriptions to metadata.xml. (diff)
downloadgentoo-2-f61465a1eb850ca87b45a2071c363ab52f2863e9.tar.gz
gentoo-2-f61465a1eb850ca87b45a2071c363ab52f2863e9.tar.bz2
gentoo-2-f61465a1eb850ca87b45a2071c363ab52f2863e9.zip
Initial commit, closes bug #115218
(Portage version: 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..4f25d589091a
--- /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 895 RMD160 cc54427fae4f641c732f4780ae968f06cd9723a6 SHA1 4e3afe351db9cb5f07eb052587df66af9ac5b78b SHA256 d7818fcf34ca56fd436c568a65b282fd441bbef2e1c4d5c5dcb50175eba75298
+MISC ChangeLog 275 RMD160 a0010b1d4e6c344a71c53016b034f54d6407ff8a SHA1 9822618e3a7fa8ade7297f3b32d85245d818683c SHA256 c4f2bb17b8cf09128b7b55a8e7ab088b15c5c5faa482bdf0359db8c9f4589c9b
+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
+}