From: Luca Boccassi Date: Wed, 8 Nov 2017 18:22:38 +0000 (+0000) Subject: Switch dependencies to python3 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=deb_dpdk.git;a=commitdiff_plain;h=0012711e5e76baf1178d4e7b358790aa7210dfa3 Switch dependencies to python3 Since the switch to Python 3 Sphynx the dependencies can change too. Change-Id: Iabec22c9ad89c55fdd62a9644bcdadccdea7252d Signed-off-by: Luca Boccassi (cherry picked from commit d5e8781d330db9916e74981af1589a798b289834) Signed-off-by: Luca Boccassi --- diff --git a/debian/control b/debian/control index 33b9458a..2f6782e8 100644 --- a/debian/control +++ b/debian/control @@ -32,7 +32,7 @@ Depends: hwdata, lsb-base (>= 3.2-14), pciutils, ${misc:Depends}, - ${python:Depends}, + ${python3:Depends}, ${shlibs:Depends} Recommends: ${librte:Recommends}, Suggests: dpdk-doc, @@ -62,8 +62,8 @@ Section: doc Architecture: all Multi-Arch: foreign Homepage: http://dpdk.org/doc/guides/index.html -Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${python:Depends} -Recommends: python, ${python:Recommends} +Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${python3:Depends} +Recommends: python3, ${python3:Recommends} Description: Data Plane Development Kit (documentation) DPDK is a set of libraries for fast packet processing. Applications run in user-space and communicate directly with dedicated network interfaces. diff --git a/debian/rules b/debian/rules index 2953c406..1cda1016 100755 --- a/debian/rules +++ b/debian/rules @@ -121,11 +121,11 @@ build: fi sh debian/prep-modules $(KSRC) cat debian/control.modules >> debian/control - dh $@ --with python2,dkms,systemd + dh $@ --with python3,dkms,systemd endif %: - dh $@ --with python2,dkms,systemd + dh $@ --with python3,dkms,systemd override_dh_gencontrol: dh_gencontrol