Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 303059 Details for
Bug 401549
dev-python/{shiboken,pyside}-1.1.0: add support for python3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
shiboken.patch (text/plain), 1.76 KB, created by
Ian Delaney (RETIRED)
on 2012-02-24 14:27:27 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-02-24 14:27:27 UTC
Size:
1.76 KB
patch
obsolete
>Only in shiboken/files: shiboken1-python3.patch >Only in shiboken.orig/files: shiboken1-python.patch >Only in shiboken.orig/: shiboken-1.0.10.ebuild >diff -ur shiboken.orig/shiboken-1.1.0.ebuild shiboken/shiboken-1.1.0.ebuild >--- shiboken.orig/shiboken-1.1.0.ebuild 2012-02-24 21:49:11.164301830 +0800 >+++ shiboken/shiboken-1.1.0.ebuild 2012-02-24 22:18:39.946302336 +0800 >@@ -4,7 +4,7 @@ > > EAPI=3 > >-PYTHON_DEPEND="2:2.5" >+PYTHON_DEPEND="2:2.5 3:3.2" > > inherit python versionator cmake-utils > >@@ -26,14 +26,22 @@ > RDEPEND="${DEPEND} > !dev-python/boostpythongenerator" > >-PATCHES=( "${FILESDIR}/${PN}-1.0.9-fix-pkgconfig.patch" ) >- > DOCS=( ChangeLog ) > > S=${WORKDIR}/${MY_P} > > pkg_setup() { >- python_set_active_version 2 >+ if [[ $(eselect python show) == "python3.1" ]]; then >+ python_set_active_version 2 >+ fi >+} >+ >+src_prepare() { >+ sed -e s':"Use python3 libraries to build shiboken." FALSE:"Use python3 libraries to build shiboken." TRUE:' \ >+ -i CMakeLists.txt || die >+ epatch "${FILESDIR}/${PN}-1.0.9-fix-pkgconfig.patch" \ >+ "${FILESDIR}"/shiboken1-python3.patch \ >+ "${FILESDIR}"/shiboken4-python3.patch > } > > src_configure() { >@@ -42,3 +50,14 @@ > ) > cmake-utils_src_configure > } >+ >+src_install() { >+ cmake-utils_src_install >+ mv ${ED}usr/lib64/libshiboken.cpython-32.so.1.1.0 ${ED}/usr/lib64/libshiboken.cpython3.2.so.1.1.0 || die >+ mv ${ED}usr/lib64/cmake/Shiboken-1.1.0/ShibokenConfig.cpython-32.cmake ${ED}usr/lib64/cmake/Shiboken-1.1.0/ShibokenConfig.cpython3.2.cmake || die >+ rm ${ED}usr/lib64/libshiboken.cpython-32.so.1.1 || die >+ rm ${ED}usr/lib64/libshiboken.cpython-32.so || die >+ dosym usr/lib64/libshiboken.cpython3.2.so.1.1 usr/lib64/libshiboken.cpython3.2.so.1.1.0 || die >+ dosym usr/lib64/libshiboken.cpython3.2.so usr/lib64/libshiboken.cpython3.2.so.1.1.0 || die >+} >+
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 401549
:
303059
|
303061
|
303065
|
303199
|
303895
|
303899
|
304407
|
304431