File: rules

package info (click to toggle)
django-graphiql-debug-toolbar 0.2.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 248 kB
  • sloc: python: 155; javascript: 30; sh: 15; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 555 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE = 1

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=django-graphiql-debug-toolbar
export PYBUILD_TEST_CUSTOM=1
export PYBUILD_TEST_ARGS=PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests.settings django-admin test -v2 tests
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/lib/python3*/dist-packages/LICENSE \
                                    {destdir}/usr/lib/python3*/dist-packages/README.md

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

override_dh_clean:
	dh_clean
	rm -rf .mypy_cache