1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#!/usr/bin/make -f
export PYBUILD_NAME = gjson
export PYBUILD_TEST_PYTEST = 1
export PYBUILD_TEST_ARGS = {dir}/tests/unit
include /usr/share/dpkg/pkg-info.mk
# tell the test suite and build_sphinx about our version number
export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_installman:
PYTHONPATH=. sphinx-build -b man doc/source/ doc/build/man
sed -i='' -e 's/^\.B/.B /' doc/build/man/gjson.1
dh_installman
|