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

Bug 302525

Summary: python.eclass: Use prefix variables
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: EclassesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: prefix patch

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/