File: rules

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

export PYBUILD_NAME=pytest-mock

export PYBUILD_BEFORE_TEST=cp -r {dir}/*.egg-info {build_dir}
export PYBUILD_TEST_ARGS={dir}/test_pytest_mock.py
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info

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

override_dh_auto_clean:
	dh_auto_clean
	rm -f _pytest_mock_version.py