Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190579 Details for
Bug 268887
dev-lang/python cross compilation aware
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
python 2.6.2 ebuild patch
python-2.6.2.ebuild.patch (text/plain), 1.42 KB, created by
Maksim 'max_posedon' Melnikau
on 2009-05-07 00:12:59 UTC
(
hide
)
Description:
python 2.6.2 ebuild patch
Filename:
MIME Type:
Creator:
Maksim 'max_posedon' Melnikau
Created:
2009-05-07 00:12:59 UTC
Size:
1.42 KB
patch
obsolete
>--- python-2.6.2.ebuild.old 2009-05-07 03:06:00.000000000 +0300 >+++ python-2.6.2.ebuild 2009-05-03 16:17:18.000000000 +0300 >@@ -66,6 +66,20 @@ > > EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}" > >+ if tc-is-cross-compiler ; then >+ # Change setup.py to respect the SYSROOT environment variable >+ epatch "${FILESDIR}"/python-2.6-cross-setup-sysroot.patch >+ fi >+ >+ # This fixes the compilation and makes ctypes avaible. >+ epatch "${FILESDIR}"/python-2.6-enable-ctypes-cross-build.patch >+ # Add a libdirname to enable python cross-compiling and add a user specifyable libdir >+ epatch "${FILESDIR}"/python-2.5.2-cross-Makefile.pre.in.patch >+ # Make distutils cross-compile aware >+ epatch "${FILESDIR}"/python-2.5.2-cross-distutils-build_ext.patch >+ epatch "${FILESDIR}"/python-2.6-cross-distutils-sysconfig.patch >+ epatch "${FILESDIR}"/python-2.5.2-cross-distutils-install.patch >+ > sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ > Lib/distutils/command/install.py \ > Lib/distutils/sysconfig.py \ >@@ -146,6 +160,10 @@ > mv python hostpython > mv Parser/pgen Parser/hostpgen > make distclean >+ # Ugly fix, hostpython require few modules to pass test_unicode.py test >+ cp -v /usr/lib/python2.6/lib-dynload/unicodedata.so Modules/. >+ cp -v /usr/lib/python2.6/lib-dynload/time.so Modules/. >+ cp -v /usr/lib/python2.6/lib-dynload/math.so Modules/. > sed -i \ > -e '/^HOSTPYTHON/s:=.*:=./hostpython:' \ > -e '/^HOSTPGEN/s:=.*:=./Parser/hostpgen:' \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268887
:
190575
|
190577
| 190579 |
190580
|
190582
|
190583
|
190585
|
190587
|
190588
|
190590
|
190591
|
190592
|
190639
|
190742
|
192741
|
311657
|
311659