summaryrefslogtreecommitdiff
path: root/textproc/py-jinjanator
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-jinjanator')
-rw-r--r--textproc/py-jinjanator/Makefile27
-rw-r--r--textproc/py-jinjanator/distinfo3
-rw-r--r--textproc/py-jinjanator/files/patch-pyproject.toml11
-rw-r--r--textproc/py-jinjanator/pkg-descr3
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/py-jinjanator/Makefile b/textproc/py-jinjanator/Makefile
new file mode 100644
index 000000000000..69d9680e553d
--- /dev/null
+++ b/textproc/py-jinjanator/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= jinjanator
+DISTVERSION= 25.2.0
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= CLI tool to render Jinja2 templates
+WWW= https://github.com/kpfleming/jinjanator
+
+LICENSE= APACHE20 BSD2CLAUSE
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jinjanator-plugins>0:textproc/py-jinjanator-plugins@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dotenv>0:www/py-python-dotenv@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/textproc/py-jinjanator/distinfo b/textproc/py-jinjanator/distinfo
new file mode 100644
index 000000000000..7a4d10358fb2
--- /dev/null
+++ b/textproc/py-jinjanator/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752064750
+SHA256 (jinjanator-25.2.0.tar.gz) = d3df38c267f9274ad5460a4f29b88b460de40a9155dfc9b28633c38ac42df766
+SIZE (jinjanator-25.2.0.tar.gz) = 30538
diff --git a/textproc/py-jinjanator/files/patch-pyproject.toml b/textproc/py-jinjanator/files/patch-pyproject.toml
new file mode 100644
index 000000000000..bd3163fa6db1
--- /dev/null
+++ b/textproc/py-jinjanator/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-07-10 10:14:00 UTC
++++ pyproject.toml
+@@ -3,7 +3,7 @@ requires = [
+ requires = [
+ "hatch-fancy-pypi-readme",
+ "hatch-vcs",
+- "hatchling<1.27",
++ "hatchling<1.28",
+ ]
+
+ [project]
diff --git a/textproc/py-jinjanator/pkg-descr b/textproc/py-jinjanator/pkg-descr
new file mode 100644
index 000000000000..0da081605584
--- /dev/null
+++ b/textproc/py-jinjanator/pkg-descr
@@ -0,0 +1,3 @@
+Jinjanator is a CLI tool to render Jinja2 templates. It is a fork of j2cli,
+which itself was a fork of jinja2-cli, both of which are no longer actively
+maintained.