--- a2jmidid-6.orig 2012-05-05 10:31:19.000000000 +0200 +++ a2jmidid-6.ebuild 2012-07-28 22:20:31.000000000 +0200 @@ -2,7 +2,10 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-6.ebuild,v 1.2 2012/05/05 08:02:52 mgorny Exp $ -inherit toolchain-funcs +EAPI=2 + +PYTHON_DEPEND="2:2.7" +inherit python toolchain-funcs DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system." HOMEPAGE="http://home.gna.org/a2jmidid/" @@ -17,8 +20,12 @@ media-sound/jack-audio-connection-kit sys-apps/dbus" DEPEND="${RDEPEND} - virtual/pkgconfig - dev-lang/python" + virtual/pkgconfig" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} src_compile() { tc-export CC AR CPP LD RANLIB