1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
include /usr/share/dpkg/pkg-info.mk
export UPSTREAM_VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed -E 's,[+]ds(fg)?$$,,g')
# The wheel ships tests/, but without tests/report.html. Get things into a
# state that's actually useful for running tests.
export PYBUILD_BEFORE_TEST := rm -rf {build_dir}/tests && cp -a {dir}/tests {build_dir}/tests
export PYBUILD_AFTER_TEST := rm -rf {build_dir}/tests
%:
dh $@ --buildsystem=pybuild
|