From 7d4c92e1ead9aa6dccd24d05764c0b2d40524e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Wed, 15 Jan 2025 10:35:41 +0800 Subject: [PATCH] gnu: python-cssutils: Update to 2.11.1. * gnu/packages/python-web.scm (python-cssutils): Update to 2.11.1. [propagated-inputs]: Add python-more-itertools. [inputs]: Add python-cssselect and python-lxml. Change-Id: I4832cd718fade9986df6bd7e82fe3e886e452a19 --- gnu/packages/python-web.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7785c798095ff09cf0bb88acd398742cbdedd352..3aa1f797c21fb1289addacfcf24a6aaebc03e0bc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2885,14 +2885,14 @@ for clients and servers.") (define-public python-cssutils (package (name "python-cssutils") - (version "2.6.0") + (version "2.11.1") (source (origin (method url-fetch) (uri (pypi-uri "cssutils" version)) (sha256 (base32 - "13l1y0xr3fgbl95w3pinb5av5dqk2ip39pih6vgrz47c3hyd5p7p")))) + "1qpq7xvzqp4cfcb8837rnd30x4hws3rkp33qpvmnxbxn2djsfqq5")))) (build-system pyproject-build-system) (arguments (list @@ -2901,12 +2901,17 @@ for clients and servers.") (replace 'check (lambda _ (invoke "pytest" "-vv" "-k" - ;; disable tests requiring network - (string-append "not test_parseUrl " - "and not encutils " + (string-append "not encutils " "and not website.logging"))))))) (native-inputs - (list python-pytest python-jaraco-test python-setuptools python-wheel)) + (list python-cssselect + python-jaraco-test + python-lxml + python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-more-itertools)) (home-page "https://github.com/jaraco/cssutils") (synopsis "CSS Cascading Style Sheets library for Python")