git: ca2b74a2b890 - main - textproc/py-yte: New port: YAML template engine with Python expressions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Apr 2026 17:49:47 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ca2b74a2b89068551c1d008a8b3d53a86eee8e7b
commit ca2b74a2b89068551c1d008a8b3d53a86eee8e7b
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-19 17:47:46 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-19 17:49:34 +0000
textproc/py-yte: New port: YAML template engine with Python expressions
---
textproc/Makefile | 1 +
textproc/py-yte/Makefile | 24 ++++++++++++++++++++++++
textproc/py-yte/distinfo | 3 +++
textproc/py-yte/pkg-descr | 3 +++
4 files changed, 31 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 8c7e709cec6b..b21ef54981ea 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1772,6 +1772,7 @@
SUBDIR += py-xmlschema
SUBDIR += py-yapf
SUBDIR += py-youseedee
+ SUBDIR += py-yte
SUBDIR += py-zensical
SUBDIR += py-zope.i18nmessageid
SUBDIR += py-zpt
diff --git a/textproc/py-yte/Makefile b/textproc/py-yte/Makefile
new file mode 100644
index 000000000000..f27d7e4b038f
--- /dev/null
+++ b/textproc/py-yte/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= yte
+DISTVERSION= 1.9.4
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= YAML template engine with Python expressions
+WWW= https://github.com/yte-template-engine/yte
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uv-build>0:devel/py-uv-build@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argparse-dataclass>=2.0.0:devel/py-argparse-dataclass@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dpath>=2.1:devel/py-dpath@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-yte/distinfo b/textproc/py-yte/distinfo
new file mode 100644
index 000000000000..3a6c768d1836
--- /dev/null
+++ b/textproc/py-yte/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1776617676
+SHA256 (yte-1.9.4.tar.gz) = 86a47e6d722cec9419a7ac88be57d0d6c4ce28f02860393b71a66f2c674069f6
+SIZE (yte-1.9.4.tar.gz) = 8101
diff --git a/textproc/py-yte/pkg-descr b/textproc/py-yte/pkg-descr
new file mode 100644
index 000000000000..72a414cdd783
--- /dev/null
+++ b/textproc/py-yte/pkg-descr
@@ -0,0 +1,3 @@
+yte is a YAML template engine with Python expressions. It enables
+embedding Python expressions in YAML files, which are evaluated during
+rendering to produce the final YAML output.