File: rules

package info (click to toggle)
limnoria 2024.12.20-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 11,144 kB
  • sloc: python: 51,124; makefile: 49; sh: 14
file content (20 lines) | stat: -rwxr-xr-x 408 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DH_VERBOSE=1
export PYBUILD_NAME=limnoria

%:
	dh $@ --buildsystem pybuild

override_dh_auto_test:
	LC_ALL=C.UTF-8 \
	PYBUILD_SYSTEM=custom \
	PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} \
		python{version} {build_dir}/supybot/scripts/limnoria_test.py \
		test \
		-v \
		--clean-after \
		--no-setuid \
		--no-network \
		--plugins-dir={build_dir}/supybot/plugins/" \
	dh_auto_test