File: rules

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

export PYBUILD_NAME=jsbeautifier

d = $(CURDIR)/debian/jsbeautifier/usr/bin
export PYBUILD_AFTER_INSTALL_python3 = mkdir -pv $d && mv -v {destdir}/usr/bin/js-beautify $d/js-beautify-py

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

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m unittest discover -v" dh_auto_test