From: Justin Lecher Date: Sat, 3 Dec 2016 19:11:18 +0000 (+0100) Subject: net-misc/openvswitch: Fix python shebangs X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c14d32c0676b713d8730c2e356e7a9bb74ad242f;p=gentoo.git net-misc/openvswitch: Fix python shebangs Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=599368 Package-Manager: portage-2.3.2 Signed-off-by: Justin Lecher --- diff --git a/net-misc/openvswitch/metadata.xml b/net-misc/openvswitch/metadata.xml index f20e0a0507bd..75bd0ce821ac 100644 --- a/net-misc/openvswitch/metadata.xml +++ b/net-misc/openvswitch/metadata.xml @@ -1,18 +1,18 @@ - -dev-zero@gentoo.org - - -prometheanfire@gentoo.org - - - virtualization@gentoo.org - Gentoo Virtualization Project - - - Build the Python and GUI dependent monitor applications - Use dev-python/pyside instead of dev-python/PyQt4 for Python/Qt-bindings when building with USE=monitor. - + + dev-zero@gentoo.org + + + prometheanfire@gentoo.org + + + virtualization@gentoo.org + Gentoo Virtualization Project + + + Build the Python and GUI dependent monitor applications + Use dev-python/pyside instead of dev-python/PyQt4 for Python/Qt-bindings when building with USE=monitor. + diff --git a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild b/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild index 4c6000a485af..93a0483b3aeb 100644 --- a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild +++ b/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild @@ -90,7 +90,8 @@ src_install() { local SCRIPT for SCRIPT in ovs-{pcap,parse-backtrace,dpctl-top,l3ping,tcpundump,test,vlan-test} bugtool/ovs-bugtool; do - python_replicate_script utilities/"${SCRIPT}" + sed -e '1s|^.*$|#!/usr/bin/python|' -i utilities/"${SCRIPT}" || die + python_foreach_impl python_doscript utilities/"${SCRIPT}" done # monitor is statically enabled for bug 596206