File: rules

package info (click to toggle)
zope.fixers 1.0-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 132 kB
  • ctags: 56
  • sloc: python: 460; makefile: 15
file content (21 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
#!/usr/bin/make -f

%:
	dh --with python3 $@

override_dh_auto_clean:
	python3 setup.py clean
	rm -rf build
	find -name __pycache__ | xargs -r rm -rf
	find -name *.pyc -exec rm -f {} \;

override_dh_auto_build:
	python3 setup.py build

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	python3 setup.py test
endif

override_dh_auto_install:
	python3 setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-zope.fixers