1
0
Fork 0

Adding debian version 0.13.1-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 05:55:58 +01:00
parent d8f166e6bb
commit 6900a5d79c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
8 changed files with 173 additions and 0 deletions

17
debian/rules vendored Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/make -f
export LC_ALL=C.UTF-8
export PYBUILD_TEST_ARGS=python{version} -m coverage run --omit='/usr/*,$(CURDIR)/gitlint/tests/*,$(CURDIR)/gitlint/qa/*' -m unittest discover -v -s $(CURDIR)/gitlint/tests
%:
dh ${@} --buildsystem=pybuild --with python3
override_dh_auto_test:
PYBUILD_SYSTEM=custom dh_auto_test
execute_after_dh_auto_install:
# we don't want them in the package?
rm -rf debian/gitlint/usr/lib/python*/dist-packages/qa
execute_after_dh_fixperms:
find debian/gitlint/usr/lib -name commit-msg -exec chmod +x {} \;