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(
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
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)
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