aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejs <mmokrejs@gmail.com>2020-05-06 20:22:00 +0200
committerMartin Mokrejs <mmokrejs@gmail.com>2020-05-06 20:22:20 +0200
commite29df37c8b9b02f3749a57c2075bed05f0a71260 (patch)
tree989b5ed9920c20d1ebaec88a7c91e525483a4bdf /sci-biology
parentsci-biology/pybedtools: update homepage, explicitly run cythonize (diff)
downloadsci-e29df37c8b9b02f3749a57c2075bed05f0a71260.tar.gz
sci-e29df37c8b9b02f3749a57c2075bed05f0a71260.tar.bz2
sci-e29df37c8b9b02f3749a57c2075bed05f0a71260.zip
sci-biology/pybedtools: respect minimal and doc USE flags
Installation of the to be generated doc pages is not tested as I am blocked by bug #721306. Probably some dir needs to be recursively installed. Package-Manager: Portage-2.3.95, Repoman-2.3.22 Signed-off-by: Martin Mokrejs <mmokrejs@gmail.com>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/pybedtools/pybedtools-0.8.0.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
index cd444a09e..9d4dc23c0 100644
--- a/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
+++ b/sci-biology/pybedtools/pybedtools-0.8.0.ebuild
@@ -14,15 +14,18 @@ SRC_URI="https://github.com/daler/pybedtools/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="doc minimal"
RDEPEND="
sci-biology/bedtools
- sci-biology/pysam"
+ sci-biology/pysam
+ !minimal? ( sci-libs/htslib )
+ doc? ( dev-python/sphinx )"
DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]"
src_compile(){
python setup.py cythonize
default
+ use doc && cd docs && emake html
}