File: rules

package info (click to toggle)
python-cmarkgfm 0.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,048 kB
  • sloc: ansic: 11,167; python: 1,330; makefile: 191; sh: 33; cpp: 23; perl: 21; ruby: 11; javascript: 3
file content (15 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
export PYBUILD_SYSTEM=pyproject

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

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