File: rules

package info (click to toggle)
pyshp 2.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,100 kB
  • sloc: python: 2,532; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

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

export PYBUILD_NAME=pyshp
export PYBUILD_TEST_PYTEST=1
export PYBUILD_TEST_ARGS=-vv -m "not network"
export PYBUILD_BEFORE_TEST=cp -r {dir}/README.md {dir}/shapefiles {dir}/test_*py {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/README.md {build_dir}/shapefiles {build_dir}/test_*py {build_dir}/*.pyc {build_dir}/*.dbf {build_dir}/*.sbn {build_dir}/*.sbx {build_dir}/*.shp {build_dir}/*.shx

%:
	dh $@ --buildsystem=pybuild