debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Uncomment this to turn on verbose mode. |
| 4 | export DH_VERBOSE=1 |
| 5 | export PYBUILD_NAME=nsscache |
| 6 | export PYBUILD_TEST_PYTEST=1 |
| 7 | export PYBUILD_TEST_ARGS= |
| 8 | # data in setup.py is named 'config' and gets intalled to /usr/config by default. Move the directory so that the conffile is put in the correct location, and avoids a mkdir. |
| 9 | export PYBUILD_AFTER_INSTALL=mv {destdir}/usr/config {destdir}/etc |
| 10 | |
| 11 | %: |
| 12 | dh $@ --with=python3 --buildsystem=pybuild |