commit: 08cb203ae14acd64b0d0c5a7489d9fca813154de
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Sun Sep 27 06:50:26 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Sep 27 06:50:26 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=08cb203a
sci-biology/pybedtools: PYTHON_COMPAT update and actually install files
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-biology/pybedtools/pybedtools-0.8.0.ebuild | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
index 440e644b7..9edb8f366 100644
--- a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
+++ b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -15,6 +15,9 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc minimal"
+RESTRICT="test"
+# Tests reported to fail on Gentoo:
+# https://github.com/daler/pybedtools/issues/329
RDEPEND="
sci-biology/bedtools
@@ -26,12 +29,16 @@ DEPEND="${RDEPEND}
src_compile(){
python setup.py cythonize
- default
+ distutils-r1_src_compile
use doc && cd docs && emake html
}
src_install(){
- default
- insinto /usr/share/doc/"${PN}"
- doins -r docs/build/html
+ distutils-r1_src_install
+ if use doc; then
+ insinto /usr/share/doc/"${PN}"
+ doins -r docs/build/html
+ fi
}
+
+distutils_enable_tests pytest