Skip to content

Commit

Permalink
debian: Drop hard Python dep where appropriate.
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: 0-day Robot <[email protected]>
  • Loading branch information
fnordahl authored and ovsrobot committed Dec 19, 2024
1 parent 169f9ab commit 30523bb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ Architecture: linux-any
Depends:
openssl,
${misc:Depends},
${python3:Depends},
${shlibs:Depends},
Recommends:
${python3:Depends},
Suggests:
ethtool,
openvswitch-doc,
Expand Down Expand Up @@ -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:
Expand All @@ -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,
Expand Down

0 comments on commit 30523bb

Please sign in to comment.