summaryrefslogtreecommitdiff
path: root/sci-biology/biopython
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/biopython
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/biopython')
-rw-r--r--sci-biology/biopython/Manifest5
-rw-r--r--sci-biology/biopython/biopython-1.68.ebuild55
-rw-r--r--sci-biology/biopython/metadata.xml8
3 files changed, 68 insertions, 0 deletions
diff --git a/sci-biology/biopython/Manifest b/sci-biology/biopython/Manifest
new file mode 100644
index 000000000000..9219f3e4b869
--- /dev/null
+++ b/sci-biology/biopython/Manifest
@@ -0,0 +1,5 @@
+DIST biopython-1.68.tar.gz 14445813 SHA256 d1dc09d1ddc8e90833f507cf09f80fa9ee1537d319058d1c44fe9c09be3d0c1f SHA512 0ca994475654bb68ff326c8e86cbd4547cd87b42e1633dda039ad668e1298884b22e169f6b25ab514e929861334a93b7db6d057a3486cea9997ca2de95c61a69 WHIRLPOOL 9348354d0063efe0f9051f46e3be60540c5df21a43c094d74e64d37279736921d890cd639c904336eb21b2996e9948b8a050017b77569d2333ac80aa5b8bf156
+EBUILD biopython-1.68.ebuild 1645 SHA256 17014ab913a356416b73ae696b7862e0536c47a10b017dd5fe22e049f5dff4a1 SHA512 23418100fa56983329f389e46f1124e3e03eca7614fac6c9465a53be765742e50029060f3c9efbea8ab2eeba02eb1c617e705c26fee65a47d030d0e436b97f03 WHIRLPOOL b308da34762e6ef1845a28f7b84fb629482ecfd84451718c6abeaf3bce71ff2c8b0fdde6142e1184b5d2528b5399358203ff161bc21cfaf0f39d8b874000fea2
+MISC ChangeLog 3520 SHA256 148533b2d48445a82765f8d34118ff94b4967fc09132ea88d9baadc83273f79b SHA512 b032a3a05e2804ebda1b7db5742b2a2ef4021cfb240d74367a0aebd6edb810ae544c5a751459edf190928f6843e13c5833b47b0727761bcc882f67baf225d06f WHIRLPOOL 28d3df06e0eff7838e0d958e7f65e6d99d9bc38c9f96969172815f92937e2cf25cb8ba152a432c19a70839df0f200b22154b8f544cd4c7a972a4d5ecb629b91e
+MISC ChangeLog-2015 13216 SHA256 cc9c6b624ea4635f4346a34cf7ba4771364f161175177268e24a646ada9db31d SHA512 197cfe74bd1b98c0580ce07bf30ea23b21a7549a6c365588838468ccd3cebc4f9952370e44e6a9f66f4eac34c0239fe46de60732640c664cd49991c40487f198 WHIRLPOOL b1fdab07aad1063f3bdcc943519161b551db150393ce425f1a998b59c7fc24142ccaa997835d9ee4eb7119b6758b2ebd138e2f5a7c454177c34a184814564b21
+MISC metadata.xml 267 SHA256 b3535fccca0fc8511c1245214c1a7c105447b35f21093bda132991874ce82d48 SHA512 91ab266d9ab24401bc0fec759c5b6cfcf44a3c5669fc31c7301d79770839bb5dfa0e155d949392ef06176b4a0b2c32b91b1b54b0027f972db61f0a5e54644403 WHIRLPOOL d841a2f928c50434f2e8c65f583ea3aa2d04e5cebd664b1531ab5373260f735219131991000bbb2b21aa3add05dcdce29548b78eac8d8c0eced6dc5505b64e13
diff --git a/sci-biology/biopython/biopython-1.68.ebuild b/sci-biology/biopython/biopython-1.68.ebuild
new file mode 100644
index 000000000000..d0934b9879d9
--- /dev/null
+++ b/sci-biology/biopython/biopython-1.68.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Python modules for computational molecular biology"
+HOMEPAGE="http://www.biopython.org/ https://pypi.python.org/pypi/biopython/"
+SRC_URI="http://www.biopython.org/DIST/${P}.tar.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ dev-python/matplotlib[$(python_gen_usedep 'python*')]
+ dev-python/networkx[$(python_gen_usedep 'python*')]
+ dev-python/numpy[$(python_gen_usedep 'python*')]
+ dev-python/rdflib[$(python_gen_usedep 'python*')]
+ dev-python/pygraphviz[$(python_gen_usedep 'python2*')]
+ dev-python/reportlab[$(python_gen_usedep 'python*')]
+ dev-python/pydot[$(python_gen_usedep 'python2*')]
+ "
+DEPEND="${RDEPEND}
+ sys-devel/flex"
+
+DOCS=( CONTRIB DEPRECATED NEWS README Doc/. )
+
+python_test() {
+ distutils_install_for_testing
+ cp -r "${S}"/{Doc,Tests} "${TEST_DIR}"/lib/ || die
+ cd "${TEST_DIR}"/lib/Tests || die
+ rm test_BioSQL_{psycopg2.py,MySQLdb.py,mysql_connector.py} || die
+ ${PYTHON} run_tests.py --offline --verbose || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ dodir /usr/share/${PN}
+ cp -r --preserve=mode Scripts Tests "${ED%/}"/usr/share/${PN} || die
+}
+
+pkg_postinst() {
+ elog "For database support you need to install:"
+ optfeature "MySQL" dev-python/mysql-python
+ optfeature "PostGreSQL" dev-python/psycopg
+ elog
+ elog "Some applications need extra packages:"
+ optfeature "EMBOSS (The European Molecular Biology Open Software Suite)" sci-biology/emboss
+}
diff --git a/sci-biology/biopython/metadata.xml b/sci-biology/biopython/metadata.xml
new file mode 100644
index 000000000000..959160fe46b1
--- /dev/null
+++ b/sci-biology/biopython/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>sci-biology@gentoo.org</email>
+ <name>Gentoo Biology Project</name>
+ </maintainer>
+</pkgmetadata>