git: ee2538bd6f16 - main - www/py-httpx-oauth: Update to 0.7.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 07 Jun 2022 19:55:50 UTC
The branch main has been updated by eduardo:

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

commit ee2538bd6f16912bb633591fa1c68f9760b935f5
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2022-06-07 19:52:40 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-06-07 19:55:22 +0000

    www/py-httpx-oauth: Update to 0.7.0
    
    ChangeLog: https://github.com/frankie567/httpx-oauth/releases/tag/v0.7.0
    
    PR:             264511
---
 www/py-httpx-oauth/Makefile | 11 ++++-------
 www/py-httpx-oauth/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/www/py-httpx-oauth/Makefile b/www/py-httpx-oauth/Makefile
index d875002543fa..ac0f6a84a030 100644
--- a/www/py-httpx-oauth/Makefile
+++ b/www/py-httpx-oauth/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	httpx-oauth
-DISTVERSION=	0.6.0
+DISTVERSION=	0.7.0
 CATEGORIES=	www devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,17 +13,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}respx>=0:www/py-respx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fastapi>=0:www/py-fastapi@${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
 
 NO_ARCH=	yes
 
-# Tests fail with current ports
-# do-test:
-	# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
-
 .include <bsd.port.mk>
diff --git a/www/py-httpx-oauth/distinfo b/www/py-httpx-oauth/distinfo
index 300d123661b8..aedb087e4146 100644
--- a/www/py-httpx-oauth/distinfo
+++ b/www/py-httpx-oauth/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650878664
-SHA256 (httpx-oauth-0.6.0.tar.gz) = 05049aa5369c771b4d605313e58045bcdd677952db4e5f3ca1bbcc38f9ad227f
-SIZE (httpx-oauth-0.6.0.tar.gz) = 20394
+TIMESTAMP = 1654556736
+SHA256 (httpx-oauth-0.7.0.tar.gz) = ea84b767274416cc23ce8213e81e8f85436d1526fa64c71a95942590eb0b67ca
+SIZE (httpx-oauth-0.7.0.tar.gz) = 20643