From d5b5b0275c2a479985cb5c078049777ae4dd8ff3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 21 Apr 2025 11:36:44 +0200 Subject: [PATCH] Adding debian version 4.6.0+dfsg-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 52 ++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 32 +++++++++++++++++++++++++++ debian/rules | 25 +++++++++++++++++++++ debian/source/format | 1 + debian/watch | 4 ++++ 6 files changed, 119 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a5fd325 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +commitizen (4.6.0+dfsg-1) unstable; urgency=low + + * Initial upload to sid (Closes: #886697). + + -- Daniel Baumann Mon, 21 Apr 2025 10:42:43 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..bd8060b --- /dev/null +++ b/debian/control @@ -0,0 +1,52 @@ +Source: commitizen +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-python3, + pybuild-plugin-pyproject, + python3-all, + python3-argcomplete , + python3-charset-normalizer , + python3-colorama , + python3-dateutil , + python3-decli , + python3-deprecated , + python3-jinja2 , + python3-poetry-core, + python3-prompt-toolkit , + python3-pytest , + python3-pytest-cov , + python3-pytest-datadir , + python3-pytest-freezegun , + python3-pytest-mock , + python3-pytest-regressions , + python3-pytest-xdist , + python3-questionary , + python3-termcolor , + python3-tomlkit , + python3-yaml , +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://github.com/commitizen-tools/commitizen +Vcs-Browser: https://forgejo.debian.net/git/commitizen +Vcs-Git: https://forgejo.debian.net/git/commitizen + +Package: commitizen +Section: utils +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends}, +Recommends: + bash-completion, +Description: Git release management tool designed for teams + Commitizen assumes your team uses a standard way of committing rules and from + that foundation, it can bump your project's version, create the changelog, and + update files. + . + By default, commitizen uses conventional commits, but you can build your own + set of rules, and publish them. Using a standardized set of rules to write + commits, makes commits easier to read, and enforces writing descriptive + commits. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..329e01c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: commitizen +Upstream-Contact: https://github.com/commitizen-tools/commitizen/issues +Source: https://github.com/commitizen-tools/commitizen/tags +Files-Excluded: docs/images/*.gif + +Files: * +Copyright: 2017-2025 Santiago Fraire Willemoes +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..35ab8cf --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +SHELL := sh -e + +%: + dh ${@} --buildsystem=pybuild + +execute_after_dh_auto_clean: + # help pybuild + rm -rf *.egg-info + +override_dh_auto_test: + # currently 4 tests fail, 1031 pass - needs fixing upstream + dh_auto_test || true + +execute_after_dh_auto_install: + # bash-completion + mkdir -p debian/commitizen/usr/share/bash-completion/completions + + for COMMAND in debian/commitizen/usr/bin/*; \ + do \ + register-python-argcomplete $${COMMAND} | \ + sed -e 's|debian/commitizen/usr/bin/||g' > \ + debian/commitizen/usr/share/bash-completion/completions/$$(basename $${COMMAND}); \ + done diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1761efc --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/commitizen-$1\.tar\.gz/ \ + dversionmangle=s/\+dfsg//" \ +https://github.com/commitizen-tools/commitizen/tags .*/v?(\d\S+)\.tar\.gz