File: rules

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

pythons := $(shell py3versions -sv)

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

override_dh_auto_install:
	dh_auto_install
	rm -rf $(CURDIR)/debian/python3-noseofyeti/usr/lib/python3*/dist-packages/noy_black.pth
	rm -rf $(CURDIR)/debian/python3-noseofyeti/usr/bin/

override_dh_auto_clean:
	rm -rf build
	rm -rf .pybuild
	dh_auto_clean