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

3
debian/control vendored
View file

@ -10,6 +10,7 @@ Build-Depends:
pybuild-plugin-pyproject, pybuild-plugin-pyproject,
python3, python3,
python3-setuptools, python3-setuptools,
python3-setuptools-scm,
Rules-Requires-Root: no Rules-Requires-Root: no
Standards-Version: 4.7.2 Standards-Version: 4.7.2
Homepage: https://www.mycli.net Homepage: https://www.mycli.net
@ -22,8 +23,8 @@ Architecture: all
Depends: Depends:
python3-cli-helpers, python3-cli-helpers,
python3-prompt-toolkit (>= 2.0), python3-prompt-toolkit (>= 2.0),
python3-sqlglot,
python3-pyfzf, python3-pyfzf,
python3-sqlglot,
python3-sqlparse (>= 0.4), python3-sqlparse (>= 0.4),
python3-tabulate, python3-tabulate,
${misc:Depends}, ${misc:Depends},

2
debian/rules vendored
View file

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