From: Gilles Dartiguelongue Date: Tue, 10 Nov 2015 10:52:26 +0000 (+0100) Subject: dev-libs/libxml2: fix python module installation, bugĀ #565310 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=db3b341337c7dbf63880bd5bd3f3e850c5a4c7b4;p=gentoo.git dev-libs/libxml2: fix python module installation, bugĀ #565310 Package-Manager: portage-2.2.24 --- diff --git a/dev-libs/libxml2/libxml2-2.9.2-r3.ebuild b/dev-libs/libxml2/libxml2-2.9.2-r4.ebuild similarity index 98% rename from dev-libs/libxml2/libxml2-2.9.2-r3.ebuild rename to 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