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
3
debian/control
vendored
3
debian/control
vendored
|
@ -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
2
debian/rules
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue