1 |
commit: c14d32c0676b713d8730c2e356e7a9bb74ad242f |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 3 19:11:18 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 3 19:11:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c14d32c0 |
7 |
|
8 |
net-misc/openvswitch: Fix python shebangs |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=599368 |
11 |
|
12 |
Package-Manager: portage-2.3.2 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
net-misc/openvswitch/metadata.xml | 28 ++++++++++++------------ |
16 |
net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild | 3 ++- |
17 |
2 files changed, 16 insertions(+), 15 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/openvswitch/metadata.xml b/net-misc/openvswitch/metadata.xml |
20 |
index f20e0a0..75bd0ce 100644 |
21 |
--- a/net-misc/openvswitch/metadata.xml |
22 |
+++ b/net-misc/openvswitch/metadata.xml |
23 |
@@ -1,18 +1,18 @@ |
24 |
<?xml version="1.0" encoding="UTF-8"?> |
25 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
-<maintainer type="person"> |
28 |
-<email>dev-zero@g.o</email> |
29 |
-</maintainer> |
30 |
-<maintainer type="person"> |
31 |
-<email>prometheanfire@g.o</email> |
32 |
-</maintainer> |
33 |
-<maintainer type="project"> |
34 |
- <email>virtualization@g.o</email> |
35 |
- <name>Gentoo Virtualization Project</name> |
36 |
-</maintainer> |
37 |
-<use> |
38 |
- <flag name="monitor">Build the Python and GUI dependent monitor applications</flag> |
39 |
- <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> |
40 |
-</use> |
41 |
+ <maintainer type="person"> |
42 |
+ <email>dev-zero@g.o</email> |
43 |
+ </maintainer> |
44 |
+ <maintainer type="person"> |
45 |
+ <email>prometheanfire@g.o</email> |
46 |
+ </maintainer> |
47 |
+ <maintainer type="project"> |
48 |
+ <email>virtualization@g.o</email> |
49 |
+ <name>Gentoo Virtualization Project</name> |
50 |
+ </maintainer> |
51 |
+ <use> |
52 |
+ <flag name="monitor">Build the Python and GUI dependent monitor applications</flag> |
53 |
+ <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> |
54 |
+ </use> |
55 |
</pkgmetadata> |
56 |
|
57 |
diff --git a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild b/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild |
58 |
index 4c6000a..93a0483 100644 |
59 |
--- a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild |
60 |
+++ b/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild |
61 |
@@ -90,7 +90,8 @@ src_install() { |
62 |
|
63 |
local SCRIPT |
64 |
for SCRIPT in ovs-{pcap,parse-backtrace,dpctl-top,l3ping,tcpundump,test,vlan-test} bugtool/ovs-bugtool; do |
65 |
- python_replicate_script utilities/"${SCRIPT}" |
66 |
+ sed -e '1s|^.*$|#!/usr/bin/python|' -i utilities/"${SCRIPT}" || die |
67 |
+ python_foreach_impl python_doscript utilities/"${SCRIPT}" |
68 |
done |
69 |
|
70 |
# monitor is statically enabled for bug 596206 |