diff --git a/www/py-fastapi-users/Makefile b/www/py-fastapi-users/Makefile index 0338fb96e577..abe89c017340 100644 --- a/www/py-fastapi-users/Makefile +++ b/www/py-fastapi-users/Makefile @@ -1,58 +1,54 @@ PORTNAME= fastapi-users -DISTVERSION= 10.0.7 +DISTVERSION= 10.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 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}email-validator>=1.1.0,<1.3:mail/py-email-validator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.2:www/py-fastapi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}makefun>=1.11.2,<1.14:devel/py-makefun@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}makefun>=1.11.2,<1.15:devel/py-makefun@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1.0:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-multipart>=0.0.5:www/py-python-multipart@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asynctest>=0:devel/py-asynctest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx-oauth>=0:www/py-httpx-oauth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pymongo>=0:databases/pymongo@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} # Tests will need ${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils TEST_ENV= PYTHONPATH=${WRKSRC}/src NO_ARCH= yes OPTIONS_DEFINE= OAUTH OPTIONS_DEFAULT= SQLALCHEMY OPTIONS_GROUP= DATABASES OPTIONS_GROUP_DATABASES= SQLALCHEMY DATABASES_DESC= Database Support OAUTH_DESC= Authentication support via OAuth SQLALCHEMY_DESC= Support for SQL database through SQLAlchemy OAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx-oauth>=0.3,<0.4:www/py-httpx-oauth@${PY_FLAVOR} SQLALCHEMY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}databases>=0.3.0:databases/py-databases@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.0:databases/py-sqlalchemy14@${PY_FLAVOR} -# Tests require tortoise and newer motor -# do-test: - # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= - .include .if ${PYTHON_REL} < 30800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR} .endif .include diff --git a/www/py-fastapi-users/distinfo b/www/py-fastapi-users/distinfo index e23e8656b67c..1b01816335e0 100644 --- a/www/py-fastapi-users/distinfo +++ b/www/py-fastapi-users/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654728214 -SHA256 (fastapi-users-10.0.7.tar.gz) = f56dc687d99ea3574462d2e67596da5200695ed3a3eded2acd9f043b80feb534 -SIZE (fastapi-users-10.0.7.tar.gz) = 113531 +TIMESTAMP = 1656240272 +SHA256 (fastapi-users-10.1.1.tar.gz) = 94c59830874c52a9bcdfb5176d48d65922083802e7fd022692c179141369ccf2 +SIZE (fastapi-users-10.1.1.tar.gz) = 115815 diff --git a/www/py-fastapi-users/pkg-descr b/www/py-fastapi-users/pkg-descr index 74857534c461..0b51a9573400 100644 --- a/www/py-fastapi-users/pkg-descr +++ b/www/py-fastapi-users/pkg-descr @@ -1,19 +1,18 @@ 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/fastapi-users/fastapi-users