File: rules

package info (click to toggle)
python-pyfakefs 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,512 kB
  • sloc: python: 20,350; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=pyfakefs
export PYBUILD_TEST_ARGS=-k "not test_add_package_metadata and not test_write_excel"

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:
	# Exclude tests from install
	rm -vrf \
		debian/python3-pyfakefs/usr/lib/python3.*/dist-packages/pyfakefs/tests/ \
		debian/python3-pyfakefs/usr/lib/python3.*/dist-packages/pyfakefs/pytest_tests/