commit: db3b341337c7dbf63880bd5bd3f3e850c5a4c7b4
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 10:52:26 2015 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 10:52:26 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3b3413
dev-libs/libxml2: fix python module installation, bugĀ #565310
Package-Manager: portage-2.2.24
.../libxml2/{libxml2-2.9.2-r3.ebuild => libxml2-2.9.2-r4.ebuild} | 9 +++------
1 file 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
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 e8cdc44..46bc61f 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