summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-12-03 20:11:18 +0100
committerJustin Lecher <jlec@gentoo.org>2016-12-03 20:11:35 +0100
commitc14d32c0676b713d8730c2e356e7a9bb74ad242f (patch)
tree9507f89dac122571ffc22315ef26a0200b64939e /net-misc
parentapp-text/stardict: add omitted perl rdep (diff)
downloadgentoo-c14d32c0676b713d8730c2e356e7a9bb74ad242f.tar.gz
gentoo-c14d32c0676b713d8730c2e356e7a9bb74ad242f.tar.bz2
gentoo-c14d32c0676b713d8730c2e356e7a9bb74ad242f.zip
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 <jlec@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/openvswitch/metadata.xml28
-rw-r--r--net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild3
2 files changed, 16 insertions, 15 deletions
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
-<email>dev-zero@gentoo.org</email>
-</maintainer>
-<maintainer type="person">
-<email>prometheanfire@gentoo.org</email>
-</maintainer>
-<maintainer type="project">
- <email>virtualization@gentoo.org</email>
- <name>Gentoo Virtualization Project</name>
-</maintainer>
-<use>
- <flag name="monitor">Build the Python and GUI dependent monitor applications</flag>
- <flag name="pyside">Use <pkg>dev-python/pyside</pkg> instead of <pkg>dev-python/PyQt4</pkg> for Python/Qt-bindings when building with USE=monitor.</flag>
-</use>
+ <maintainer type="person">
+ <email>dev-zero@gentoo.org</email>
+ </maintainer>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>virtualization@gentoo.org</email>
+ <name>Gentoo Virtualization Project</name>
+ </maintainer>
+ <use>
+ <flag name="monitor">Build the Python and GUI dependent monitor applications</flag>
+ <flag name="pyside">Use <pkg>dev-python/pyside</pkg> instead of <pkg>dev-python/PyQt4</pkg> for Python/Qt-bindings when building with USE=monitor.</flag>
+ </use>
</pkgmetadata>
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