d/control: make python-pyelftools a recommends 59/9659/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 16 Nov 2017 13:12:38 +0000 (14:12 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 29 Nov 2017 23:29:35 +0000 (23:29 +0000)
It is a uncommon tool to use so it was never very important.
But pmdinfo needs the extra python modules to work properly.

$ dpdk-pmdinfo
Traceback (most recent call last):
  File "/usr/bin/dpdk-pmdinfo", line 14, in <module>
    from elftools.common.exceptions import ELFError
ImportError: No module named elftools.common.exceptions

We had it as a suggests so far as Ubunut would not have been able to
pick it up, but that is now accepted in [1].
Thanks for carrying that as suggests so far, but we could now enable it
as recommends for the next version of dpdk.

[1]: https://bugs.launchpad.net/ubuntu/+source/python-pyelftools/+bug/1630073

Change-Id: Ied23438a6332004f957e3e50842eeea98cfdac34
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
(cherry picked from commit 080df071996f52af7d19668dda6eae2bd28f71d5)
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
debian/control

index 163315b..5ee81af 100644 (file)
@@ -36,11 +36,11 @@ Depends: hwdata,
          ${python3:Depends},
          ${shlibs:Depends}
 Recommends: ${librte:Recommends},
+            python-pyelftools,
 Suggests: dpdk-doc,
           dpdk-igb-uio-dkms (= ${binary:Version}),
           dpdk-rte-kni-dkms (= ${binary:Version}),
           linux-image-generic,
-          python-pyelftools,
 Description: Data Plane Development Kit (runtime)
  DPDK is a set of libraries for fast packet processing. Applications run
  in user-space and communicate directly with dedicated network interfaces.