summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2011-11-20 07:06:00 +0000
committerBenedikt Boehm <hollow@gentoo.org>2011-11-20 07:06:00 +0000
commite14854ffb2f4f0de143496f3c0baf429134f65f9 (patch)
treedc6a6778429af03ceba0bcdc5b08ecc6cd3cb8af /dev-util/metro/metro-1.4.1.ebuild
parentUpdated my email address. (diff)
downloadgentoo-2-e14854ffb2f4f0de143496f3c0baf429134f65f9.tar.gz
gentoo-2-e14854ffb2f4f0de143496f3c0baf429134f65f9.tar.bz2
gentoo-2-e14854ffb2f4f0de143496f3c0baf429134f65f9.zip
use python eclass wrt #326103
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/metro/metro-1.4.1.ebuild')
-rw-r--r--dev-util/metro/metro-1.4.1.ebuild12
1 files changed, 7 insertions, 5 deletions
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}"
}