File: rules

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

export PYBUILD_NAME=pytest-rerunfailures
export PYBUILD_DISABLE_python2 = 1

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

execute_before_dh_auto_test:
	python3 setup.py test
	for dir in .pybuild/cpython3_*_pytest-rerunfailures/build/ ; do \
	  rm -rf "$$dir/pytest_rerunfailures.egg-info/" ; \
	  cp -a pytest_rerunfailures.egg-info/ "$$dir" ; \
	done