1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
export PYBUILD_NAME=authlib
export PYBUILD_TEST_PYTEST=1
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
dh_auto_test -- --test-pytest --test-args tests/core
DJANGO_SETTINGS_MODULE=tests.clients.test_django.settings \
http_proxy= https_proxy= \
dh_auto_test -- --test-pytest --test-args tests/clients
DJANGO_SETTINGS_MODULE=tests.django.settings \
dh_auto_test -- --test-pytest --test-args tests/django
dh_auto_test -- --test-pytest --test-args tests/flask
dh_auto_test -- --test-pytest --test-args tests/jose
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_build:
PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
execute_after_dh_auto_clean:
$(MAKE) -C docs clean
endif
override_dh_compress:
dh_compress -X.html -X.ico
|