summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2015-11-10 11:52:26 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2015-11-10 11:52:26 +0100
commitdb3b341337c7dbf63880bd5bd3f3e850c5a4c7b4 (patch)
tree70a4fd2f1ca9cd5d494329d4bd567940c4a09604 /dev-libs/libxml2
parentapp-emulation/xen: revbumps; add xsa-156 patches in 4.5 4.5.2-r1, 4.6.0-r2 (diff)
downloadgentoo-db3b341337c7dbf63880bd5bd3f3e850c5a4c7b4.tar.gz
gentoo-db3b341337c7dbf63880bd5bd3f3e850c5a4c7b4.tar.bz2
gentoo-db3b341337c7dbf63880bd5bd3f3e850c5a4c7b4.zip
dev-libs/libxml2: fix python module installation, bug #565310
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r--dev-libs/libxml2/libxml2-2.9.2-r4.ebuild (renamed from dev-libs/libxml2/libxml2-2.9.2-r3.ebuild)9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-libs/libxml2/libxml2-2.9.2-r3.ebuild b/dev-libs/libxml2/libxml2-2.9.2-r4.ebuild
index e8cdc44d51ce..46bc61f7f2d4 100644
--- a/dev-libs/libxml2/libxml2-2.9.2-r3.ebuild
+++ b/dev-libs/libxml2/libxml2-2.9.2-r4.ebuild
@@ -173,7 +173,9 @@ multilib_src_install() {
if multilib_is_native_abi && use python; then
python_foreach_impl libxml2_py_emake \
DESTDIR="${D}" \
- exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples
+ docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
+ exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
+ install
python_foreach_impl python_optimize
fi
}
@@ -191,11 +193,6 @@ multilib_src_install_all() {
rm -rf "${ED}"/usr/share/doc/${P}
einstalldocs
- if use python ; then
- docinto python
- dodoc "${S}"/python/TODO
- fi
-
if ! use examples; then
rm -rf "${ED}"/usr/share/doc/${PF}/examples
rm -rf "${ED}"/usr/share/doc/${PF}/python/examples