summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-07-15 23:43:20 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-07-15 23:43:20 +0200
commita0649a28f38e66383da022e12e9e0662e567ef4f (patch)
treeaf87cb80b3962edbf8a4fb0dad91648edeff5e9e /dev-python/h5py/h5py-2.7.0.ebuild
parentdev-python/matplotlib: fix wrap_setup function. (diff)
downloadgentoo-a0649a28f38e66383da022e12e9e0662e567ef4f.tar.gz
gentoo-a0649a28f38e66383da022e12e9e0662e567ef4f.tar.bz2
gentoo-a0649a28f38e66383da022e12e9e0662e567ef4f.zip
dev-python/h5py: install examples via DOCS array.
Gentoo-Bug: https://bugs.gentoo.org/622788 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-python/h5py/h5py-2.7.0.ebuild')
-rw-r--r--dev-python/h5py/h5py-2.7.0.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/h5py/h5py-2.7.0.ebuild b/dev-python/h5py/h5py-2.7.0.ebuild
index d2c8e6af9486..4e74bc6c5354 100644
--- a/dev-python/h5py/h5py-2.7.0.ebuild
+++ b/dev-python/h5py/h5py-2.7.0.ebuild
@@ -20,7 +20,9 @@ RDEPEND="
sci-libs/hdf5:=[mpi=,hl(+)]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+
+DEPEND="
+ ${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pkgconfig[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -58,10 +60,7 @@ python_test() {
python_install_all() {
DOCS=( README.rst ANN.rst )
use doc && HTML_DOCS=( docs/_build/html/. )
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
+ use examples && DOCS+=( examples )
distutils-r1_python_install_all
}