#!/usr/bin/make -f

# DH_VERBOSE := 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# FIXME - never enabled, tests fail, to be investigated
export PYBUILD_DISABLE=test

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

override_dh_python3:
	dh_python3 --no-ext-rename

override_dh_install:
	dh_install
	mv -v debian/porechop/usr/bin/porechop-runner.py debian/porechop/usr/bin/porechop
