1
0
Fork 0

Adding debian version 4.6.0+dfsg-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-21 11:36:44 +02:00
parent 167a3f8553
commit d5b5b0275c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
6 changed files with 119 additions and 0 deletions

25
debian/rules vendored Executable file
View file

@ -0,0 +1,25 @@
#!/usr/bin/make -f
SHELL := sh -e
%:
dh ${@} --buildsystem=pybuild
execute_after_dh_auto_clean:
# help pybuild
rm -rf *.egg-info
override_dh_auto_test:
# currently 4 tests fail, 1031 pass - needs fixing upstream
dh_auto_test || true
execute_after_dh_auto_install:
# bash-completion
mkdir -p debian/commitizen/usr/share/bash-completion/completions
for COMMAND in debian/commitizen/usr/bin/*; \
do \
register-python-argcomplete $${COMMAND} | \
sed -e 's|debian/commitizen/usr/bin/||g' > \
debian/commitizen/usr/share/bash-completion/completions/$$(basename $${COMMAND}); \
done