summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-20 23:37:50 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-20 23:37:50 +0000
commitc7180f0421ca34dc025505675cd003e1f6296db3 (patch)
treed69f802710f8d20a8618bcc0d7fb8ece37de2f75 /app-emulation/xen-tools
parentIntroduce python_fix_shebang(), to fix shebangs in installed Python scripts r... (diff)
downloadgentoo-2-c7180f0421ca34dc025505675cd003e1f6296db3.tar.gz
gentoo-2-c7180f0421ca34dc025505675cd003e1f6296db3.tar.bz2
gentoo-2-c7180f0421ca34dc025505675cd003e1f6296db3.zip
Use python_fix_shebang() to fix shebangs.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'app-emulation/xen-tools')
-rw-r--r--app-emulation/xen-tools/ChangeLog5
-rw-r--r--app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild8
2 files changed, 6 insertions, 7 deletions
diff --git a/app-emulation/xen-tools/ChangeLog b/app-emulation/xen-tools/ChangeLog
index 7fca9e7dd504..eb97df53c160 100644
--- a/app-emulation/xen-tools/ChangeLog
+++ b/app-emulation/xen-tools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/xen-tools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.122 2012/12/17 10:54:06 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.123 2012/12/20 23:37:50 mgorny Exp $
+
+ 20 Dec 2012; Michał Górny <mgorny@gentoo.org> xen-tools-4.2.0-r2.ebuild:
+ Use python_fix_shebang() to fix shebangs.
18 Dec 2012; Ian Delaney <idella4@gentoo.org> files/ipxe-nopie.patch:
patched patch ipxe-nopie.patch, thanks to patch submitted by user uen in Bug
diff --git a/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild b/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild
index 5cfd275c5b50..2ff47c9236fd 100644
--- a/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild,v 1.2 2012/12/17 00:42:19 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-4.2.0-r2.ebuild,v 1.3 2012/12/20 23:37:50 mgorny Exp $
EAPI=5
@@ -240,11 +240,7 @@ src_install() {
XEN_PYTHON_NATIVE_INSTALL=y install-tools
# Fix the remaining Python shebangs.
- # TODO: add an appropriate func to python-single-r1.
- sed -e "1s:python:${EPYTHON}:" \
- -i "${ED}"usr/sbin/{xenmon.py,xen-ringwatch} || die 'shebang sed failed'
- find "${D}$(python_get_sitedir)" -name '*.py' \
- -exec sed -e "1s:python:${EPYTHON}:" -i {} + || die 'shebang find+sed failed'
+ python_fix_shebang "${ED}"
# Remove RedHat-specific stuff
rm -rf "${ED}"tmp || die