#!/usr/bin/make -f

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

export PYBUILD_NAME = tahoe-lafs
export PYBUILD_TEST_ARGS = -k 'not testing_tub'

%:
	dh $@ --buildsystem pybuild

execute_after_dh_auto_test:
	find .pybuild/*/build -mindepth 1 -maxdepth 1 ! -name allmydata | xargs rm -rf
	find .pybuild/*/build -name dropin.cache | xargs --no-run-if-empty rm
