File: rules

package info (click to toggle)
python-asdf 2.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,200 kB
  • sloc: python: 17,406; makefile: 124; ansic: 88
file content (25 lines) | stat: -rwxr-xr-x 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
#export DH_VERBOSE=1

export PYBUILD_NAME=asdf
export ASDF_TEST_BUILD=yes

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

override_dh_auto_test:
	dh_auto_test
	rm -f .pybuild/*/build/*.asdf

override_dh_installdocs:
	python3 setup.py build_sphinx
	dh_installdocs

override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/asdftool/usr
	mv debian/python3-asdf/usr/bin debian/asdftool/usr

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/*/usr/lib/python*/dist-packages/asdf/tests/data/example_schema.json