File: rules

package info (click to toggle)
python-cmarkgfm 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,252 kB
  • sloc: ansic: 9,412; python: 251; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 383 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie

export PYBUILD_BEFORE_TEST=cp -r $(CURDIR)/tests {build_dir}
export PYBUILD_TEST_ARGS=-sv tests
export PYBUILD_AFTER_TEST=rm -r {build_dir}/tests

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

override_dh_auto_install:
	dh_auto_install
	find $(CURDIR)/debian/python3-cmarkgfm -type f -exec chmod a-x '{}' +