File: rules

package info (click to toggle)
pylint-gitlab 2.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: python: 302; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download
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