Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533324 - dev-libs/libxml2-2.9.2 USE="-examples" installs Python examples
Summary: dev-libs/libxml2-2.9.2 USE="-examples" installs Python examples
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-12-22 19:34 UTC by Chris Mayo
Modified: 2015-11-09 20:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2014-12-22 19:34:50 UTC
$ ls libxml2-python-2.9.2/
examples  TODO.bz2

ebuild expects Python examples in standard /usr/share/doc/${PF}/
workaround:

--- libxml2-2.9.2.ebuild.orig
+++ libxml2-2.9.2.ebuild
@@ -175,7 +175,7 @@
 
 	if ! use examples; then
 		rm -rf "${ED}/usr/share/doc/${PF}/examples"
-		rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
+		rm -rf "${ED}/usr/share/doc/${PN}-python-${PV}"
 	fi
 
 	prune_libtool_files --modules
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-23 07:59:18 UTC
Hum, I wonder why this is in a separate directory now.
This fix is fine but there is also the problem that documentation is now spread in two folders which is a QA issue.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-11-09 20:36:48 UTC
This should be fixed in 2.9.2-r2. Please reopen if it is not the case. Also fixed the multiple doc folders problem while at it.