1 |
commit: 31a70e941154558bcf8afe94c3dd16c90d4f4e40 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 14:31:03 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 14:31:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a70e94 |
7 |
|
8 |
sci-biology/biopython: Bump to 1.71 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/653006 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
sci-biology/biopython/Manifest | 1 + |
14 |
sci-biology/biopython/biopython-1.71.ebuild | 57 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/sci-biology/biopython/Manifest b/sci-biology/biopython/Manifest |
18 |
index 55331efbbcb..70af7c92d44 100644 |
19 |
--- a/sci-biology/biopython/Manifest |
20 |
+++ b/sci-biology/biopython/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST biopython-1.68.tar.gz 14445813 BLAKE2B 566931c4e522e95278f7f6a9dc07ecc091dc54b69cdea8bb07603339af4f1fd38e3df87482e97729acb776dd2df19a4e61d49ee7608ec5cb0f24966e28c2e3dd SHA512 0ca994475654bb68ff326c8e86cbd4547cd87b42e1633dda039ad668e1298884b22e169f6b25ab514e929861334a93b7db6d057a3486cea9997ca2de95c61a69 |
23 |
+DIST biopython-1.71.tar.gz 16031832 BLAKE2B 2062065b77fc35ea8a3f09ec967482c233a6e0bbfc7d09187ff5e892848b45fa7bd6d7b6027b38c3d4c9a9c601785521fa7edb91fa960b46c8e49aed91b1f5dc SHA512 003955e92295e98526c88abb573db9bdc37877fc41395551b541e7106ffa603327a36c6f4d999838c0be38b378901235c9dbd7cb7fc25c14a5d7001939fe23bd |
24 |
|
25 |
diff --git a/sci-biology/biopython/biopython-1.71.ebuild b/sci-biology/biopython/biopython-1.71.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f770b57a2a6 |
28 |
--- /dev/null |
29 |
+++ b/sci-biology/biopython/biopython-1.71.ebuild |
30 |
@@ -0,0 +1,57 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit distutils-r1 eutils |
39 |
+ |
40 |
+DESCRIPTION="Python modules for computational molecular biology" |
41 |
+HOMEPAGE="https://www.biopython.org/ https://pypi.org/project/biopython/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="HPND" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
51 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
52 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
53 |
+ dev-python/rdflib[${PYTHON_USEDEP}] |
54 |
+ dev-python/pygraphviz[${PYTHON_USEDEP}] |
55 |
+ dev-python/reportlab[${PYTHON_USEDEP}] |
56 |
+ dev-python/pydot[${PYTHON_USEDEP}]" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ sys-devel/flex" |
59 |
+ |
60 |
+DOCS=( CONTRIB DEPRECATED NEWS README Doc/. ) |
61 |
+ |
62 |
+python_test() { |
63 |
+ distutils_install_for_testing |
64 |
+ cp -r "${S}"/{Doc,Tests} "${TEST_DIR}"/lib/ || die |
65 |
+ cd "${TEST_DIR}"/lib/Tests || die |
66 |
+ rm test_BioSQL_{psycopg2.py,MySQLdb.py,mysql_connector.py} || die |
67 |
+ "${EPYTHON}" run_tests.py --offline --verbose || die |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ # remove files causing ecompressdir to fail |
72 |
+ rm Doc/examples/ls_orchid.gbk.bz2 || die |
73 |
+ |
74 |
+ distutils-r1_python_install_all |
75 |
+ |
76 |
+ dodir /usr/share/${PN} |
77 |
+ cp -r --preserve=mode Scripts Tests "${ED}"/usr/share/${PN} || die |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ elog "For database support you need to install:" |
82 |
+ optfeature "MySQL" dev-python/mysql-python |
83 |
+ optfeature "PostGreSQL" dev-python/psycopg |
84 |
+ |
85 |
+ elog "Some applications need extra packages:" |
86 |
+ optfeature "EMBOSS (The European Molecular Biology Open Software Suite)" sci-biology/emboss |
87 |
+} |