Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232282

Summary: app-portage/layman-1.1.1 does not handle python modules
Product: Gentoo Linux Reporter: Daniel Pielmeier <billie>
Component: New packagesAssignee: Gunnar Wrobel (RETIRED) <wrobel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: layman-1.1.1.diff
layman-1.1.1.diff

Description Daniel Pielmeier gentoo-dev 2008-07-19 02:13:53 UTC
The ebuild does not auto-create and remove python modules.

If this is the case the modules are created by the first time when layman runs as root. When layman is uninstalled the python modules remain on the system as they are not under the control of the package manager.

According to [1] this should happen automatically if you use distutils and the package installs the .py files under site-packages, but it does not do this here.

[1] http://www.gentoo.org/proj/en/Python/developersguide.xml
Comment 1 Daniel Pielmeier gentoo-dev 2008-07-19 02:14:55 UTC
Created attachment 160786 [details, diff]
layman-1.1.1.diff

Altered ebuild to correctly handle python modules.
Comment 2 Daniel Pielmeier gentoo-dev 2008-07-19 13:44:38 UTC
Created attachment 160837 [details, diff]
layman-1.1.1.diff

Using variable instead of package name
Comment 3 Daniel Pielmeier gentoo-dev 2008-08-13 18:39:03 UTC
No comments on this?
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2008-08-30 18:43:09 UTC
Fix InCVS now