Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297339 - dev-python/pyifp: documentation installed outside /usr/share/doc/${PF}
Summary: dev-python/pyifp: documentation installed outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 21:38 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-23 18:59 UTC (History)
1 user (show)

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-17 21:38:45 UTC
You're getting this bug because the package in summary installs its documentation (or at least part of it) outside the usual /usr/share/doc/${PF} directory.

First, please keep in mind that this bug might not be noticeable for -r0 ebuilds, but it might be for -r1 and later, since if the ebuild has same name and version of the package, for -r0 it might correspond properly.

To fix this, if the package uses autotools, recent version (autoconf 2.61+) have two ./configure switches: --docdir and --htmldir to decide where to put the documentation. Older versions might require you override docdir/htmldir or other custom variables during make install.

For non-autotooled build systems, good luck, since I cannot tell you how to achieve the proper results, the same holds true with totally broken buildsystems even when based on autotools.

Thanks,
Diego
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-12-23 18:55:41 UTC
Seems to be fixed in 0.2.2,

ssuominen@unique ~ $ qlist pyifp
/usr/share/doc/pyifp-0.2.2/PKG-INFO.bz2
/usr/share/doc/pyifp-0.2.2/README.txt.bz2
/usr/bin/pyifp-test
/usr/bin/backup-ifp
/usr/lib64/python2.6/site-packages/_usb_core.so
/usr/lib64/python2.6/site-packages/pyifp-0.2.2-py2.6.egg-info
/usr/lib64/python2.6/site-packages/usb_core.py
/usr/lib64/python2.6/site-packages/_ifp_core.so
/usr/lib64/python2.6/site-packages/ifp.py
/usr/lib64/python2.6/site-packages/ifp_core.py
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-23 18:59:28 UTC
Likely because it's an -r0 :P

First, please keep in mind that this bug might not be noticeable for -r0
ebuilds, but it might be for -r1 and later, since if the ebuild has same name
and version of the package, for -r0 it might correspond properly.