Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 export PYBUILD_NAME=codetiming
7 export PYBUILD_SYSTEM=pyproject
8 export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)
9
10 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
11 DPKG_EXPORT_BUILDFLAGS = 1
12 include /usr/share/dpkg/buildflags.mk
13 include /usr/share/dpkg/pkg-info.mk
14
15
16 # magic debhelper rule
17 %:
18 dh $@ --buildsystem=pybuild --with=python3,single-binary
19
20 override_dh_auto_test:
21 PYTHONPATH=$(CURDIR) pytest