File: rules

package info (click to toggle)
python-pyodata 1.11.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,280 kB
  • sloc: python: 7,170; xml: 947; makefile: 69; sh: 15
file content (12 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME=pyodata

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

execute_before_dh_auto_test:
	set -e ; for py3ver in $(shell py3versions -rv); do \
		cp tests/*.xml .pybuild/cpython3_$${py3ver}_pyodata/build/tests/ ; \
		cp tests/enormous_batch_response .pybuild/cpython3_$${py3ver}_pyodata/build/tests/ ; \
	done