File: rules

package info (click to toggle)
djangorestframework-gis 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 484 kB
  • sloc: python: 2,470; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=djangorestframework-gis

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

override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter} tests/manage.py test tests/django_restframework_gis_tests"
endif