commit: dd9bc23a6329ea992e8b786074fa39dfe7c8a874
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 3 20:18:13 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Dec 3 21:34:05 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9bc23a
net-misc/openvswitch: Use external python package
Package-Manager: portage-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
...penvswitch-2.6.0-r1.ebuild => openvswitch-2.6.0-r2.ebuild} | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild
b/net-misc/openvswitch/openvswitch-2.6.0-r2.ebuild
similarity index 94%
rename from net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild
rename to net-misc/openvswitch/openvswitch-2.6.0-r2.ebuild
index 93a0483..56cef67 100644
--- a/net-misc/openvswitch/openvswitch-2.6.0-r1.ebuild
+++ b/net-misc/openvswitch/openvswitch-2.6.0-r2.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
)
ssl? ( dev-libs/openssl:0= )
${PYTHON_DEPS}
+ ~dev-python/ovs-${PV}
dev-python/twisted-core
dev-python/twisted-conch
dev-python/twisted-web
@@ -94,15 +95,9 @@ src_install() {
python_foreach_impl python_doscript utilities/"${SCRIPT}"
done
- # monitor is statically enabled for bug 596206
- #if use monitor ; then
- python_install() {
- python_domodule "${ED%/}"/usr/share/openvswitch/python/*
- python_optimize "${ED%/}"/usr/share/ovsdbmonitor
- }
- python_foreach_impl python_install
+ python_foreach_impl python_optimize "${ED%/}"/usr/share/ovsdbmonitor
+
rm -r "${ED%/}"/usr/share/openvswitch/python || die
- #fi
keepdir /var/{lib,log}/openvswitch
keepdir /etc/ssl/openvswitch