| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=hyperorg |
| 4 |
|
| 5 |
# don't test upstream linting |
| 6 |
export PYBUILD_TEST_ARGS=--ignore tests/test_lint.py |
| 7 |
|
| 8 |
# test requires git tree |
| 9 |
PYBUILD_TEST_ARGS += --deselect tests/test_hyperorg.py::TestHyperorg::test_git_repository_info |
| 10 |
|
| 11 |
PYTHON3_VERSIONS = $(shell py3versions -d) |
| 12 |
|
| 13 |
%: |
| 14 |
dh $@ --buildsystem=pybuild |
| 15 |
|
| 16 |
override_dh_installman: |
| 17 |
PYTHONPATH=debian/hyperorg/usr/lib/$(PYTHON3_VERSIONS)/dist-packages/ help2man -n hyperorg -s 1 -N debian/hyperorg/usr/bin/hyperorg -o debian/hyperorg.1 |
| 18 |
dh_installman debian/hyperorg.1 |