git: 479ce2219d88 - main - misc/py-banks: New port: Prompt programming language
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jul 2026 05:20:33 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=479ce2219d8833a922b9643b6a15d676c7a9a340
commit 479ce2219d8833a922b9643b6a15d676c7a9a340
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-09 02:10:01 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-09 05:20:15 +0000
misc/py-banks: New port: Prompt programming language
---
misc/Makefile | 1 +
misc/py-banks/Makefile | 28 ++++++++++++++++++++++++++++
misc/py-banks/distinfo | 3 +++
misc/py-banks/pkg-descr | 4 ++++
4 files changed, 36 insertions(+)
diff --git a/misc/Makefile b/misc/Makefile
index cff68f06c77c..7b5e1082730c 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -459,6 +459,7 @@
SUBDIR += py-apache-beam
SUBDIR += py-ascii-magic
SUBDIR += py-ast-comments
+ SUBDIR += py-banks
SUBDIR += py-bce-python-sdk
SUBDIR += py-bitsandbytes
SUBDIR += py-boost-histogram
diff --git a/misc/py-banks/Makefile b/misc/py-banks/Makefile
new file mode 100644
index 000000000000..2fcd42cd9158
--- /dev/null
+++ b/misc/py-banks/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= banks
+PORTVERSION= 2.4.5
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Prompt programming language # not really a language
+WWW= https://masci.github.io/banks/ \
+ https://github.com/masci/banks
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}deprecated>0:devel/py-deprecated@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}filetype>=1.2.0:devel/py-filetype@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}griffe>0:textproc/py-griffe@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}platformdirs>0:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic2>0:devel/py-pydantic2@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-banks/distinfo b/misc/py-banks/distinfo
new file mode 100644
index 000000000000..0d46be92aff2
--- /dev/null
+++ b/misc/py-banks/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783562559
+SHA256 (banks-2.4.5.tar.gz) = ff575732fc67d5493a73c21e0d7268bc49e86fff02b0b8735e8efb9fcb9af3a4
+SIZE (banks-2.4.5.tar.gz) = 190822
diff --git a/misc/py-banks/pkg-descr b/misc/py-banks/pkg-descr
new file mode 100644
index 000000000000..d7990080e1dd
--- /dev/null
+++ b/misc/py-banks/pkg-descr
@@ -0,0 +1,4 @@
+Banks is a prompt programming language that enables structured prompt
+engineering for LLM applications. It provides a templating system and
+DSL for composing, managing, and optimizing prompts used with large
+language models.