#!/usr/bin/make -f

#export DH_VERBOSE = 1
export PYBUILD_TEST_ARGS = tests
export PYBUILD_NAME = securesystemslib
export PYKCS11LIB = /usr/lib/softhsm/libsofthsm2.so

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_fixperms:
	chmod -v a-x \
	 debian/python3-securesystemslib/usr/lib/python3/dist-packages/securesystemslib/__init__.py \
	 debian/python3-securesystemslib/usr/lib/python3/dist-packages/securesystemslib/_vendor/__init__.py \
	 debian/python3-securesystemslib/usr/lib/python3/dist-packages/securesystemslib/exceptions.py \
	 debian/python3-securesystemslib/usr/lib/python3/dist-packages/securesystemslib/formats.py \
	 debian/python3-securesystemslib/usr/lib/python3/dist-packages/securesystemslib/hash.py \
	 debian/python3-securesystemslib/usr/lib/python3/dist-packages/securesystemslib/_vendor/test-ed25519-upstream.sh
