File: rules

package info (click to toggle)
python-colormap 1.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 160 kB
  • sloc: python: 896; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export LC_ALL=C.UTF-8

export PYBUILD_NAME=colormap

# headless graphics when running tests
export MPLCONFIGDIR=$(CURDIR)/debian/matplotlib

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

execute_after_dh_install:
	find debian/ -name .coverage | xargs rm -rf

override_dh_fixperms:
	dh_fixperms
	find debian/ -name PKG-INFO -o -name *.txt | xargs chmod -x