File: rules

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

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

export PYBUILD_NAME = mongomock
export NO_LOCAL_MONGO = 1

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

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

execute_after_dh_auto_clean:
	rm -rf mongomock.egg-info