Commit 80f0e34e authored by Dmitry Shachnev's avatar Dmitry Shachnev

Drop unneeded dh_auto_test override, rely on pybuild magic.

parent d0bc6ceb
......@@ -16,6 +16,7 @@ sphinx-argparse (0.2.2-1) UNRELEASED; urgency=medium
Markdown requires CommonMark 0.5.6, which is not yet in Debian.
* Fix sphinx-build invocation in debian/rules.
* Prevent dh_compress from compressing changelog.html.
* Drop unneeded dh_auto_test override, rely on pybuild magic.
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sun, 02 Jul 2017 20:56:18 +0800
......
#! /usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=sphinx-argparse
export PYBUILD_TEST_ARGS=-v
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
override_dh_installdocs:
cd docs && PYTHONPATH=$(CURDIR) sphinx-build -N -bhtml . html
dh_installdocs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment