File: rules

package info (click to toggle)
ccdproc 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,172 kB
  • sloc: python: 5,072; makefile: 120
file content (19 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#export DH_VERBOSE=1

export PYBUILD_NAME=ccdproc
export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}
export LC_ALL=C.UTF-8


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

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	for t in .pybuild/*/build ; do \
	  cp -av ccdproc/tests/data/ $${t}/ccdproc/tests/ ; \
	done
	dh_auto_test
	rm -f .pybuild/*/build/test_table.txt
endif