debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # DH_VERBOSE := 1 |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | |
| 6 | include /usr/share/dpkg/default.mk |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=pybuild |
| 10 | |
| 11 | override_dh_auto_test: |
| 12 | ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) |
| 13 | dh_auto_test -- --before-test="ln -s $(CURDIR)/tests {build_dir}" --test-custom --test-args 'cd {build_dir}/tests && {interpreter} -m unittest unittests.run_BUSCO_unittests -v' |
| 14 | endif |