summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-05-27 17:46:04 +0200
committerDavid Seifert <soap@gentoo.org>2017-05-27 17:46:34 +0200
commit33146ccf4200ebe60e992f3a9f9ebc9bf4126831 (patch)
treeb7e1990a86c5cd0697c3999d5d684b2955cc00a4 /app-portage
parentnet-misc/networkmanager: fixup deps and tidy ebuild (diff)
downloadgentoo-33146ccf4200ebe60e992f3a9f9ebc9bf4126831.tar.gz
gentoo-33146ccf4200ebe60e992f3a9f9ebc9bf4126831.tar.bz2
gentoo-33146ccf4200ebe60e992f3a9f9ebc9bf4126831.zip
app-portage/repoman: Remove Prefix handling code
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/repoman/repoman-9999.ebuild20
1 files changed, 1 insertions, 19 deletions
diff --git a/app-portage/repoman/repoman-9999.ebuild b/app-portage/repoman/repoman-9999.ebuild
index 93c73208b024..a5a60b0ee04b 100644
--- a/app-portage/repoman/repoman-9999.ebuild
+++ b/app-portage/repoman/repoman-9999.ebuild
@@ -8,7 +8,7 @@ PYTHON_REQ_USE='bzip2(+)'
inherit distutils-r1
-if [[ ${PV} == 9999 ]]; then
+if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
S="${WORKDIR}/${P}/repoman"
@@ -30,24 +30,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-python_prepare_all() {
- distutils-r1_python_prepare_all
-
- if [[ -n "${EPREFIX}" ]] ; then
- einfo "Prefixing shebangs ..."
-
- local file
- while read -r -d $'\0' file; do
- local shebang=$(head -n1 "${file}")
-
- if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
- sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "${file}" || \
- die "sed failed"
- fi
- done < <(find . -type f -print0)
- fi
-}
-
python_test() {
esetup.py test
}