File: rules

package info (click to toggle)
python-repoze.lru 0.6-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 224 kB
  • ctags: 126
  • sloc: python: 794; makefile: 127
file content (30 lines) | stat: -rwxr-xr-x 750 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
24
25
26
27
28
29
30
#!/usr/bin/make -f

#PYTHON2:=$(shell pyversions -r)
#PYTHON3:=$(shell py3versions -r)
#py3sdo=set -e; $(foreach py, $(PYTHON3), $(py) $(1);)
#pyalldo=set -e; $(foreach py, $(PYTHON2) $(PYTHON3), $(py) $(1);)

export PYBUILD_NAME=repoze.lru
%:
	dh $@ --with python2,python3 --buildsystem=pybuild

#override_dh_auto_build:
#	dh_auto_build
#	$(call py3sdo, setup.py build)

#override_dh_auto_install:
#	dh_auto_install
#	$(call py3sdo, setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb)

#override_dh_auto_clean:
#	dh_auto_clean
#	rm -rf build *.egg-info

#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
#override_dh_auto_test:
#	$(call pyalldo, setup.py test)
#endif

#override_dh_installchangelogs:
#	dh_installchangelogs CHANGES.txt