FreeBSD Bugzilla – Attachment 226713 Details for
Bug 257369
[NEW PORT] www/py-fastapi-users: Ready-to-use and customizable users management for FastAPI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fastapi-users.diff
fastapi-users.diff (text/plain), 3.82 KB, created by
Goran Mekić
on 2021-07-26 10:44:34 UTC
(
hide
)
Description:
fastapi-users.diff
Filename:
MIME Type:
Creator:
Goran Mekić
Created:
2021-07-26 10:44:34 UTC
Size:
3.82 KB
patch
obsolete
>diff --git a/www/Makefile b/www/Makefile >index 0cf35f0886f6..d95646eedf2b 100644 >--- a/www/Makefile >+++ b/www/Makefile >@@ -1588,6 +1588,7 @@ > SUBDIR += py-fake-useragent > SUBDIR += py-falcon > SUBDIR += py-fastapi >+ SUBDIR += py-fastapi-users > SUBDIR += py-feedgenerator > SUBDIR += py-flask > SUBDIR += py-flask-admin >diff --git a/www/py-fastapi-users/Makefile b/www/py-fastapi-users/Makefile >new file mode 100644 >index 000000000000..42032b47f45e >--- /dev/null >+++ b/www/py-fastapi-users/Makefile >@@ -0,0 +1,45 @@ >+PORTNAME= fastapi-users >+PORTVERSION= 6.1.1 >+CATEGORIES= www devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= meka@tilda.center >+COMMENT= Ready-to-use and customizable users management for FastAPI >+ >+LICENSE= MIT >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.2,<0.67.0:www/py-fastapi@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}databases>=0.3.0,<0.5:databases/py-databases@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}deprecated>=1.2.12,<2.0.0:devel/py-deprecated@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}makefun>=1.11.2,<1.12:devel/py-makefun@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1.0:www/py-pyjwt@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}email-validator>=1.1.0,<1.2:mail/py-email-validator@${PY_FLAVOR} >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}httpx-oauth>=0:www/py-httpx-oauth@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pymongo>=0:databases/pymongo@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}ormar>=0.10.1,<0.11.0:databases/py-ormar@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}asynctest>=0:devel/py-asynctest@${PY_FLAVOR} >+ >+USES= python:3.7+ >+USE_PYTHON= autoplist distutils >+ >+TEST_ENV= PYTHONPATH=${WRKSRC}/src >+ >+NO_ARCH= yes >+ >+# Tests require tortoise and newer motor >+# do-test: >+ # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= >+ >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} < 30800 >+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR} >+.endif >+ >+.include <bsd.port.post.mk> >diff --git a/www/py-fastapi-users/distinfo b/www/py-fastapi-users/distinfo >new file mode 100644 >index 000000000000..bf9031649ace >--- /dev/null >+++ b/www/py-fastapi-users/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1626889393 >+SHA256 (fastapi-users-6.1.1.tar.gz) = 6b4ae936bbe967bb41babc17a1eac8dedff3237153b96a661a11098ceec20a5c >+SIZE (fastapi-users-6.1.1.tar.gz) = 84818 >diff --git a/www/py-fastapi-users/pkg-descr b/www/py-fastapi-users/pkg-descr >new file mode 100644 >index 000000000000..0881f5ff6fb3 >--- /dev/null >+++ b/www/py-fastapi-users/pkg-descr >@@ -0,0 +1,19 @@ >+Add quickly a registration and authentication system to your FastAPI project. >+FastAPI Users is designed to be as customizable and adaptable as possible. >+Features: >+ * Extensible base user model >+ * Ready-to-use register, login, reset password and verify e-mail routes >+ * Ready-to-use social OAuth2 login flow >+ * Dependency callables to inject current user in route >+ * Pluggable password validation >+ * Customizable database backend >+ * SQLAlchemy async backend included thanks to encode/databases >+ * MongoDB async backend included thanks to mongodb/motor >+ * Tortoise ORM backend included >+ * ormar backend included >+ * Multiple customizable authentication backends >+ * JWT authentication backend included >+ * Cookie authentication backend included >+ * Full OpenAPI schema support, even with several authentication backends >+ >+WWW: https://github.com/frankie567/fastapi-users
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257369
:
226646
|
226710
|
226713
|
226715
|
230587
|
230603
|
231282
|
231304