summaryrefslogtreecommitdiff
path: root/sci-biology/biopython
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/biopython')
-rw-r--r--sci-biology/biopython/Manifest4
-rw-r--r--sci-biology/biopython/biopython-1.77.ebuild (renamed from sci-biology/biopython/biopython-1.73.ebuild)17
2 files changed, 13 insertions, 8 deletions
diff --git a/sci-biology/biopython/Manifest b/sci-biology/biopython/Manifest
index f252db4b4e14..0141c7450dbb 100644
--- a/sci-biology/biopython/Manifest
+++ b/sci-biology/biopython/Manifest
@@ -1,3 +1,3 @@
-DIST biopython-1.73.tar.gz 15715102 BLAKE2B b2c40f9ed02681f19607c88f91b469784985acefc6e81770a54e5c13c715915344bc7fd72e4a88ae50879a2463965ac6d0d04c6d263908887028d1e065620b95 SHA512 d067330ef8e25ca6881b56f4e5e89e16a816c89760473e2f32a6236ab202f805294650aa944f0b098987425bcb65727317da7a26deb4d4937f02b00123ea9a8f
-EBUILD biopython-1.73.ebuild 1671 BLAKE2B d899d54d6983bbbcc43e34a051cd5cfdbed4ff92d50dcc95fd38df84f60882bfdda7d95cf4a5fa84ece32e36e10e53010340cdceb2f50b37351b917afd0dc062 SHA512 3d648fe4b0a62f984fe4541c8b4298759dcf772ef0119ca7de42b207fc09994ed2c5d0b3a561fc647382c2e41f2ec1832fe388c7fdf1f8b8d83ee4565d0e20b1
+DIST biopython-1.77.tar.gz 16837021 BLAKE2B b5586f0ea3e476b11801dcc98039d5eea7b191e11d390192c0cf348018ded005fe2ad5dc9ba71c83aebc9cdde20c97244905dcc3aeb5436a97588da9f8c79c3e SHA512 6f4b03d46c591e1f49dd1e76bcc4ac5c9aaa2bf748c9dd37ffc5de5a613fbeed38f89b418c01601dd99c65b13b2e294bc8d81ffafc42a9ff1b309c84f840d0d5
+EBUILD biopython-1.77.ebuild 1855 BLAKE2B 739e5cc4a954ac9cc5fe0640ac5f418ad1ee1aadb66570a41996e8e260dc75c8c4373c94b53b0d147d1b661169c1aa3352b9367ab0e37cfd8bd05c220186ac92 SHA512 e2dd1ef79804c779645162410e6890d0618d080ac20195cae0097fe3a42c204d270321949e8d5056b85f9e9a5ed598e05c20f2869178dd16ea86ea105167271a
MISC metadata.xml 267 BLAKE2B 7cf386952842945148119de3263231db4d1046d5f54811f7e303ed8ec4d27cbc1960b99c92daf6f32e5b981c2fb9f50ec666be6193865d6e18541b7427a152a9 SHA512 91ab266d9ab24401bc0fec759c5b6cfcf44a3c5669fc31c7301d79770839bb5dfa0e155d949392ef06176b4a0b2c32b91b1b54b0027f972db61f0a5e54644403
diff --git a/sci-biology/biopython/biopython-1.73.ebuild b/sci-biology/biopython/biopython-1.77.ebuild
index 94acdfc2a2cb..486e9fe694d1 100644
--- a/sci-biology/biopython/biopython-1.73.ebuild
+++ b/sci-biology/biopython/biopython-1.77.ebuild
@@ -3,7 +3,8 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
+
inherit distutils-r1 eutils
DESCRIPTION="Python modules for computational molecular biology"
@@ -13,7 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
RDEPEND="
dev-python/matplotlib[${PYTHON_USEDEP}]
@@ -23,15 +23,20 @@ RDEPEND="
dev-python/pygraphviz[${PYTHON_USEDEP}]
>=dev-python/reportlab-3.5.13-r1[${PYTHON_USEDEP}]
dev-python/pydot[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- sys-devel/flex"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/flex"
DOCS=( {CONTRIB,DEPRECATED,NEWS,README}.rst Doc/. )
python_test() {
distutils_install_for_testing
- cp -r "${S}"/{Doc,Tests} "${TEST_DIR}"/lib/ || die
+ cp -r {Doc,Tests} "${TEST_DIR}"/lib/ || die
+
+ # need to create symlinks for doctests
+ mkdir -p "${TEST_DIR}"/lib/Bio/Align/substitution_matrices || die
+ ln -r -s "${S}"/Bio/Align/substitution_matrices/data \
+ "${TEST_DIR}"/lib/Bio/Align/substitution_matrices/data || die
+
cd "${TEST_DIR}"/lib/Tests || die
rm test_BioSQL_{psycopg2.py,MySQLdb.py,mysql_connector.py} || die
"${EPYTHON}" run_tests.py --offline --verbose || die