File: rules

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

export PYBUILD_NAME := six
export PYBUILD_TEST_PYTEST := 1
export PYBUILD_BEFORE_TEST := cp -a test_six.py {build_dir}/
export PYBUILD_AFTER_TEST := \
	rm -rf {build_dir}/test_six.py \
	       {build_dir}/*.pyc {build_dir}/__pycache__
# pypy-pytest package does not exist yet
export PYBUILD_DISABLE_pypy := test


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