File: rules

package info (click to toggle)
python-django-tagging 1%3A0.4.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 360 kB
  • sloc: python: 2,246; makefile: 168
file content (16 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=django-tagging

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	set -e;
	for python in $$(py3versions -s); do \
		echo "——— Running tests with $$python ———"; \
		PYTHONPATH=. DJANGO_SETTINGS_MODULE=tagging.tests.settings \
		$$python /usr/bin/django-admin test --verbosity=2; \
	done
endif