#! /usr/bin/make -f export PYBUILD_NAME=aioinflux TEMPDIR := $(shell mktemp -d) export PYBUILD_BEFORE_TEST=mkdir -p $(TEMPDIR) ; \ sed "s%@TEMPDIR@%$(TEMPDIR)%" debian/test.conf.in > $(TEMPDIR)/influxdb.conf ; \ start-stop-daemon --start --background --pidfile $(TEMPDIR)/influxdb.pid --exec /usr/bin/influxd -- -config $(TEMPDIR)/influxdb.conf -pidfile $(TEMPDIR)/influxdb.pid export PYBUILD_TEST_ARGS=--ignore=tests/test_dataframe.py export PYBUILD_AFTER_TEST=start-stop-daemon --stop --pidfile $(TEMPDIR)/influxdb.pid ; \ rm -r $(TEMPDIR) %: dh $@ --with python3 --buildsystem=pybuild