summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-03-31 08:18:36 +0200
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:24 +0200
commite8cdc2d6fbaa1c3d4dfe89f1bf559b4561489042 (patch)
tree702d673c3c969bc74fa055a5153ab87633c5ea18 /gnu
parent0e5db833b349a68c3e05818fd5e1ded5b4bceb52 (diff)
gnu: python-pyquery: Update to 2.0.1.
* 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. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 558eb450dda..3a8d1b8c32d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21420,19 +21420,28 @@ project template.")
(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.