summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2015-02-15 09:21:46 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:21 +0200
commit5ac74c93839e0f8a12c287fc41f7a2940e7eef50 (patch)
treef80cade2352ec4b3cca3771552f566a8d861caab /dev-util/pyrep/pyrep-1.4-r1.ebuild
parentavoid use_if_iuse. Bump epubreader, classic-theme-restorer, noscript (diff)
downloadmv-5ac74c93839e0f8a12c287fc41f7a2940e7eef50.tar.gz
mv-5ac74c93839e0f8a12c287fc41f7a2940e7eef50.tar.bz2
mv-5ac74c93839e0f8a12c287fc41f7a2940e7eef50.zip
Fix python-single-r1 usage. Introduce etc-crontab-systemd and block dcron
Diffstat (limited to 'dev-util/pyrep/pyrep-1.4-r1.ebuild')
-rw-r--r--dev-util/pyrep/pyrep-1.4-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-util/pyrep/pyrep-1.4-r1.ebuild b/dev-util/pyrep/pyrep-1.4-r1.ebuild
index 71807f45..343a60ad 100644
--- a/dev-util/pyrep/pyrep-1.4-r1.ebuild
+++ b/dev-util/pyrep/pyrep-1.4-r1.ebuild
@@ -4,8 +4,8 @@
EAPI=5
RESTRICT="mirror"
-PYTHON_COMPAT=( jython2_{5,7} pypy{,3} python{2_7,3_{3,4}} )
-inherit eutils python-r1
+PYTHON_COMPAT=( jython2_7 pypy{,3} python{2_7,3_{3,4}} )
+inherit eutils python-single-r1
DESCRIPTION="Search and/or replace regular expressions within many files interactively"
HOMEPAGE="https://github.com/vaeth/pyrep/"
@@ -20,6 +20,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"
src_prepare() {
+ python_fix_shebang "${S}"
use prefix || sed -i \
-e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \
-- "${PN}" || die