File: rules

package info (click to toggle)
python-django-compressor 4.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,108 kB
  • sloc: python: 4,900; makefile: 123; javascript: 5
file content (10 lines) | stat: -rwxr-xr-x 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

UPSTREAM_GIT := https://github.com/django-compressor/django-compressor.git
include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_TEST_CUSTOM = 1
export PYBUILD_TEST_ARGS = rm -rf {build_dir}/.tmp; mkdir {build_dir}/.tmp; cp -a {dir}/compressor/tests/static {build_dir}/.tmp/static; env TMP_TEST_DIR={build_dir}/.tmp {interpreter} -m coverage run --branch --source=compressor /usr/bin/django-admin test --settings=compressor.test_settings compressor

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