debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | #DH_VERBOSE = 1 |
| 3 | |
| 4 | export PYBUILD_NAME = pyelftools |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild --with=python3 |
| 8 | |
| 9 | override_dh_install: |
| 10 | # remove readelf.py script installed in /usr/bin/ |
| 11 | # it's not part of the build |
| 12 | dh_install |
| 13 | rm -r debian/python3-pyelftools/usr/bin |
| 14 | |
| 15 | override_dh_auto_test: |
| 16 | # launch manually because dh_auto_test does not pick it up |
| 17 | python3 test/all_tests.py |