[go: up one dir, main page]

File: rules

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

export PYBUILD_NAME=appdirs

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

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	touch test/__init__.py
	dh_auto_test
	rm -f test/__init__.py
endif

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst