Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
NEW: py-uvicorn, to enable py-httpx tests
To:
ports <ports@openbsd.org>
Cc:
Daniel Dickman <didickman@gmail.com>
Date:
Wed, 14 May 2025 08:24:57 +0100

Download raw body.

Thread
Attached are two new ports to extract in www/: py-uvicorn, py-httptools.
With these, py-httpx tests can be enabled.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-httpx/Makefile,v
diff -u -p -r1.3 Makefile
--- Makefile	21 Dec 2024 11:39:13 -0000	1.3
+++ Makefile	14 May 2025 07:23:23 -0000
@@ -1,6 +1,6 @@
 COMMENT =		fully featured HTTP client library
 
-MODPY_DISTV =	0.27.0
+MODPY_DISTV =		0.27.0
 DISTNAME =		httpx-${MODPY_DISTV}
 PKGNAME =		py-${DISTNAME}
 REVISION =		1
@@ -26,7 +26,9 @@ RUN_DEPENDS =		devel/py-certifi \
 			net/py-anyio \
 			net/py-idna \
 			www/py-httpcore
-# needs uvicorn
-TEST_DEPENDS =		security/py-trustme
+
+TEST_DEPENDS =		security/py-trustme \
+			textproc/py-chardet \
+			www/py-uvicorn
 
 .include <bsd.port.mk>