commit: eadc057d986704101528304a2e9bb331b050e78c Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Fri Jan 13 09:30:29 2023 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Fri Jan 13 09:30:29 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=eadc057d
sci-biology/bx-python: attempting to enable tests Signed-off-by: Horea Christian <chr <AT> chymera.eu> sci-biology/bx-python/bx-python-0.8.9.ebuild | 9 ++++++++- sci-biology/bx-python/bx-python-0.9.0.ebuild | 9 ++++++++- sci-biology/bx-python/bx-python-9999.ebuild | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/sci-biology/bx-python/bx-python-0.8.9.ebuild b/sci-biology/bx-python/bx-python-0.8.9.ebuild index f0f211f4e..6cffba1be 100644 --- a/sci-biology/bx-python/bx-python-0.8.9.ebuild +++ b/sci-biology/bx-python/bx-python-0.8.9.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 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 diff --git a/sci-biology/bx-python/bx-python-9999.ebuild b/sci-biology/bx-python/bx-python-9999.ebuild index 115fda468..b29975b58 100644 --- a/sci-biology/bx-python/bx-python-9999.ebuild +++ b/sci-biology/bx-python/bx-python-9999.ebuild @@ -14,15 +14,22 @@ EGIT_REPO_URI="https://github.com/bxlab/bx-python" LICENSE="MIT" SLOT="0" KEYWORDS="" +# 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
