File: rules

package info (click to toggle)
finalcif 113%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,568 kB
  • sloc: python: 44,669; sh: 79; makefile: 24
file content (23 lines) | stat: -rwxr-xr-x 457 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
23
#!/usr/bin/make -f

export PYBUILD_NAME=finalcif

export http_proxy  = 127.0.0.1
export https_proxy = 127.0.0.1

export NO_NETWORK = 1

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

override_dh_auto_test:
	xvfb-run pytest-3

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/finalcif/usr/lib/python*/dist-packages/docs
	rm -rf debian/finalcif/usr/lib/python*/dist-packages/scripts

override_dh_auto_clean:
	dh_auto_clean
	rm -rf FinalCif.egg-info