www/py-fastapi-users: Update to 10.1.1

Changelog:
  * Fix get_oauth_associate_router import to keep OAuth dependencies optional.

PR:		264902
This commit is contained in:
Goran Mekić 2022-06-26 12:47:39 +02:00 committed by Li-Wen Hsu
parent 81b6452abb
commit 74729b04ff
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF
3 changed files with 5 additions and 10 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= fastapi-users
DISTVERSION= 10.0.7
DISTVERSION= 10.1.1
CATEGORIES= www devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,7 +13,7 @@ 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}
@ -45,10 +45,6 @@ OAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx-oauth>=0.3,<0.4:www/py-httpx-oau
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 <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30800

View File

@ -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

View File

@ -10,7 +10,6 @@ Features:
* 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