1 |
commit: 6fdee212269c999a4ec6ceb020115f6b9959d20f |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Sun Sep 27 07:33:55 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Sep 27 07:33:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6fdee212 |
7 |
|
8 |
sci-biology/gffutils: version bump 0.10.1, test and PYTHON_COMPAT fix |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
...utils-0.8.7.1.ebuild => gffutils-0.10.1.ebuild} | 26 +++++++++++++++++----- |
14 |
sci-biology/gffutils/gffutils-0.8.7.1.ebuild | 6 ++--- |
15 |
2 files changed, 24 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/gffutils/gffutils-0.8.7.1.ebuild b/sci-biology/gffutils/gffutils-0.10.1.ebuild |
18 |
similarity index 51% |
19 |
copy from sci-biology/gffutils/gffutils-0.8.7.1.ebuild |
20 |
copy to sci-biology/gffutils/gffutils-0.10.1.ebuild |
21 |
index 787a5668a..f33541347 100644 |
22 |
--- a/sci-biology/gffutils/gffutils-0.8.7.1.ebuild |
23 |
+++ b/sci-biology/gffutils/gffutils-0.10.1.ebuild |
24 |
@@ -1,9 +1,9 @@ |
25 |
-# Copyright 1999-2017 Gentoo Foundation |
26 |
+# Copyright 1999-2020 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=5 |
30 |
+EAPI=7 |
31 |
|
32 |
-PYTHON_COMPAT=( python2_7 ) |
33 |
+PYTHON_COMPAT=( python3_{6..9} ) |
34 |
|
35 |
inherit distutils-r1 |
36 |
|
37 |
@@ -17,8 +17,24 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
38 |
IUSE="" |
39 |
|
40 |
RDEPEND=" |
41 |
- sci-biology/pyfaidx[${PYTHON_USEDEP}] |
42 |
dev-python/simplejson[${PYTHON_USEDEP}] |
43 |
dev-python/argh[${PYTHON_USEDEP}] |
44 |
- dev-python/argcomplete[${PYTHON_USEDEP}]" |
45 |
+ dev-python/argcomplete[${PYTHON_USEDEP}] |
46 |
+ sci-biology/biopython[${PYTHON_USEDEP}] |
47 |
+ sci-biology/pybedtools[${PYTHON_USEDEP}] |
48 |
+ sci-biology/pyfaidx[${PYTHON_USEDEP}] |
49 |
+" |
50 |
DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+python_prepare_all() { |
53 |
+ if use test; then |
54 |
+ sed -i -e "s:/tmp/gffutils-test:${T}:g" gffutils/test/test.py || die |
55 |
+ fi |
56 |
+ distutils-r1_python_prepare_all |
57 |
+} |
58 |
+ |
59 |
+distutils_enable_tests nose |
60 |
+python_test() { |
61 |
+ distutils_install_for_testing |
62 |
+ nosetests -v -x --with-doctest -a '!slow' || die |
63 |
+} |
64 |
|
65 |
diff --git a/sci-biology/gffutils/gffutils-0.8.7.1.ebuild b/sci-biology/gffutils/gffutils-0.8.7.1.ebuild |
66 |
index 787a5668a..333716f7a 100644 |
67 |
--- a/sci-biology/gffutils/gffutils-0.8.7.1.ebuild |
68 |
+++ b/sci-biology/gffutils/gffutils-0.8.7.1.ebuild |
69 |
@@ -1,9 +1,9 @@ |
70 |
-# Copyright 1999-2017 Gentoo Foundation |
71 |
+# Copyright 1999-2020 Gentoo Authors |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
|
74 |
-EAPI=5 |
75 |
+EAPI=7 |
76 |
|
77 |
-PYTHON_COMPAT=( python2_7 ) |
78 |
+PYTHON_COMPAT=( python3_{6..9} ) |
79 |
|
80 |
inherit distutils-r1 |