Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 292289 Details for
Bug 313931
media-sound/a2jmidid: 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]
ebuild patch
a2jmidid.patch (text/plain), 3.50 KB, created by
Ian Delaney (RETIRED)
on 2011-11-12 15:11:43 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-12 15:11:43 UTC
Size:
3.50 KB
patch
obsolete
>diff -ur a2jmidid.orig/a2jmidid-4.ebuild a2jmidid/a2jmidid-4.ebuild >--- a2jmidid.orig/a2jmidid-4.ebuild 2009-01-26 02:07:52.000000000 +0900 >+++ a2jmidid/a2jmidid-4.ebuild 2011-11-12 23:03:30.720793741 +0800 >@@ -2,6 +2,12 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-4.ebuild,v 1.2 2009/01/25 17:07:52 maekke Exp $ > >+EAPI="3" >+ >+PYTHON_DEPEND="2:2.6" >+ >+inherit toolchain-funcs python >+ > DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." > HOMEPAGE="http://home.gna.org/a2jmidid/" > SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2" >@@ -15,8 +21,12 @@ > media-sound/jack-audio-connection-kit > sys-apps/dbus" > DEPEND="${RDEPEND} >- dev-util/pkgconfig >- dev-lang/python" >+ dev-util/pkgconfig" >+ >+pkg_setup() { >+ python_set_active_version 2 >+ python_pkg_setup >+} > > src_compile() { > ./waf configure --prefix=/usr || die "failed to configure" >@@ -24,6 +34,7 @@ > } > > src_install() { >- ./waf --destdir="${D}" install || die "install failed" >+ ./waf --destdir="${ED}" install || die "install failed" > dodoc AUTHORS README NEWS internals.txt >+ python_convert_shebangs -r 2 "${ED}" > } >diff -ur a2jmidid.orig/a2jmidid-5.ebuild a2jmidid/a2jmidid-5.ebuild >--- a2jmidid.orig/a2jmidid-5.ebuild 2009-06-17 15:09:14.000000000 +0800 >+++ a2jmidid/a2jmidid-5.ebuild 2011-11-12 23:00:03.728793762 +0800 >@@ -2,6 +2,12 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-5.ebuild,v 1.1 2009/06/17 07:09:14 aballier Exp $ > >+EAPI="3" >+ >+PYTHON_DEPEND="2:2.6" >+ >+inherit toolchain-funcs python >+ > DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." > HOMEPAGE="http://home.gna.org/a2jmidid/" > SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2" >@@ -15,8 +21,12 @@ > media-sound/jack-audio-connection-kit > sys-apps/dbus" > DEPEND="${RDEPEND} >- dev-util/pkgconfig >- dev-lang/python" >+ dev-util/pkgconfig" >+ >+pkg_setup() { >+ python_set_active_version 2 >+ python_pkg_setup >+} > > src_compile() { > ./waf configure --prefix=/usr || die "failed to configure" >@@ -24,6 +34,7 @@ > } > > src_install() { >- ./waf --destdir="${D}" install || die "install failed" >+ ./waf --destdir="${ED}" install || die "install failed" > dodoc AUTHORS README NEWS internals.txt >+ python_convert_shebangs -r 2 "${ED}" > } >diff -ur a2jmidid.orig/a2jmidid-6.ebuild a2jmidid/a2jmidid-6.ebuild >--- a2jmidid.orig/a2jmidid-6.ebuild 2010-01-10 02:49:56.000000000 +0800 >+++ a2jmidid/a2jmidid-6.ebuild 2011-11-12 22:58:27.848793848 +0800 >@@ -2,7 +2,11 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-6.ebuild,v 1.1 2010/01/09 18:49:56 aballier Exp $ > >-inherit toolchain-funcs >+EAPI="3" >+ >+PYTHON_DEPEND="2:2.6" >+ >+inherit toolchain-funcs python > > DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." > HOMEPAGE="http://home.gna.org/a2jmidid/" >@@ -17,8 +21,12 @@ > media-sound/jack-audio-connection-kit > sys-apps/dbus" > DEPEND="${RDEPEND} >- dev-util/pkgconfig >- dev-lang/python" >+ dev-util/pkgconfig" >+ >+pkg_setup() { >+ python_set_active_version 2 >+ python_pkg_setup >+} > > src_compile() { > tc-export CC AR CPP LD RANLIB >@@ -27,6 +35,7 @@ > } > > src_install() { >- ./waf --destdir="${D}" install || die "install failed" >+ ./waf --destdir="${ED}" install || die "install failed" > dodoc AUTHORS README NEWS internals.txt >+ python_convert_shebangs -r 2 "${ED}" > }
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 Raw
Actions:
View
Attachments on
bug 313931
:
292289
|
292493
|
292605
|
293085
|
319718