File: rules

package info (click to toggle)
django-model-utils 3.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 424 kB
  • sloc: python: 2,570; makefile: 167
file content (16 lines) | stat: -rwxr-xr-x 462 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=django-model-utils

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

.PHONY: override_dh_auto_test
override_dh_auto_test:
	# deferred fields don't work: https://github.com/jazzband/django-model-utils/issues/374
	dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest -k 'not deferred'"

.PHONY: override_dh_installchangelogs
override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst