--- trommler-3.8.ebuild 2012-05-05 11:01:19.000000000 +0200 +++ trommler-3.8.ebuild 2012-11-10 19:24:42.000000000 +0100 @@ -1,9 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild,v 1.8 2012/05/05 08:54:36 mgorny Exp $ +# $Header: $ EAPI=2 -inherit eutils toolchain-funcs +PYTHON_DEPEND="2" +inherit eutils toolchain-funcs python DESCRIPTION="GTK+ based drum machine." HOMEPAGE="http://muth.org/Robert/Trommler" @@ -22,6 +23,11 @@ S=${WORKDIR}/${PN/t/T} +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { sed -i \ -e 's:$(CC):$(CC) $(LDFLAGS):' \