File: rules

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

export PYBUILD_NAME=pytest-bdd

%:
	dh $@ --buildsystem=pybuild

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	dh_auto_install
	dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest -k 'not test_generate_with_quotes and not test_unicode_characters'"
endif

execute_after_dh_auto_install:
	rm debian/python3-pytest-bdd/usr/bin/pytest-bdd