As a courtesy to users building artifacts from debs, don't pull
in Python when not necessary.

Interactive UX is retained because apt-get will install
dependencies decleared as recommended by default.

Signed-off-by: Frode Nordahl <[email protected]>
---
 debian/control.in | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 6737672d1..958eec3a2 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -45,8 +45,9 @@ Architecture: linux-any
 Depends:
  openssl,
  ${misc:Depends},
- ${python3:Depends},
  ${shlibs:Depends},
+Recommends:
+ ${python3:Depends},
 Suggests:
  ethtool,
  openvswitch-doc,
@@ -154,12 +155,13 @@ Depends:
  netbase,
  openvswitch-common (= ${binary:Version}),
  procps,
- python3-netifaces,
- python3-openvswitch (>= ${source:Version}),
  uuid-runtime,
  ${misc:Depends},
- ${python3:Depends},
  ${shlibs:Depends},
+Recommends:
+ python3-netifaces,
+ python3-openvswitch (>= ${source:Version}),
+ ${python3:Depends},
 Breaks:
  openvswitch-common (<< 2.17~),
 Replaces:
@@ -183,7 +185,6 @@ Description: Open vSwitch switch implementations
 # DPDK_NETDEV  dpdk,
 # DPDK_NETDEV  openvswitch-switch (= ${binary:Version}),
 # DPDK_NETDEV  ${misc:Depends},
-# DPDK_NETDEV  ${python3:Depends},
 # DPDK_NETDEV  ${shlibs:Depends},
 # DPDK_NETDEV Enhances:
 # DPDK_NETDEV  openvswitch-switch,
-- 
2.45.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to