File: rules

package info (click to toggle)
pygac 1.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,172 kB
  • sloc: python: 6,217; makefile: 117; sh: 8
file content (22 lines) | stat: -rwxr-xr-x 498 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
22
#!/usr/bin/make -f
# -*- makefile -*-

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

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYGAC_CONFIG_FILE=${CURDIR}/debian/pygac-test.cfg
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)

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

override_dh_auto_clean:
	dh_auto_clean
	$(RM) -r pygac.egg-info
	$(RM) pygac/version.py

override_dh_numpy3:
	dh_numpy3 -p python3-pygac