summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2017-01-07 20:48:46 +0100
committerMartin Väth <martin@mvath.de>2017-01-07 20:48:46 +0100
commitc5e4a73d0979d7a5ea375555d4e615ec2406e742 (patch)
tree7a37a6b9bdf75b16dfaf8cd41b46e9459b5865a7 /dev-util/pyrep
parentavidemux: Version bump (diff)
downloadmv-c5e4a73d0979d7a5ea375555d4e615ec2406e742.tar.gz
mv-c5e4a73d0979d7a5ea375555d4e615ec2406e742.tar.bz2
mv-c5e4a73d0979d7a5ea375555d4e615ec2406e742.zip
dev-util/pyrep: Use python-any-r1.eclass
Diffstat (limited to 'dev-util/pyrep')
-rw-r--r--dev-util/pyrep/pyrep-1.4-r1.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-util/pyrep/pyrep-1.4-r1.ebuild b/dev-util/pyrep/pyrep-1.4-r1.ebuild
index 2e5207a3..ffbbac3d 100644
--- a/dev-util/pyrep/pyrep-1.4-r1.ebuild
+++ b/dev-util/pyrep/pyrep-1.4-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=6
RESTRICT="mirror"
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5}} )
-inherit python-single-r1
+inherit python-any-r1
DESCRIPTION="Search and/or replace regular expressions within many files interactively"
HOMEPAGE="https://github.com/vaeth/pyrep/"
@@ -15,11 +15,9 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-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