Files
integ/python/zerorpc-python/debian/bullseye/deb_folder/rules
pmp1 ddb2ec4fd6 Update integ/python for Bullseye
Aligned the package layout with the concurrent Debian packaging
conventions. Relocated package files under 'debian/bullseye/' and removed legacy paths under 'debian/'.

Updated related build references to ensure compatibility with Bullseye.

dh-python
pynetlink
pyoidc
python-nss
python3-nsenter
python3-setuptools
python3-zmq
python3-wheel
python3.9
zerorpc-python

Change-Id: I732af48c1a54ea1543772944da16e2f819dd1c91
Signed-off-by: pmp1 <preetham.mp@windriver.com>
2025-11-18 23:14:16 -05:00

28 lines
629 B
Makefile

#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_NAME=zerorpc
export ROOT=debian/tmp
DEBIAN_DIR := $(CURDIR)/debian/tmp
%:
dh $@ --with python3 --buildsystem=pybuild
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
# FIXME: UTs run during packaging are currently broken
echo "do nothing..."
endif
override_dh_install:
python3 setup.py install -f --install-layout=deb \
--root=$(CURDIR)/debian/tmp
python3 setup.py bdist_wheel \
--universal \
-d ${CURDIR}/debian/zerorpc-python-wheel/usr/share/python-wheels
dh_install
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3