summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/control33
-rw-r--r--debian/copyright34
-rwxr-xr-xdebian/rules10
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
6 files changed, 86 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..adfb3bb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jinjax (0.45+dfsg-1) unstable; urgency=medium
+
+ * Initial upload to sid (Closes: #1074006).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 21 Aug 2024 09:51:50 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f20a6d8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: jinjax
+Section: python
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ pybuild-plugin-pyproject,
+ python3-all,
+ python3-jinja2,
+ python3-poetry-core,
+ python3-pytest,
+ python3-setuptools,
+ python3-whitenoise,
+Rules-Requires-Root: no
+Standards-Version: 4.7.0
+Homepage: https://github.com/jpsca/jinjax
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/jinjax
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/jinjax
+
+Package: python3-jinjax
+Section: python
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Server-side components for your Jinja templates
+ JinjaX extends the traditional Jinja template functionality by allowing to
+ encapsulate HTML, CSS, and JavaScript within individual components.
+ .
+ This modularity makes the templates much easier to maintain and update.
+ The key innovation is that JinjaX components can contain all associated
+ code, reducing the sprawl commonly seen in large template files.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d971bad
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jinjax
+Upstream-Contact: https://github.com/jpsca/jinjax/issues
+Source: https://github.com/jpsca/jinjax/releases
+Files-Excluded:
+ docs/*
+ jinjax-logo.png
+
+Files: *
+Copyright: 2021-2024 Juan-Pablo Scaletti <juanpablo@jpscaletti.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2024 Daniel Baumann <daniel.baumann@progress-linux.org>
+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..237eb2c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=jinjax
+
+%:
+ 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..286e5b6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/jinjax-$1\.tar\.gz/ \
+https://github.com/jpsca/jinjax/tags .*/v?(\d\S+)\.tar\.gz