File: rules

package info (click to toggle)
python-asyncio-mqtt 0.16.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 232 kB
  • sloc: python: 1,090; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 370 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

export PYBUILD_NAME=asyncio_mqtt

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

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

execute_before_dh_auto_build:
	echo "__version__ = version = '$(DEB_VERSION_UPSTREAM)'" > asyncio_mqtt/_version.py
	echo "__version_tuple__ = version_tuple = tuple('$(DEB_VERSION_UPSTREAM)'.split('.'))" >> asyncio_mqtt/_version.py