1 |
commit: 1d627c06654e471d2c1511af0722e2f8294f8485 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 18 11:01:32 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 11:01:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1d627c06 |
7 |
|
8 |
dev-python/gffpandas: fix test/doc/prepare |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
dev-python/gffpandas/gffpandas-1.2.0.ebuild | 17 ++++++++++++----- |
14 |
1 file changed, 12 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/gffpandas/gffpandas-1.2.0.ebuild b/dev-python/gffpandas/gffpandas-1.2.0.ebuild |
17 |
index 461712be5..12ec9927c 100644 |
18 |
--- a/dev-python/gffpandas/gffpandas-1.2.0.ebuild |
19 |
+++ b/dev-python/gffpandas/gffpandas-1.2.0.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{7..9} ) |
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
@@ -15,8 +15,15 @@ SRC_URI="https://github.com/foerstner-lab/${PN}/archive/v${PV}.tar.gz -> ${P}.ta |
30 |
LICENSE="ISC" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
-RESTRICT="test" |
34 |
|
35 |
-DEPEND="dev-python/pandas[${PYTHON_USEDEP}]" |
36 |
-RDEPEND="${DEPEND}" |
37 |
-BDEPEND="" |
38 |
+RDEPEND="dev-python/pandas[${PYTHON_USEDEP}]" |
39 |
+ |
40 |
+distutils_enable_tests pytest |
41 |
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme |
42 |
+ |
43 |
+python_prepare_all() { |
44 |
+ # Do not depend on pytest-runner |
45 |
+ sed -i -e '/pytest-runner/d' setup.py || die |
46 |
+ |
47 |
+ distutils-r1_python_prepare_all |
48 |
+} |