diff -ur metro.orig/metro-1.4.1.ebuild metro/metro-1.4.1.ebuild --- metro.orig/metro-1.4.1.ebuild 2010-06-13 23:01:31.000000000 +0800 +++ metro/metro-1.4.1.ebuild 2011-11-16 04:08:04.197999946 +0800 @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.4.1.ebuild,v 1.3 2010/06/13 15:01:31 armin76 Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="*::3.2" +inherit python DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases" HOMEPAGE="http://www.github.com/funtoo/metro" @@ -14,12 +16,12 @@ IUSE="+ccache +git threads" DEPEND="" -RDEPEND="dev-lang/python - threads? ( app-arch/pbzip2 ) +RDEPEND="threads? ( app-arch/pbzip2 ) ccache? ( dev-util/ccache ) git? ( dev-vcs/git )" src_install() { + python_convert_shebangs -r 2 "${ED}" insinto /usr/lib/metro doins -r . fperms 0755 /usr/lib/metro/metro diff -ur metro.orig/metro-1.5.1.ebuild metro/metro-1.5.1.ebuild --- metro.orig/metro-1.5.1.ebuild 2011-11-16 04:02:34.893000026 +0800 +++ metro/metro-1.5.1.ebuild 2011-11-16 04:06:53.973999908 +0800 @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.5.1.ebuild,v 1.2 2010/06/13 15:01:31 armin76 Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="*::3.2" +inherit python DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases" HOMEPAGE="http://www.github.com/funtoo/metro" @@ -14,12 +16,12 @@ IUSE="+ccache +git threads" DEPEND="" -RDEPEND="dev-lang/python - threads? ( app-arch/pbzip2 ) +RDEPEND="threads? ( app-arch/pbzip2 ) ccache? ( dev-util/ccache ) git? ( dev-vcs/git )" src_install() { + python_convert_shebangs -r 2 "${ED}" insinto /usr/lib/metro doins -r . fperms 0755 /usr/lib/metro/metro diff -ur metro.orig/metro-1.4.1.ebuild metro/metro-1.4.1.ebuild --- metro.orig/metro-1.4.1.ebuild 2010-06-13 23:01:31.000000000 +0800 +++ metro/metro-1.4.1.ebuild 2011-11-17 10:11:57.031979784 +0800 @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.4.1.ebuild,v 1.3 2010/06/13 15:01:31 armin76 Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="*::3.2" +inherit python DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases" HOMEPAGE="http://www.github.com/funtoo/metro" @@ -14,8 +16,7 @@ IUSE="+ccache +git threads" DEPEND="" -RDEPEND="dev-lang/python - threads? ( app-arch/pbzip2 ) +RDEPEND="threads? ( app-arch/pbzip2 ) ccache? ( dev-util/ccache ) git? ( dev-vcs/git )" @@ -24,4 +25,5 @@ doins -r . fperms 0755 /usr/lib/metro/metro dosym /usr/lib/metro/metro /usr/bin/metro + python_convert_shebangs -r 2 "${ED}" } diff -ur metro.orig/metro-1.5.1.ebuild metro/metro-1.5.1.ebuild --- metro.orig/metro-1.5.1.ebuild 2011-11-16 04:02:34.893000026 +0800 +++ metro/metro-1.5.1.ebuild 2011-11-17 10:11:16.335979780 +0800 @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.5.1.ebuild,v 1.2 2010/06/13 15:01:31 armin76 Exp $ -EAPI="2" +EAPI="3" +PYTHON_DEPEND="*::3.2" +inherit python DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases" HOMEPAGE="http://www.github.com/funtoo/metro" @@ -14,8 +16,7 @@ IUSE="+ccache +git threads" DEPEND="" -RDEPEND="dev-lang/python - threads? ( app-arch/pbzip2 ) +RDEPEND="threads? ( app-arch/pbzip2 ) ccache? ( dev-util/ccache ) git? ( dev-vcs/git )" @@ -24,4 +25,5 @@ doins -r . fperms 0755 /usr/lib/metro/metro dosym /usr/lib/metro/metro /usr/bin/metro + python_convert_shebangs -r 2 "${ED}" }