Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293015 Details for
Bug 324371
dev-util/bam: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised ebuild patch
bam.patch (text/plain), 2.03 KB, created by
Ian Delaney (RETIRED)
on 2011-11-18 19:19:38 UTC
(
hide
)
Description:
revised ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-18 19:19:38 UTC
Size:
2.03 KB
patch
obsolete
>diff -ur bam.orig/bam-0.2.0.ebuild bam/bam-0.2.0.ebuild >--- bam.orig/bam-0.2.0.ebuild 2010-04-04 21:48:20.000000000 +0800 >+++ bam/bam-0.2.0.ebuild 2011-11-19 03:09:35.217949289 +0800 >@@ -4,7 +4,7 @@ > > EAPI="2" > >-inherit eutils >+inherit eutils python toolchain-funcs > > DESCRIPTION="Fast and flexible Lua-based build system" > HOMEPAGE="http://matricks.github.com/bam/" >@@ -18,8 +18,15 @@ > > RDEPEND="dev-lang/lua" > DEPEND="${RDEPEND} >- doc? ( dev-lang/python ) >- test? ( dev-lang/python )" >+ doc? ( =dev-lang/python-2* ) >+ test? ( =dev-lang/python-2* )" >+ >+pkg_setup() { >+ if use doc || use test; then >+ python_set_active_version 2 >+ python_pkg_setup >+ fi >+} > > src_prepare() { > cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed" >@@ -30,9 +37,9 @@ > } > > src_compile() { >- emake txt2c || die "emake failed" >- emake internal_base || die "emake failed" >- emake ${PN} || die "emake failed" >+ emake CC=$(tc-getCC) txt2c || die "emake failed" >+ emake CC=$(tc-getCC) internal_base || die "emake failed" >+ emake CC=$(tc-getCC) ${PN} || die "emake failed" > > if use doc; then > python scripts/gendocs.py || die "doc generation failed" >diff -ur bam.orig/bam-0.3.2.ebuild bam/bam-0.3.2.ebuild >--- bam.orig/bam-0.3.2.ebuild 2011-11-19 02:50:05.554949641 +0800 >+++ bam/bam-0.3.2.ebuild 2011-11-19 03:11:33.929949253 +0800 >@@ -4,7 +4,7 @@ > > EAPI="2" > >-inherit eutils >+inherit eutils python toolchain-funcs > > DESCRIPTION="Fast and flexible Lua-based build system" > HOMEPAGE="http://matricks.github.com/bam/" >@@ -26,6 +26,7 @@ > python_set_active_version 2 > python_pkg_setup > fi >+} > > src_prepare() { > cp "${WORKDIR}"/Makefile "${S}"/Makefile || die "cp failed" >@@ -41,9 +42,9 @@ > } > > src_compile() { >- emake txt2c || die "emake failed" >- emake internal_base || die "emake failed" >- emake ${PN} || die "emake failed" >+ emake CC=$(tc-getCC) txt2c || die "emake failed" >+ emake CC=$(tc-getCC) internal_base || die "emake failed" >+ emake CC=$(tc-getCC) ${PN} || die "emake failed" > > if use doc; then > python scripts/gendocs.py || die "doc generation failed"
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 324371
:
292385
|
293015
|
293849