File: rules

package info (click to toggle)
pylibtiff 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 976 kB
  • sloc: python: 10,219; ansic: 1,064; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

UPSTREAM_VERSION = $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+.*//')

export SETUPTOOLS_SCM_PRETEND_VERSION = $(UPSTREAM_VERSION)

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/{install_dir}/libtiff/src
export PYBUILD_DISABLE=test clean

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