| 1 |
|
| 2 |
|
| 3 |
export PYBUILD_NAME=cocotb |
| 4 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 5 |
export COCOTB_IGNORE_PYTHON_REQUIRES=1 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --with python3 --buildsystem=pybuild --no-parallel |
| 9 |
|
| 10 |
|
| 11 |
override_dh_python3: |
| 12 |
dh_python3 --no-ext-rename |
| 13 |
override_dh_auto_build: |
| 14 |
dh_auto_build |
| 15 |
PYTHONPATH=src/ help2man 'python3 src/cocotb_tools/config.py' \ |
| 16 |
--no-info --version-string=- -n 'Query cocotb configuration' | \ |
| 17 |
sed -e 's#config\.py#cocotb-config#g;s#usage: ##' \ |
| 18 |
> cocotb-config.1 |