#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE = 1

export PYBUILD_NAME=python-rq

# The tests require a running redis instance which isn't allowed within a
# buildd.
export PYBUILD_DISABLE=test

%:
	dh $@ --buildsystem=pybuild

override_dh_clean:
	dh_clean
	rm -rf .mypy_cache

override_dh_fixperms:
	dh_fixperms
	find  $(CURDIR)/debian/python3-rq//usr/lib/python3/dist-packages/rq -type f -name "*.py" -exec chmod -x {} \;
