From: Patrice Clement Date: Sat, 15 Jul 2017 21:43:20 +0000 (+0200) Subject: dev-python/h5py: install examples via DOCS array. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0649a28f38e66383da022e12e9e0662e567ef4f;p=gentoo.git 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 --- 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 }