1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
export PYBUILD_NAME=libdiscid
# Get the default Python 3 version
PY3VERSD=$(shell py3versions -vd)
%:
dh $@ --with=python3 --buildsystem pybuild
override_dh_auto_build-indep:
pybuild --build -p $(PY3VERSD) --build-args="build_ext --inplace"
pybuild --build -p $(PY3VERSD) --build-args="build_sphinx"
# no install and test for indep
override_dh_auto_install-indep override_dh_auto_test-indep:
override_dh_installdocs-indep:
dh_installdocs -i --doc-main-package=python3-libdiscid
dh_sphinxdoc -i
override_dh_auto_test:
dh_auto_test -- --test-pytest
|