File: rules

package info (click to toggle)
python-mongomock 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 992 kB
  • sloc: python: 15,860; makefile: 28
file content (20 lines) | stat: -rwxr-xr-x 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME = mongomock

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

override_dh_auto_configure:
	echo "__version__ = '$(DEB_VERSION_UPSTREAM)'" > mongomock/__version__.py
	dh_auto_configure

override_dh_auto_test:
	rm tests/test__bulk_operations.py tests/test__gridfs.py tests/test__mongomock.py
	dh_auto_test

override_dh_auto_clean:
	dh_auto_clean
	rm -rf mongomock.egg-info