Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302525 - python.eclass: Use prefix variables
Summary: python.eclass: Use prefix variables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 20:56 UTC by Fabian Groffen
Modified: 2010-05-10 04:38 UTC (History)
1 user (show)

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


Attachments
prefix patch (python.eclass-prefix.patch,9.58 KB, patch)
2010-01-27 20:57 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2010-01-27 20:56:57 UTC
As requested, here is the sec diff from prefix to gx86.  Diff as such cannot be applied to gx86 without appropriate guarding for EAPI < 3.
Comment 1 Fabian Groffen gentoo-dev 2010-01-27 20:57:22 UTC
Created attachment 217657 [details, diff]
prefix patch
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-02 18:57:33 UTC
I have committed majority of this patch.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-10 04:36:13 UTC
"${EPREFIX}" should not be used in the 2 lines previously containing:
if ! _python_implementation && [[ "$1" =~ ^/usr/lib(32|64)?/python[[:digit:]]+\.[[:digit:]]+ ]]; then

Paths passed to python_mod_optimize() and python_mod_cleanup() in EAPI >=3 should be relative to "${EROOT}" and prepended with "/". The incorrect changes will be reverted soon.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-10 04:38:58 UTC
(In reply to comment #3)
> Paths

s/Paths/Paths of modules outside of site-packages directories/