diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pygene |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pygene')
-rw-r--r-- | dev-python/pygene/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pygene/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/pygene/pygene-0.2.1-r1.ebuild | 41 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/pygene/Manifest b/dev-python/pygene/Manifest new file mode 100644 index 000000000000..5b76caea4237 --- /dev/null +++ b/dev-python/pygene/Manifest @@ -0,0 +1,5 @@ +DIST pygene-0.2.1.tar.gz 147178 SHA256 8d24bb4f3fa0fd31f86a1f3478d8699d01e5c3803ff276d876e3c9e9c13c154a SHA512 4f6b32c4e17e85d80530f8f3d94f9726bb5adb80933aa39948ae3824effa780d333ef01ac4a304e63345314a298edd31aa687c6e6947486e74efafa6678951c7 WHIRLPOOL 99e2d2464e9e3cba75d6165f21680ac84589c2666c441701fb585526df9c2aea32f515a012b8d43fa5106d6f988b0f57a595022fe22d972966d712b6aad55beb +EBUILD pygene-0.2.1-r1.ebuild 1006 SHA256 18f2a54cc1b9b846ca34c645dd72b00001128bb93074e7efdd3d6b3e2657bf86 SHA512 65df6f6d820da5412988bfd0cdecd9b23a9b96142fb5836b99895ee572795f66aa8c2794c774bb3a79150ebc90559defc0063f6ea90c2023753a5ac910f93f5a WHIRLPOOL a3b321a457ff53a724dabef8a1f489c39b844b7c7478ddcb1fb6a9c2b4e67098eb181c0be5b95ccce4cc2b4cb720971f6612789f47d6eec0cc375e0555157eb5 +MISC ChangeLog 2630 SHA256 41fc811fd0bdb5221a1d37c46ef80ab19bb415e19872798585a146a5fa6fc134 SHA512 99c02e85afe9264d5f0c4b0951d6cf8561b072d26fbe53da8ddbc83721215131800e58cf31d209429c6d49b6ea3a1552fd768cbbfbd584b56ddf7453f41dfd60 WHIRLPOOL 8c4869f46d2892da4b431b1c74f8f758a78a9f723a00d1ded6cb7038f251ed46336446f86f59425acde8c9011d1008d30121f1c2f377d8259fdb502be549f494 +MISC ChangeLog-2015 856 SHA256 298489ae80d4329840fec3fc8fd45b1e0d38fba696494c768d90565b839c8208 SHA512 fe888d9480162426c61ad88abeb8417e11381df35b999d014be16ede8ff4f6c79de65b771428922c6317de788a5951d4f7c2df536d8bf6d9684122be5b30a172 WHIRLPOOL 44f026ac2a35693dd0e7d9dc52f262d854b9e655a36afcb625b060c0bfc4d3e68908f8650a95eb88901a157eb5c3b38747a07519a998bc648d293ce49da143e0 +MISC metadata.xml 240 SHA256 07a76e79a43ffd9aa15de0e4ae548ea85aa5bd165c4602630c3519e60f113ee6 SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59 WHIRLPOOL e3e059953c7c36bd942545f4e2a0e94ba938a17fe2bd04df81b137c185e64a213152c11918922563509e4767e601b41105f80c5983a87ee4d6be7704bcf7cf54 diff --git a/dev-python/pygene/metadata.xml b/dev-python/pygene/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/dev-python/pygene/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pygene/pygene-0.2.1-r1.ebuild b/dev-python/pygene/pygene-0.2.1-r1.ebuild new file mode 100644 index 000000000000..8f7505711f59 --- /dev/null +++ b/dev-python/pygene/pygene-0.2.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Simple python genetic algorithms programming library" +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" +IUSE="doc examples" + +DEPEND="doc? ( >=dev-python/epydoc-2.1-r2[${PYTHON_USEDEP}] )" +RDEPEND="examples? ( >=dev-python/pyfltk-1.1.2:0[${PYTHON_USEDEP}] )" + +python_prepare_all() { + if use examples; then + mkdir examples || die + mv demo*.py salesman.gif examples || die + fi + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + epydoc -n "pygene - Python genetic algorithms" -o doc pygene \ + || die "Generation of documentation failed" + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |