Wednesday, March 25, 2026

Re: NEW: www/py-legacy-cgi

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>

No comments:

Post a Comment