| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- mode: makefile; coding: utf-8 -*- |
| 3 |
|
| 4 |
# Common rules |
| 5 |
export PYBUILD_NAME=impacket |
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
# ignore tests/SMB_RPC/test_smbserver.py test until upstream fix py3.13 build. |
| 8 |
export PYBUILD_TEST_ARGS=-m "not remote" --ignore=tests/SMB_RPC/test_smbserver.py |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --buildsystem=pybuild |
| 12 |
|
| 13 |
override_dh_auto_install: |
| 14 |
dh_auto_install |
| 15 |
# Drop upstream installed files |
| 16 |
rm -rf debian/python*-impacket/usr/share/doc/impacket |
| 17 |
|
| 18 |
# Don't compress .py file |
| 19 |
override_dh_compress: |
| 20 |
dh_compress -X.py |