aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2023-01-13 04:30:29 -0500
committerHorea Christian <chr@chymera.eu>2023-01-13 04:30:29 -0500
commiteadc057d986704101528304a2e9bb331b050e78c (patch)
tree9f6ed24cb601a3432b335a1247dec151c57f085a /sci-biology/bx-python/bx-python-0.9.0.ebuild
parentsci-biology/bx-python: GH SRC_URI suffix (diff)
downloadsci-eadc057d986704101528304a2e9bb331b050e78c.tar.gz
sci-eadc057d986704101528304a2e9bb331b050e78c.tar.bz2
sci-eadc057d986704101528304a2e9bb331b050e78c.zip
sci-biology/bx-python: attempting to enable tests
Signed-off-by: Horea Christian <chr@chymera.eu>
Diffstat (limited to 'sci-biology/bx-python/bx-python-0.9.0.ebuild')
-rw-r--r--sci-biology/bx-python/bx-python-0.9.0.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/sci-biology/bx-python/bx-python-0.9.0.ebuild b/sci-biology/bx-python/bx-python-0.9.0.ebuild
index f0f211f4e..6cffba1be 100644
--- a/sci-biology/bx-python/bx-python-0.9.0.ebuild
+++ b/sci-biology/bx-python/bx-python-0.9.0.ebuild
@@ -14,15 +14,22 @@ SRC_URI="https://github.com/bxlab/bx-python/archive/v${PV}.tar.gz -> ${P}.gh.tar
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+# Tests require dev-python/pytest-cython (currently not in ::gentoo or ::science)
+# (and might need some more work beyond that)
+RESTRICT=test
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
-BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
# has file collision with sci-biology/RSeQC
# ToDo: fix doc building:
# Reason: TemplateNotFound('i')
#distutils_enable_sphinx doc/source
+
+distutils_enable_tests pytest