File: rules

package info (click to toggle)
python-pkginfo 1.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 792 kB
  • sloc: python: 2,025; makefile: 67; sh: 14
file content (12 lines) | stat: -rwxr-xr-x 582 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
export PYBUILD_NAME=pkginfo
export PYBUILD_AFTER_INSTALL_python3=rm -rf '{destdir}/{install_dir}/pkginfo/tests'
export PYBUILD_BEFORE_TEST=cp -R pkginfo/tests/funny pkginfo/tests/manky pkginfo/tests/silly pkginfo/tests/wonky {build_dir}/pkginfo/tests
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/pkginfo/tests/funny {build_dir}/pkginfo/tests/manky {build_dir}/pkginfo/tests/silly {build_dir}/pkginfo/tests/wonky

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

override_dh_auto_build:
	dh_auto_build --buildsystem=pybuild
	python3 setup.py build_sphinx