Switch dependencies to python3 51/9651/1
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 8 Nov 2017 18:22:38 +0000 (18:22 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 29 Nov 2017 23:29:32 +0000 (23:29 +0000)
Since the switch to Python 3 Sphynx the dependencies can change too.

Change-Id: Iabec22c9ad89c55fdd62a9644bcdadccdea7252d
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
(cherry picked from commit d5e8781d330db9916e74981af1589a798b289834)
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
debian/control
debian/rules

index 33b9458..2f6782e 100644 (file)
@@ -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.
index 2953c40..1cda101 100755 (executable)
@@ -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