File: rules

package info (click to toggle)
cftime 1.0.3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 352 kB
  • sloc: python: 1,164; sh: 23; makefile: 21
file content (21 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

#DH_VERBOSE := 1

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export PYBUILD_NAME=cftime
export PYBUILD_TEST_PYTEST=1

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

override_dh_install:
	dh_install --list-missing

	$(RM) debian/*/usr/lib/python*/dist-packages/.coverage

override_dh_python3:
	dh_python3 -ppython3-cftime
	dh_numpy3 -ppython3-cftime