Date: Tue, 05 May 2026 19:07:55 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7e0da68c3a26 - main - www/py-python-fasthtml: New port: Fast way to create an HTML app Message-ID: <69fa400b.3d51d.828194f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e0da68c3a26c84550da9a0091e9a7e0d7ed2e80 commit 7e0da68c3a26c84550da9a0091e9a7e0d7ed2e80 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-05-05 18:37:17 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-05-05 19:07:46 +0000 www/py-python-fasthtml: New port: Fast way to create an HTML app --- www/Makefile | 1 + www/py-python-fasthtml/Makefile | 34 +++++++++++++++++++++++ www/py-python-fasthtml/distinfo | 3 ++ www/py-python-fasthtml/files/patch-pyproject.toml | 10 +++++++ www/py-python-fasthtml/pkg-descr | 3 ++ 5 files changed, 51 insertions(+) diff --git a/www/Makefile b/www/Makefile index 78bd5bb62793..645e9725ca51 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1908,6 +1908,7 @@ SUBDIR += py-pysmartdl SUBDIR += py-python-digitalocean SUBDIR += py-python-dotenv + SUBDIR += py-python-fasthtml SUBDIR += py-python-multipart SUBDIR += py-pyweblib SUBDIR += py-pywebview-gtk diff --git a/www/py-python-fasthtml/Makefile b/www/py-python-fasthtml/Makefile new file mode 100644 index 000000000000..e17511c3e542 --- /dev/null +++ b/www/py-python-fasthtml/Makefile @@ -0,0 +1,34 @@ +PORTNAME= python-fasthtml +DISTVERSION= 0.13.4 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast way to create an HTML app +WWW= https://www.fastht.ml/docs/ \ + https://github.com/AnswerDotAI/fasthtml + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastcore>=1.12.41:devel/py-fastcore@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}fastlite>=0.1.1:devel/py-fastlite@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}oauthlib>0:security/py-oauthlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-multipart>0:www/py-python-multipart@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}starlette>=1.0:www/py-starlette@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uvicorn>=0.30:www/py-uvicorn@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-python-fasthtml/distinfo b/www/py-python-fasthtml/distinfo new file mode 100644 index 000000000000..ca32a6bc68b3 --- /dev/null +++ b/www/py-python-fasthtml/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1777858049 +SHA256 (python_fasthtml-0.13.4.tar.gz) = 33774a8f7ba81c17d2d736cc90cabdf9eb64506c7bf7bb9c192ef6196a752604 +SIZE (python_fasthtml-0.13.4.tar.gz) = 73456 diff --git a/www/py-python-fasthtml/files/patch-pyproject.toml b/www/py-python-fasthtml/files/patch-pyproject.toml new file mode 100644 index 000000000000..ff2fa93354c5 --- /dev/null +++ b/www/py-python-fasthtml/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +-- Remove version constraint on setuptools to be compatible with the port. +--- pyproject.toml.orig 2026-05-04 01:27:44 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64"] ++requires = ["setuptools"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/www/py-python-fasthtml/pkg-descr b/www/py-python-fasthtml/pkg-descr new file mode 100644 index 000000000000..ecf1ee6b3113 --- /dev/null +++ b/www/py-python-fasthtml/pkg-descr @@ -0,0 +1,3 @@ +FastHTML is a Python web framework for building web applications rapidly +using HTML components. It provides an expressive, Pythonic interface to +create ASGI applications with minimal boilerplate.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69fa400b.3d51d.828194f>
