Merge new version of subdl
authorDa Risk <da_risk@geekorum.com>
Mon, 17 Aug 2015 10:35:13 +0200
changeset 160 2b4110e8373a
parent 156 f6c963dc1984 (diff)
parent 158 d6fceb869d09 (current diff)
child 161 df5c00aba7c2
Merge new version of subdl
--- a/media-video/lm/lm-9999.ebuild	Sun Jul 26 19:48:36 2015 +0200
+++ b/media-video/lm/lm-9999.ebuild	Mon Aug 17 10:35:13 2015 +0200
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -6,7 +6,7 @@
 
 PYTHON_COMPAT=( python2_7 )
 
-inherit git-2 python-r1 versionator
+inherit git-r3 python-single-r1 versionator
 
 EGIT_REPO_URI="https://github.com/RedRise/lm.git"
 
@@ -21,11 +21,14 @@
 KEYWORDS="~amd64"
 IUSE=""
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND=""
 RDEPEND="${PYTHON_DEPS}
 		dev-python/imdbpy[${PYTHON_USEDEP}]"
 
-S="${WORKDIR}/RedRise-lm-41c4004"
+src_prepare() {
+	python_fix_shebang lm.py
+}
 
 src_install() {
 	newbin lm.py lm