File: rules

package info (click to toggle)
python-schema 0.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 172 kB
  • ctags: 87
  • sloc: python: 639; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 442 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1

export PYBUILD_NAME = schema
export PYBUILD_BEFORE_TEST = cp {dir}/test_schema.py {dir}/LICENSE-MIT {build_dir}
export PYBUILD_AFTER_TEST = rm {build_dir}/test_schema.py {build_dir}/LICENSE-MIT

# Testing is disabled on PyPy due to missing pytest dependency.
export PYBUILD_DISABLE = test/pypy

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