File: rules

package info (click to toggle)
python-streamz 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 744 kB
  • sloc: python: 6,278; makefile: 22; sh: 18
file content (22 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

# DH_VERBOSE := 1

export PYBUILD_NAME = streamz
# FIXME: Disable this tests for now. Forwarded upstream: https://github.com/python-streamz/streamz/issues/372
export PYBUILD_BEFORE_TEST=rm {build_dir}/streamz/tests/test_dask.py

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

override_dh_install:
	dh_install
	# Remove this since it seems to override dask-worker-space files
	find debian/ -name 'dask-worker-space' | xargs rm -rf

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3

override_dh_installexamples:
	sed -i 's/ \/usr\/env python/\/usr\/bin\/python3/' examples/network_wordcount.py
	dh_installexamples