File: rules

package info (click to toggle)
confusable-homoglyphs 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,240 kB
  • sloc: python: 1,376; makefile: 212; sh: 59
file content (18 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# This file was automatically generated by stdeb 0.10.0 at
# Wed, 21 Sep 2022 11:39:00 +0200
export PYBUILD_NAME=confusable-homoglyphs
%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_auto_build:
	dh_auto_build
	cd docs && make html && make man

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	set -ex; for py in `py3versions --supported 2>/dev/null`; do \
		ftp_proxy=http://invalid.org $${py} -m unittest tests/*.py ; \
	done
endif