Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232282 - app-portage/layman-1.1.1 does not handle python modules
Summary: app-portage/layman-1.1.1 does not handle python modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-19 02:13 UTC by Daniel Pielmeier
Modified: 2008-08-30 18:43 UTC (History)
0 users

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


Attachments
layman-1.1.1.diff (layman-1.1.1.diff,880 bytes, patch)
2008-07-19 02:14 UTC, Daniel Pielmeier
Details | Diff
layman-1.1.1.diff (layman-1.1.1.diff,878 bytes, patch)
2008-07-19 13:44 UTC, Daniel Pielmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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