Gentoo Archives: gentoo-commits

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