Add Debian packages, support Ubuntu 22 via tomli
Some checks failed
CI / test (push) Successful in 46s
Trivy / test (push) Waiting to run
Lint / test (push) Has been cancelled

This commit is contained in:
Miguel Jacq 2025-12-15 15:01:28 +11:00
parent b71f41212a
commit 9f9301e17e
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
12 changed files with 305 additions and 720 deletions

11
debian/changelog vendored Normal file
View file

@ -0,0 +1,11 @@
jinjaturtle (0.3.3) unstable; urgency=medium
* Fixes for tomli on Ubuntu 22
-- Miguel Jacq <mig@mig5.net> Mon, 15 Dec 2025 14:00:00 +0000
jinjaturtle (0.3.2) unstable; urgency=medium
* Initial package
-- Miguel Jacq <mig@mig5.net> Mon, 15 Dec 2025 12:00:00 +0000

28
debian/control vendored Normal file
View file

@ -0,0 +1,28 @@
Source: jinjaturtle
Section: admin
Priority: optional
Maintainer: Miguel Jacq <mig@mig5.net>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dh-python,
pybuild-plugin-pyproject,
python3-all,
python3-poetry-core,
python3-yaml,
python3-toml,
python3-defusedxml,
python3-jinja2
Standards-Version: 4.6.2
Homepage: https://git.mig5.net/mig5/jinjaturtle
Package: jinjaturtle
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3-yaml,
python3-toml,
python3-defusedxml,
python3-jinja2
Description: Convert config files into Ansible defaults and Jinja2 templates.

6
debian/rules vendored Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/make -f
export PYBUILD_NAME=jinjaturtle
export PYBUILD_SYSTEM=pyproject
%:
dh $@ --with python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

6
debian/source/options vendored Normal file
View file

@ -0,0 +1,6 @@
tar-ignore = ".git"
tar-ignore = ".venv"
tar-ignore = "__pycache__"
tar-ignore = ".pytest_cache"
tar-ignore = "dist"
tar-ignore = "build"