File: rules

package info (click to toggle)
empy 3.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 336 kB
  • sloc: python: 2,458; sh: 256; makefile: 8
file content (16 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=empy

%:
	dh $@ --buildsystem=pybuild

# upstream removed sample files for testing from source code
# shipped in debian/ to execute testing
override_dh_auto_test:
	cd $(CURDIR)/debian && \
	python3 $(CURDIR)/em.py sample.em | diff sample.bench -

override_dh_python3:
	dh_python3 --shebang='/usr/bin/env python3'