papi: remove python2 vpp-api-python.deb
Type: fix Change-Id: I4901f7eb9d739afd4d45a25306434e9d122a4068 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:

committed by
Ole Tr�an

parent
c68ca7b6e1
commit
3ca4b14e2d
@@ -35,13 +35,8 @@ foreach(l ${os_release})
|
||||
set(OS_${_name} ${_value})
|
||||
endforeach()
|
||||
|
||||
if (OS_ID STREQUAL "ubuntu" AND OS_VERSION_ID VERSION_LESS 20.04)
|
||||
set(VPP_DEB_BUILD_DEPENDS "python-all, python3-all, python3-setuptools")
|
||||
set(VPP_DEB_WITH_PYTHON2 "yes")
|
||||
else()
|
||||
set(VPP_DEB_BUILD_DEPENDS "python3-all, python3-setuptools")
|
||||
set(VPP_DEB_WITH_PYTHON2 "no")
|
||||
endif()
|
||||
set(VPP_DEB_BUILD_DEPENDS "python3-all, python3-setuptools")
|
||||
set(VPP_DEB_WITH_PYTHON2 "no")
|
||||
|
||||
foreach(f rules changelog control)
|
||||
configure_file(
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user