Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/openvswitch/
Date: Sat, 03 Dec 2016 21:34:19
Message-Id: 1480800845.dd9bc23a6329ea992e8b786074fa39dfe7c8a874.jlec@gentoo
1 commit: dd9bc23a6329ea992e8b786074fa39dfe7c8a874
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 3 20:18:13 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 3 21:34:05 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9bc23a
7
8 net-misc/openvswitch: Use external python package
9
10 Package-Manager: portage-2.3.2
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 ...penvswitch-2.6.0-r1.ebuild => openvswitch-2.6.0-r2.ebuild} | 11 +++--------
14 1 file changed, 3 insertions(+), 8 deletions(-)
15
16 diff --git a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild b/net-misc/openvswitch/openvswitch-2.6.0-r2.ebuild
17 similarity index 94%
18 rename from net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild
19 rename to net-misc/openvswitch/openvswitch-2.6.0-r2.ebuild
20 index 93a0483..56cef67 100644
21 --- a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild
22 +++ b/net-misc/openvswitch/openvswitch-2.6.0-r2.ebuild
23 @@ -24,6 +24,7 @@ RDEPEND="
24 )
25 ssl? ( dev-libs/openssl:0= )
26 ${PYTHON_DEPS}
27 + ~dev-python/ovs-${PV}
28 dev-python/twisted-core
29 dev-python/twisted-conch
30 dev-python/twisted-web
31 @@ -94,15 +95,9 @@ src_install() {
32 python_foreach_impl python_doscript utilities/"${SCRIPT}"
33 done
34
35 - # monitor is statically enabled for bug 596206
36 - #if use monitor ; then
37 - python_install() {
38 - python_domodule "${ED%/}"/usr/share/openvswitch/python/*
39 - python_optimize "${ED%/}"/usr/share/ovsdbmonitor
40 - }
41 - python_foreach_impl python_install
42 + python_foreach_impl python_optimize "${ED%/}"/usr/share/ovsdbmonitor
43 +
44 rm -r "${ED%/}"/usr/share/openvswitch/python || die
45 - #fi
46
47 keepdir /var/{lib,log}/openvswitch
48 keepdir /etc/ssl/openvswitch