Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: NEW: www/py-legacy-cgi
To:
Kurt Mosiejczuk <kurt@cranky.work>, OpenBSD Ports <ports@openbsd.org>
Date:
Wed, 25 Mar 2026 15:08:01 +0000

Download raw body.

Thread
On 2026/03/25 14:48, Stuart Henderson wrote:
> In the cases you mentioned it is actually py-webob that is using cgi.
> And I think it will be breaking main functionality rather than just tests.

breaks functionality for py-webtest, but only tests for py-query

btw there is a newer py-query, which lists "Support (and require)
cssselect 1.2+" among the changelog entries, so we may need that
(we had cssselect 1.2+ since 7.5)

--- Makefile.orig
+++ Makefile	Wed Mar 25 14:57:07 2026
@@ -1,9 +1,8 @@
 COMMENT =		jquery-like library for python
 
-MODPY_DISTV =	1.4.3
+MODPY_DISTV =		2.0.1
 DISTNAME =		pyquery-${MODPY_DISTV}
 PKGNAME =		py-query-${MODPY_DISTV}
-REVISION =		7
 
 CATEGORIES =		www
 
@@ -21,6 +20,7 @@ MODPY_PYBUILD =		setuptools
 
 RUN_DEPENDS =		textproc/py-cssselect \
 			textproc/py-lxml
+MODPY_PYTEST_ARGS =	tests
 TEST_DEPENDS =		www/py-webtest
 
 .include <bsd.port.mk>