| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
#export DH_VERBOSE=1 |
| 4 |
export PYBUILD_NAME=nose2 |
| 5 |
|
| 6 |
include /usr/share/dpkg/pkg-info.mk |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --buildsystem=pybuild |
| 10 |
|
| 11 |
execute_before_dh_sphinxdoc: |
| 12 |
python3 -m sphinx -b html -d debian/tmp/doctrees docs \ |
| 13 |
debian/python-nose2-doc/usr/share/doc/python-nose2/html |
| 14 |
rm -rf debian/tmp/doctrees |
| 15 |
|
| 16 |
execute_after_dh_auto_install: |
| 17 |
mv debian/python3-nose2/usr/bin/nose2 \ |
| 18 |
debian/python3-nose2/usr/bin/nose2-3 |
| 19 |
find . -type f -name .coverage -delete |
| 20 |
|
| 21 |
execute_before_dh_installman: |
| 22 |
PYTHONPATH=${CURDIR} help2man -n nose2-3 -s 1 -o debian/nose2-3.1 \ |
| 23 |
--version-string=${DEB_VERSION} \ |
| 24 |
--no-discard-stderr --no-info \ |
| 25 |
debian/python3-nose2/usr/bin/nose2-3 |
| 26 |
|
| 27 |
override_dh_auto_test: |
| 28 |
dh_auto_test -- --system=custom --test-args="{interpreter} -m nose2.__main__ -v" |