www/py-fastapi-sso: add port: FastAPI plugin to enable SSO to most common providers

FastAPI plugin to enable SSO to most common providers (such as
Facebook login, Google login and login via Microsoft Office 365
account).

This allows you to implement the famous Login with
Google/Facebook/Microsoft buttons functionality on your backend very
easily.

WWW: https://tomasvotava.github.io/fastapi-sso/
This commit is contained in:
Hiroki Tagato 2025-09-13 13:13:21 +09:00
parent de267d3724
commit 24a9e8ddd3
4 changed files with 52 additions and 0 deletions

View File

@ -1715,6 +1715,7 @@
SUBDIR += py-fake-useragent
SUBDIR += py-falcon
SUBDIR += py-fastapi
SUBDIR += py-fastapi-sso
SUBDIR += py-feedgen
SUBDIR += py-feedgenerator
SUBDIR += py-flasgger

View File

@ -0,0 +1,41 @@
PORTNAME= fastapi-sso
DISTVERSION= 0.18.0
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
MAINTAINER= tagattie@FreeBSD.org
COMMENT= FastAPI plugin to enable SSO to most common providers
WWW= https://tomasvotava.github.io/fastapi-sso/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0.80:www/py-fastapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0:www/py-httpx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}oauthlib>=3.1.0:security/py-oauthlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=1.8.0:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyjwt>=2.10.1<3:www/py-pyjwt@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist pep517
NO_ARCH= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.2<5:devel/py-typing-extensions@${PY_FLAVOR}
.endif
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1757574194
SHA256 (fastapi_sso-0.18.0.tar.gz) = d8df5a686af7a6a7be248817544b405cf77f7e9ffcd5d0d7d2a196fd071964bc
SIZE (fastapi_sso-0.18.0.tar.gz) = 16811

View File

@ -0,0 +1,7 @@
FastAPI plugin to enable SSO to most common providers (such as
Facebook login, Google login and login via Microsoft Office 365
account).
This allows you to implement the famous Login with
Google/Facebook/Microsoft buttons functionality on your backend very
easily.