File: rules

package info (click to toggle)
python-xmlrunner 3.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: python: 2,074; makefile: 216
file content (12 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=xmlrunner
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	# Remove xml file generated during tests.
	find $(CURDIR)/debian/python3-xmlrunner \( -name '*.xml' \) -type f -delete