1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
# -*- makefile -*-
%:
dh $@ --buildsystem=pybuild
override_dh_auto_build:
execute_before_dh_auto_install:
python3 $(CURDIR)/setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python3-dkim
override_dh_python3:
dh_python3 --no-guessing-deps -v
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
python3 $(CURDIR)/test.py
endif
override_dh_auto_clean:
python3 setup.py clean -a
find . -name \*.pyc -exec rm {} \;
dh_clean
|