1
0
Fork 0

Overwriting setuptools-scm with upstream version string from dpkg-parsechangelog.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-29 04:28:08 +02:00
parent c8f71b8649
commit 632809107f
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 4 additions and 1 deletions

2
debian/rules vendored
View file

@ -2,6 +2,8 @@
export PYBUILD_NAME=mycli
export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | rev | cut -d- -f2- | rev)
%:
dh ${@} --buildsystem=pybuild