File: rules

package info (click to toggle)
pytest-pylint 0.14.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 180 kB
  • sloc: python: 579; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f

export PYBUILD_NAME = pytest-pylint

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_auto_test:

override_dh_auto_install:
	dh_auto_install
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x --ignore debian" dh_auto_test
	# run tests after install: plugin needs to get registered by setup.py/entry_points

override_dh_installchangelogs:
	dh_installchangelogs $(CURDIR)/debian/CHANGELOG