File: rules

package info (click to toggle)
python-fs 0.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,452 kB
  • ctags: 2,991
  • sloc: python: 20,659; makefile: 5
file content (10 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

export PYBUILD_NAME=fs
# disable tests because most require network access or root privileges which is
# not ok for package building
export PYBUILD_DISABLE=test
export PYBUILD_BEFORE_INSTALL=if [ "{package}" != "python-fs" ]; then rm -r {build_dir}/usr/bin; fi

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