File: rules

package info (click to toggle)
libcloud 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,632 kB
  • ctags: 13,912
  • sloc: python: 101,608; xml: 43,067; makefile: 15; sh: 10
file content (21 lines) | stat: -rwxr-xr-x 541 bytes parent folder | download | duplicates (2)
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

export PYBUILD_NAME=libcloud

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

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	ln -s secrets.py-dist libcloud/test/secrets.py
	for pyversion in $(shell pyversions -vr); do python$$pyversion setup.py test; done
	for py3version in $(shell py3versions -vr); do python$$py3version setup.py test; done

override_dh_clean:
	dh_clean
	rm -f libcloud/test/secrets.py
endif

override_dh_auto_install:
	dh_installchangelogs CHANGES.rst
	dh_auto_install