File: rules

package info (click to toggle)
moksha.hub 1.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 332 kB
  • ctags: 299
  • sloc: python: 1,642; makefile: 8
file content (12 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

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

override_dh_install:
	dh_install
	rm -f debian/python-moksha.hub/usr/lib/python*/dist-packages/moksha.hub-*.egg-info/SOURCES.txt

override_dh_auto_test:
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="cp development.ini {build_dir}; cd {build_dir}; python{version} -m nose -v; rm {build_dir}/development.ini" dh_auto_test