guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#77400] [PATCH 08/26] gnu: python-pyquery: Update to 2.0.1.


From: Nicolas Graves
Subject: [bug#77400] [PATCH 08/26] gnu: python-pyquery: Update to 2.0.1.
Date: Mon, 31 Mar 2025 08:18:36 +0200

* gnu/packages/python-xyz.scm (python-pyquery): Update to 2.0.1.
[build-system]: Switch to pyproject-build-system.
[arguments]{test-flags}: Ignore a test that requires network access.
[native-inputs]: Add python-pytest, python-pytest-cov,
python-requests, python-setuptools, python-webob, python-webtest,
python-wheel.
[propagated-inputs]: Sort inputs.
---
 gnu/packages/python-xyz.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 545a867de3..57a62c5233 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21140,19 +21140,28 @@ (define-public python-cookiecutter
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-    (version "1.2.17")
+    (version "2.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyquery" version))
        (sha256
         (base32
-         "1xia20wm0vx5dk85kcwgh13bylz8qh47ffjxssd2586r60xi783a"))))
-    (build-system python-build-system)
+         "1brg6aawb9m5mdfmc6g7v5r6pczbx67r4l9cn5yh6bdi0qkvp501"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; This test requires network access.
+     (list #:test-flags #~(list "-k" "not test_get")))
     (native-inputs
-     (list python-webob python-webtest))
+     (list python-pytest
+           python-pytest-cov
+           python-requests
+           python-setuptools
+           python-webob
+           python-webtest
+           python-wheel))
     (propagated-inputs
-     (list python-lxml python-cssselect))
+     (list python-cssselect python-lxml))
     (home-page "https://github.com/gawel/pyquery";)
     (synopsis "Make jQuery-like queries on xml documents")
     (description "pyquery allows you to make jQuery queries on xml documents.
-- 
2.49.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]