1
0
Fork 0

Workarounding hatch-vcs as debian upstream tarball doesn't contain upstreams git vcs files.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 06:07:33 +01:00
parent 1b64386712
commit e82866902d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F

8
debian/rules vendored
View file

@ -1,8 +1,16 @@
#!/usr/bin/make -f
VERSION := $(shell dpkg-parsechangelog -SVersion)
%:
dh ${@} --buildsystem=pybuild --sourcedir=$(CURDIR)/gitlint-core
execute_after_dh_auto_clean:
rm -f gitlint-core/_version.py
execute_before_dh_auto_build:
echo "__version__ = version = '$(VERSION)'" > gitlint-core/_version.py
override_dh_auto_test:
# disabled