Overwriting setuptools-scm with upstream version string from dpkg-parsechangelog.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c8f71b8649
commit
632809107f
2 changed files with 4 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue