#!/usr/bin/make -f # -*- makefile -*- include /usr/share/dpkg/pkg-info.mk export PYBUILD_NAME=scalene export PYBUILD_TEST_ARGS=-v export PYBUILD_BEFORE_TEST=cp -rv {dir}/test {build_dir} export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/test export PYBUILD_AFTER_BUILD=cd {build_dir}; \ help2man -N -n 'Memory Profiler for Python' python3 -m $(PYBUILD_NAME) \ --no-info \ --section 1 \ --version-string '$(DEB_VERSION_UPSTREAM)' \ > $(CURDIR)/$(PYBUILD_NAME).1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DESTDIR=$(CURDIR)/debian/python3-scalene PYVERS := $(shell py3versions -sv) %: dh $@ --buildsystem=pybuild override_dh_auto_test: # pass # pyperf must be package to run test