Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/command-not-found/ --install-scripts=/usr/share/command-not-found/
4
5 %:
6 dh $@ --with=python3 --buildsystem=pybuild
7
8 override_dh_auto_install:
9 dh_auto_install
10 find debian/command-not-found -name __pycache__ | xargs rm -r
11 # Get rid of bash integration script, got merged to bash
12 rm $(CURDIR)/debian/command-not-found/etc/bash_command_not_found
13
14 override_dh_auto_test:
15 python3 -m unittest discover