1 |
commit: e29df37c8b9b02f3749a57c2075bed05f0a71260 |
2 |
Author: Martin Mokrejs <mmokrejs <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 6 18:22:00 2020 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Wed May 6 18:22:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e29df37c |
7 |
|
8 |
sci-biology/pybedtools: respect minimal and doc USE flags |
9 |
|
10 |
Installation of the to be generated doc pages is not tested |
11 |
as I am blocked by bug #721306. Probably some dir needs to be |
12 |
recursively installed. |
13 |
|
14 |
Package-Manager: Portage-2.3.95, Repoman-2.3.22 |
15 |
Signed-off-by: Martin Mokrejs <mmokrejs <AT> gmail.com> |
16 |
|
17 |
sci-biology/pybedtools/pybedtools-0.8.0.ebuild | 7 +++++-- |
18 |
1 file changed, 5 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild |
21 |
index cd444a09e..9d4dc23c0 100644 |
22 |
--- a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild |
23 |
+++ b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild |
24 |
@@ -14,15 +14,18 @@ SRC_URI="https://github.com/daler/pybedtools/archive/v${PV}.tar.gz -> ${P}.tar.g |
25 |
LICENSE="MIT" |
26 |
SLOT="0" |
27 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
28 |
-IUSE="" |
29 |
+IUSE="doc minimal" |
30 |
|
31 |
RDEPEND=" |
32 |
sci-biology/bedtools |
33 |
- sci-biology/pysam" |
34 |
+ sci-biology/pysam |
35 |
+ !minimal? ( sci-libs/htslib ) |
36 |
+ doc? ( dev-python/sphinx )" |
37 |
DEPEND="${RDEPEND} |
38 |
dev-python/cython[${PYTHON_USEDEP}]" |
39 |
|
40 |
src_compile(){ |
41 |
python setup.py cythonize |
42 |
default |
43 |
+ use doc && cd docs && emake html |
44 |
} |