summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/py-httpx-oauth/Makefile11
-rw-r--r--www/py-httpx-oauth/distinfo6
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