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:
parent
1b64386712
commit
e82866902d
1 changed files with 8 additions and 0 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue