Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202484 - media-video/griffith-0.9.5 installs byte-compiled python in /usr/share
Summary: media-video/griffith-0.9.5 installs byte-compiled python in /usr/share
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-16 17:03 UTC by Samuli Suominen (RETIRED)
Modified: 2008-06-07 16:51 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 Samuli Suominen (RETIRED) gentoo-dev 2007-12-16 17:03:17 UTC
.py{c,o} files are not shareable files, they should be installed 
into library directory (/usr/lib64, preferably to site-packages, /usr/lib64/python2.5/site-packages)

in fact I think portage trunk has a QA check for this already.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2008-06-05 20:58:41 UTC
Reassigning.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-06-07 13:04:07 UTC
Doesn't seem to happen anymore...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-06-07 15:44:02 UTC
Sorry, but 0.9.6 which was just added:

pkg_postinst() {
	python_mod_optimize /usr/share/${PN}/lib
}

pkg_postrm() {
	python_mod_cleanup /usr/share/${PN}/lib
}
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2008-06-07 16:51:24 UTC
hmm, I somehow understood something else. But well, finally fixed. Sorry...