diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2c27b87 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +decli (0.6.2-1) unstable; urgency=low + + * Initial upload to sid, build-depends of commitizen. + + -- Daniel Baumann Mon, 21 Apr 2025 11:01:02 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f9daf93 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: decli +Section: python +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-sequence-python3, + pybuild-plugin-pyproject, + python3-all, + python3-poetry-core, + python3-pytest , +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://github.com/woile/decli +Vcs-Browser: https://forgejo.debian.net/git/decli +Vcs-Git: https://forgejo.debian.net/git/decli + +Package: python3-decli +Section: python +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends}, +Description: Minimal, easy-to-use, declarative cli tool using argparse (Python) + Decli is minimal wrapper around argparse. It's useful when writing big + applications that have many arguments and subcommands. It's a minimal library + to rapidly create an interface separated from the application. + While it's possible to use any argument from argparse, it lets you stop taking + care about copy pasting the argparse functions. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..04d61a3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Decli +Upstream-Contact: https://github.com/woile/decli/issues +Source: https://github.com/woile/decli/tags + +Files: * +Copyright: 2018-2024 Santiago Fraire +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..a9de713 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=decli + +%: + dh ${@} --buildsystem=pybuild + +execute_after_dh_auto_clean: + # help pybuild + rm -rf *.egg-info 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..4819a64 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/decli-$1\.tar\.gz/, \ + dversionmangle=s/\+dfsg//" \ +https://github.com/woile/decli/tags .*/v?(\d\S+)\.tar\.gz