Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307669 - distutils.eclass: Use prefix variables
Summary: distutils.eclass: Use prefix variables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 19:57 UTC by Fabian Groffen
Modified: 2010-03-04 17:49 UTC (History)
1 user (show)

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


Attachments
distutils.eclass prefix patch (distutils-eclass.patch,2.31 KB, patch)
2010-03-03 19: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-03-03 19:57:05 UTC
I will attach a patch with the differences between gx86 and Prefix for distutils.eclass.  I did not make any modifications to handle EAPI=3 correctly.  If you prefer to see those, please let me know.  (I rely on a previous request for python.eclass here.)
Comment 1 Fabian Groffen gentoo-dev 2010-03-03 19:57:34 UTC
Created attachment 221957 [details, diff]
distutils.eclass prefix patch
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-03-04 17:49:27 UTC
EAPI="3" is already handled correctly.

I think that you missed s/ROOT/EROOT/ in the following line:
    python_mod_cleanup "${pylibdir#${ROOT%/}}/site-packages/${pymod}"
I have changed it to use EROOT.

Fixed.