#!/usr/bin/make -f export PYBUILD_NAME=stemmer export PYSTEMMER_SYSTEM_LIBSTEMMER=1 %: dh $@ --with python3 --buildsystem pybuild execute_before_dh_auto_build: # Rebuild from Cython source rm -f src/*.c override_dh_auto_test: dh_auto_test -- --test-args="-s tests" PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="{interpreter} runtests.py" \ dh_auto_test