File: rules

package info (click to toggle)
blake3-py 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,004 kB
  • sloc: asm: 17,520; ansic: 4,109; python: 598; makefile: 15
file content (23 lines) | stat: -rwxr-xr-x 475 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
include /usr/share/dpkg/buildflags.mk
export CARGO_NET_OFFLINE=true
export PYBUILD_NAME=blake3

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_clean:
	dh_auto_clean
	rm -rf target

execute_before_dh_auto_configure:
	mkdir -pv .cargo
	cp debian/cargo-config.toml .cargo/config.toml

override_dh_auto_test:
	true

execute_before_dh_auto_build:
	# blhc treats them as errors
	@echo 'blhc: ignore-line-regexp: .*Compiling\s+[a-zA-Z0-9_-]+\s+v[0-9.]+\s+.*'