#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
include /usr/share/dpkg/pkg-info.mk
VERSION_UPSTREAM = $(shell echo '$(DEB_VERSION_UPSTREAM)' | sed -e 's/\+[^+]*//')
export SETUPTOOLS_SCM_PRETEND_VERSION = $(VERSION_UPSTREAM)
export PYBUILD_BEFORE_TEST=ln -s /usr/share/glyphsinfo/* {build_dir}/glyphsLib/data
export PYBUILD_AFTER_TEST=rm {build_dir}/glyphsLib/data/GlyphData* {build_dir}/*.txt
# TODO: skia-pathops is not in Debian yet
export PYBUILD_TEST_ARGS = -k "not test_glyph_color_layers_"
%:
dh $@ --with python3 --buildsystem=pybuild
|