summaryrefslogtreecommitdiffstats
path: root/src/pkg/debian
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-12-30 00:41:15 +0000
committerOle Tr�an <otroan@employees.org>2021-02-09 18:29:33 +0000
commit3ca4b14e2d3df439a6088401baace95a9f79f855 (patch)
tree5f6c3a4aff8b5654805bf2d5f76b380115c0266e /src/pkg/debian
parentc68ca7b6e18d9e7c905e236da79e6d3045a01be1 (diff)
papi: remove python2 vpp-api-python.deb
Type: fix Change-Id: I4901f7eb9d739afd4d45a25306434e9d122a4068 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/pkg/debian')
-rw-r--r--src/pkg/debian/control.in11
-rwxr-xr-xsrc/pkg/debian/rules.in7
-rw-r--r--src/pkg/debian/vpp.postrm4
3 files changed, 2 insertions, 20 deletions
diff --git a/src/pkg/debian/control.in b/src/pkg/debian/control.in
index ef66682f8a7..006b01c00c2 100644
--- a/src/pkg/debian/control.in
+++ b/src/pkg/debian/control.in
@@ -67,21 +67,10 @@ Description: Vector Packet Processing--runtime dpdk plugin
This package contains the VPP dpdk plugin
.
-Package: vpp-api-python
-Architecture: any
-Depends: vpp (= ${source:Version}),
- ${python:Depends},
- ${misc:Depends}
-Description: VPP Python API bindings
- This package contains VPP python api bindings
- .
-
Package: python3-vpp-api
Architecture: any
Depends: vpp (= ${source:Version}),
python3-cffi,
- python3-ply,
- python3-pycparser,
${python3:Depends},
${misc:Depends}
Description: VPP Python3 API bindings
diff --git a/src/pkg/debian/rules.in b/src/pkg/debian/rules.in
index f09db38e2a1..3249220b4f5 100755
--- a/src/pkg/debian/rules.in
+++ b/src/pkg/debian/rules.in
@@ -12,14 +12,7 @@ export PYBUILD_DIR = @CMAKE_SOURCE_DIR@/vpp-api/python
export PYBUILD_DESTDIR_python3=debian/python3-vpp-api/
export PYBUILD_DISABLE_python3=test
export PYBUILD_SYSTEM=distutils
-ifeq (@VPP_DEB_WITH_PYTHON2@,yes)
-export PYBUILD_DESTDIR_python2=debian/vpp-api-python/
-export PYBUILD_DISABLE_python2=test
-buildvers := $(shell pyversions -sv)
-DH_WITH = systemd,python2,python3
-else
DH_WITH = systemd,python3
-endif
build3vers := $(shell py3versions -sv)
diff --git a/src/pkg/debian/vpp.postrm b/src/pkg/debian/vpp.postrm
index 24b4842fd0a..4ef1a59e070 100644
--- a/src/pkg/debian/vpp.postrm
+++ b/src/pkg/debian/vpp.postrm
@@ -13,9 +13,9 @@ for d in $pci_dirs; do
done
done
if [ -n "${removed}" ]; then
- echo "There are changes in PCI drivers, rescaning"
+ echo "There are changes in PCI drivers, rescanning"
echo 1 > /sys/bus/pci/rescan
else
- echo "There weren't PCI devices binded"
+ echo "There weren't PCI devices bound"
fi