git: 23354edbd3b8 - main - www/py-fastapi-users: Update to 11.0.0

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 09 May 2023 08:32:33 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23354edbd3b89abe49b51904cd93cd801d6a7e92

commit 23354edbd3b89abe49b51904cd93cd801d6a7e92
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2023-05-06 09:36:47 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-05-09 08:27:49 +0000

    www/py-fastapi-users: Update to 11.0.0
    
    Changelog: https://github.com/fastapi-users/fastapi-users/releases/tag/v11.0.0
    
    PR:             271274
---
 www/py-fastapi-users/Makefile | 17 +++++++++--------
 www/py-fastapi-users/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/www/py-fastapi-users/Makefile b/www/py-fastapi-users/Makefile
index 941686c4e6cc..8d686d374e0a 100644
--- a/www/py-fastapi-users/Makefile
+++ b/www/py-fastapi-users/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	fastapi-users
-DISTVERSION=	10.1.5
-PORTREVISION=	2
+DISTVERSION=	11.0.0
 CATEGORIES=	www devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	fastapi_users-${DISTVERSION}
 
 MAINTAINER=	meka@tilda.center
 COMMENT=	Ready-to-use and customizable users management for FastAPI
@@ -13,24 +13,25 @@ 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.4:mail/py-email-validator@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}email-validator>=1.1.0,<2.1:mail/py-email-validator@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.2:www/py-fastapi@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}makefun>=1.11.2,<2.0: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} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${PY_FLAVOR} \
+		${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/py-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}
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
 
 TEST_ENV=	PYTHONPATH=${WRKSRC}/src
+TEST_ARGS=	--ignore=tests/test_authentication_strategy_redis.py \
+		--ignore=test_build.py
 
 NO_ARCH=	yes
 
diff --git a/www/py-fastapi-users/distinfo b/www/py-fastapi-users/distinfo
index 636e48f55961..6cdd9e36d53d 100644
--- a/www/py-fastapi-users/distinfo
+++ b/www/py-fastapi-users/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664708084
-SHA256 (fastapi-users-10.1.5.tar.gz) = 47cb99eef18eea654170674f5a86c4bed898a6ee666b45007f9805e687ff32f5
-SIZE (fastapi-users-10.1.5.tar.gz) = 116406
+TIMESTAMP = 1683363989
+SHA256 (fastapi_users-11.0.0.tar.gz) = f4a8319a2f72121355ceb8d36e4c48672a62444792cd6889c4e5f89c9111d5a5
+SIZE (fastapi_users-11.0.0.tar.gz) = 118080