summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/metro')
-rw-r--r--dev-util/metro/ChangeLog8
-rw-r--r--dev-util/metro/metro-1.4.1.ebuild12
-rw-r--r--dev-util/metro/metro-1.5.1.ebuild12
3 files changed, 20 insertions, 12 deletions
diff --git a/dev-util/metro/ChangeLog b/dev-util/metro/ChangeLog
index 7b6800df7f90..3f62a53265d6 100644
--- a/dev-util/metro/ChangeLog
+++ b/dev-util/metro/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/metro
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/metro/ChangeLog,v 1.5 2010/06/13 15:01:31 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/metro/ChangeLog,v 1.6 2011/11/20 07:06:00 hollow Exp $
+
+ 20 Nov 2011; Benedikt Böhm <hollow@gentoo.org> metro-1.4.1.ebuild,
+ metro-1.5.1.ebuild:
+ use python eclass wrt #326103
13 Jun 2010; Raúl Porcel <armin76@gentoo.org> metro-1.4.1.ebuild,
metro-1.5.1.ebuild:
diff --git a/dev-util/metro/metro-1.4.1.ebuild b/dev-util/metro/metro-1.4.1.ebuild
index 87dc374cb81f..6715cd68100b 100644
--- a/dev-util/metro/metro-1.4.1.ebuild
+++ b/dev-util/metro/metro-1.4.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.4.1.ebuild,v 1.4 2011/11/20 07:06:00 hollow Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
+inherit python
DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases"
HOMEPAGE="http://www.github.com/funtoo/metro"
@@ -14,8 +16,7 @@ KEYWORDS="~amd64 ~arm ~x86"
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 @@ src_install() {
doins -r .
fperms 0755 /usr/lib/metro/metro
dosym /usr/lib/metro/metro /usr/bin/metro
+ python_convert_shebangs -r 2 "${ED}"
}
diff --git a/dev-util/metro/metro-1.5.1.ebuild b/dev-util/metro/metro-1.5.1.ebuild
index 13fa387c0e3e..2531b23e4c35 100644
--- a/dev-util/metro/metro-1.5.1.ebuild
+++ b/dev-util/metro/metro-1.5.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.5.1.ebuild,v 1.3 2011/11/20 07:06:00 hollow Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
+inherit python
DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases"
HOMEPAGE="http://www.github.com/funtoo/metro"
@@ -14,8 +16,7 @@ KEYWORDS="~amd64 ~arm ~x86"
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 @@ src_install() {
doins -r .
fperms 0755 /usr/lib/metro/metro
dosym /usr/lib/metro/metro /usr/bin/metro
+ python_convert_shebangs -r 2 "${ED}"
}