diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-fastapi-sso/Makefile | 41 | ||||
-rw-r--r-- | www/py-fastapi-sso/distinfo | 3 | ||||
-rw-r--r-- | www/py-fastapi-sso/pkg-descr | 7 |
4 files changed, 52 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 9e93adab5a2e..0b9712076b56 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-fastapi-sso/Makefile b/www/py-fastapi-sso/Makefile new file mode 100644 index 000000000000..5d9f42189cb2 --- /dev/null +++ b/www/py-fastapi-sso/Makefile @@ -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> diff --git a/www/py-fastapi-sso/distinfo b/www/py-fastapi-sso/distinfo new file mode 100644 index 000000000000..8257cc9f32e0 --- /dev/null +++ b/www/py-fastapi-sso/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1757574194 +SHA256 (fastapi_sso-0.18.0.tar.gz) = d8df5a686af7a6a7be248817544b405cf77f7e9ffcd5d0d7d2a196fd071964bc +SIZE (fastapi_sso-0.18.0.tar.gz) = 16811 diff --git a/www/py-fastapi-sso/pkg-descr b/www/py-fastapi-sso/pkg-descr new file mode 100644 index 000000000000..42a9b02fd5b7 --- /dev/null +++ b/www/py-fastapi-sso/pkg-descr @@ -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. |