git: 6e914783084e - main - www/py-lia-web: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Aug 2025 15:25:44 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6e914783084ee5369ba8b470f04acc477827172f
commit 6e914783084ee5369ba8b470f04acc477827172f
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-08-16 15:11:54 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-08-16 15:11:54 +0000
www/py-lia-web: New port
Write once, run everywhere - A universal web framework adapter for
Python that lets you write code once and use it across multiple web
frameworks.
Lia provides a unified interface for common web framework operations,
allowing you to write framework-agnostic code that can be easily adapted
to work with FastAPI, Flask, Django, and other popular Python web
frameworks.
MFH: 2025Q3 (required for py-dj52-strawberry-graphql update)
---
www/Makefile | 1 +
www/py-lia-web/Makefile | 23 +++++++++++++++++++++++
www/py-lia-web/distinfo | 3 +++
www/py-lia-web/pkg-descr | 6 ++++++
4 files changed, 33 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index cfe75dc07690..917c626d1bbb 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1834,6 +1834,7 @@
SUBDIR += py-legacy-cgi
SUBDIR += py-lektor
SUBDIR += py-lesscpy
+ SUBDIR += py-lia-web
SUBDIR += py-libsass
SUBDIR += py-limits
SUBDIR += py-livereload
diff --git a/www/py-lia-web/Makefile b/www/py-lia-web/Makefile
new file mode 100644
index 000000000000..8745961f7679
--- /dev/null
+++ b/www/py-lia-web/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= lia-web
+DISTVERSION= 0.2.3
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= lia_web-${DISTVERSION}
+
+MAINTAINER= kai@FreeBSD.org
+COMMENT= Library for working with web frameworks
+WWW= https://github.com/patrick91/lia
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.14.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-lia-web/distinfo b/www/py-lia-web/distinfo
new file mode 100644
index 000000000000..ce930078b119
--- /dev/null
+++ b/www/py-lia-web/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755334977
+SHA256 (lia_web-0.2.3.tar.gz) = ccc9d24cdc200806ea96a20b22fb68f4759e6becdb901bd36024df7921e848d7
+SIZE (lia_web-0.2.3.tar.gz) = 156761
diff --git a/www/py-lia-web/pkg-descr b/www/py-lia-web/pkg-descr
new file mode 100644
index 000000000000..62ab0f8fefec
--- /dev/null
+++ b/www/py-lia-web/pkg-descr
@@ -0,0 +1,6 @@
+Write once, run everywhere - A universal web framework adapter for Python that
+lets you write code once and use it across multiple web frameworks.
+
+Lia provides a unified interface for common web framework operations, allowing
+you to write framework-agnostic code that can be easily adapted to work with
+FastAPI, Flask, Django, and other popular Python web frameworks.