diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 07:27:22 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 07:27:22 +0000 |
| commit | 85d5fe50bb654acea84f44ffb1b99a9b67f3eb8e (patch) | |
| tree | a5a9e1dd2f5fe188c28012f55c5da8614a49cbc3 | |
| parent | 71ab63bb8d85f8c9f72379904c642404310c96fa (diff) | |
www/py-scalar-fastapi: New port: Beautiful API reference for FastAPI
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/py-scalar-fastapi/Makefile | 22 | ||||
| -rw-r--r-- | www/py-scalar-fastapi/distinfo | 3 | ||||
| -rw-r--r-- | www/py-scalar-fastapi/pkg-descr | 4 |
4 files changed, 30 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 2ec7439f97e5..5bbad8ef75c6 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1949,6 +1949,7 @@ SUBDIR += py-rolo SUBDIR += py-routes SUBDIR += py-rules + SUBDIR += py-scalar-fastapi SUBDIR += py-scgi SUBDIR += py-scrapy SUBDIR += py-seafdav diff --git a/www/py-scalar-fastapi/Makefile b/www/py-scalar-fastapi/Makefile new file mode 100644 index 000000000000..563df4107359 --- /dev/null +++ b/www/py-scalar-fastapi/Makefile @@ -0,0 +1,22 @@ +PORTNAME= scalar-fastapi +PORTVERSION= 1.8.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= scalar_fastapi-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Beautiful API reference for FastAPI +WWW= https://github.com/scalar/scalar \ + https://scalar.com/ + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-scalar-fastapi/distinfo b/www/py-scalar-fastapi/distinfo new file mode 100644 index 000000000000..b78054f5f405 --- /dev/null +++ b/www/py-scalar-fastapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783087328 +SHA256 (scalar_fastapi-1.8.2.tar.gz) = 0de09b8c63f78c1052792faa200d740b2ccaeeb88ac54e7ea633ac4edc6fde82 +SIZE (scalar_fastapi-1.8.2.tar.gz) = 8371 diff --git a/www/py-scalar-fastapi/pkg-descr b/www/py-scalar-fastapi/pkg-descr new file mode 100644 index 000000000000..78a2781f1d05 --- /dev/null +++ b/www/py-scalar-fastapi/pkg-descr @@ -0,0 +1,4 @@ +Scalar FastAPI provides an easy way to render beautiful API reference +documentation based on OpenAPI/Swagger specifications in FastAPI +applications. It integrates the Scalar API reference UI as an +alternative to the default Swagger UI and ReDoc. |
