File: rules

package info (click to toggle)
python-whitenoise 5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 388 kB
  • sloc: python: 1,714; makefile: 136; sh: 13; javascript: 10
file content (17 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=whitenoise
export LC_ALL = C.UTF-8

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

override_dh_installchangelogs:
	dh_installchangelogs -p python3-whitenoise  docs/changelog.rst

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	set -e; for python in $$(py3versions --requested 2>/dev/null); do \
		DJANGO_SETTINGS_MODULE=tests.django_settings $$python -m pytest; \
	done
endif