summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2013-11-02 20:34:53 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:00 +0200
commitdf61b455f7cb2744bd58aff25af8f111c86ec4fb (patch)
treeda10c485ef5b344f7d8c58b19d99ab8347a0352e /dev-util/pyrep
parentBump portage-bashrc-mv. eix: Remove IUSE=clang (diff)
downloadmv-df61b455f7cb2744bd58aff25af8f111c86ec4fb.tar.gz
mv-df61b455f7cb2744bd58aff25af8f111c86ec4fb.tar.bz2
mv-df61b455f7cb2744bd58aff25af8f111c86ec4fb.zip
Shebang care with many bumps
Diffstat (limited to 'dev-util/pyrep')
-rw-r--r--dev-util/pyrep/ChangeLog5
-rw-r--r--dev-util/pyrep/Manifest2
-rw-r--r--dev-util/pyrep/pyrep-1.2.ebuild (renamed from dev-util/pyrep/pyrep-1.1.ebuild)3
3 files changed, 9 insertions, 1 deletions
diff --git a/dev-util/pyrep/ChangeLog b/dev-util/pyrep/ChangeLog
index d5024d03..a0b44771 100644
--- a/dev-util/pyrep/ChangeLog
+++ b/dev-util/pyrep/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*pyrep-1.2 (02 Nov 2013)
+
+ 02 Nov 2013; Martin Väth <martin@mvath.de>:
+ Version bump, remove old ebuild. Shebang care
+
*pyrep-1.1 (02 Mar 2012)
28 Sep 2012; Martin Väth <martin@mvath.de>:
diff --git a/dev-util/pyrep/Manifest b/dev-util/pyrep/Manifest
index e533c026..7ed70829 100644
--- a/dev-util/pyrep/Manifest
+++ b/dev-util/pyrep/Manifest
@@ -1 +1 @@
-DIST pyrep-1.1.tar.gz 8539 SHA256 d6c927396e11fbdfed6fde7048a54b77d74776fe5cfa8a25ab9af5d8b4146280 SHA512 6558af9ae29195c7bd72e103ae4f4efda457400831190d17ee789464458c54c5f20ef564b73552832afdd074e61a686dc37b87b373ad60798eb35fd38f7c540f WHIRLPOOL 16badab1497371001136170efc71ee0661d4060bf7dc581e59b7335fc14f967251a610f9e3d7663831d9e3edd44a32753d0be70cb30c26d9af9f3d73669946e2
+DIST pyrep-1.2.tar.gz 8538 SHA256 12bf6d8fd8ce426b4042f8f1e2d05b47fc801de234ce324b547957c1e8e74f19 SHA512 4eb09d1352c9dc2f4d8eb5294ceb211d90276d9c30dd296900cf5ab891f680524a96585497b5a5bc549b943cfc71d0c1e7ec639d49de1c34e511ab85efc0f4f9 WHIRLPOOL a686a902f9fe11e4a56b4b26fbe6f56339d53e45e7afb8014240595839e79d739e6846cba81cfe9a1eb1c2b17428653b3df9f1e6f503b626e93069f73d165966
diff --git a/dev-util/pyrep/pyrep-1.1.ebuild b/dev-util/pyrep/pyrep-1.2.ebuild
index c40af2eb..fefd9aca 100644
--- a/dev-util/pyrep/pyrep-1.1.ebuild
+++ b/dev-util/pyrep/pyrep-1.2.ebuild
@@ -18,6 +18,9 @@ IUSE=""
RDEPEND="dev-lang/python"
src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env python$"#!'"$(command -v python)"'"' \
+ -- "${PN}" || die
epatch_user
}