File: rules

package info (click to toggle)
python-asyncssh 2.10.1-2%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,252 kB
  • sloc: python: 36,288; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- coding: utf-8 -*-

export PYBUILD_NAME = asyncssh
export HOME=/tmp

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

override_dh_installdocs:
	PYTHONPATH=. /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ \
                debian/python-asyncssh-doc/usr/share/doc/python-asyncssh-doc/html/
	dh_installdocs

override_dh_auto_test:
	env RES_OPTIONS=attempts:0 localehelper LANG=en_US.UTF-8 \
		dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -v'