From c5e4a73d0979d7a5ea375555d4e615ec2406e742 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 7 Jan 2017 20:48:46 +0100 Subject: dev-util/pyrep: Use python-any-r1.eclass --- dev-util/pyrep/pyrep-1.4-r1.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dev-util') 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 -- cgit v1.2.3-18-g5258