This is just a reminder, current stage3 tarballs ship python3 as default interpreter and I saw this package failing on a system rebuild. Build logs follow.
the call to AM_PATH_PYTHON([2.7]) in configure.ac reports the newest python version, ignoring slots etc. But configure accepts an hint to the python interpreter, so this works over here: --- ario-1.5.1.ebuild 2012-05-05 10:31:19.000000000 +0200 +++ ario-1.5.1-r1.ebuild 2012-05-15 09:23:49.299446148 +0200 @@ -5,7 +5,7 @@ EAPI=4 GNOME2_LA_PUNT=yes -inherit gnome2 +inherit gnome2 python DESCRIPTION="a GTK2 MPD (Music Player Daemon) client inspired by Rythmbox" HOMEPAGE="http://ario-player.sourceforge.net" @@ -57,5 +57,6 @@ $(use_enable nls) \ $(use_enable python) \ $(use_enable taglib) \ - $(use_enable zeroconf avahi) + $(use_enable zeroconf avahi) \ + PYTHON=$(PYTHON -2 -a) }
shouldn't this be fixed by using python_set_active_version?
(In reply to comment #2) > shouldn't this be fixed by using python_set_active_version? Holy crap. Didn't expect that to work, too. Index: ario-1.5.1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-sound/ario/ario-1.5.1.ebuild,v retrieving revision 1.5 diff -u -B -r1.5 ario-1.5.1.ebuild --- ario-1.5.1.ebuild 21 May 2012 09:51:17 -0000 1.5 +++ ario-1.5.1.ebuild 27 May 2012 14:49:07 -0000 @@ -5,7 +5,7 @@ EAPI=4 GNOME2_LA_PUNT=yes -inherit gnome2 +inherit gnome2 python DESCRIPTION="a GTK2 MPD (Music Player Daemon) client inspired by Rythmbox" HOMEPAGE="http://ario-player.sourceforge.net" @@ -37,6 +37,10 @@ DOCS=( AUTHORS ) +pkg_setup() { + python_set_active_version 2 +} + src_prepare() { epatch "${FILESDIR}"/${P}-single-includes.patch }
fixed then