gnu: python-soupsieve: Update to 2.7.

* gnu/packages/python-xyz.scm (python-soupsieve): Update to 2.7.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Enable.
  <phases>: Keep 'sanity-check.
  [native-inputs]: Add python-beautifulsoup4-bootstrap,
  python-hatchling, and python-pytest.

Change-Id: Iaf299e23c70832e1d90b7dcaec4a2ab0f058c5af
This commit is contained in:
Sharlatan Hellseher 2025-08-09 12:33:36 +01:00
parent 1afb94ae48
commit 7c4cb10ac7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -15369,24 +15369,18 @@ converts incoming documents to Unicode and outgoing documents to UTF-8.")
(define-public python-soupsieve (define-public python-soupsieve
(package (package
(name "python-soupsieve") (name "python-soupsieve")
(version "2.2.1") (version "2.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "soupsieve" version)) (uri (pypi-uri "soupsieve" version))
(sha256 (sha256
(base32 (base32 "0shjmvk8yz2ljc16pmizg16bqhk1i8n5al27mlp6sa16d6djya5d"))))
"1k70gpn2d3vgdyxbdy536dgm4kchcraxz6lmgsfg3324iy2789q5")))) (build-system pyproject-build-system)
(build-system python-build-system) (native-inputs
(arguments (list python-beautifulsoup4-bootstrap
;;XXX: 2 tests fail currently despite claming they were to be python-hatchling
;;skipped. Also, beautifulsoup4 may depend on this in the future, so we python-pytest))
;;don't want to create a circular dependency.
(list #:tests? #f
#:phases
#~(modify-phases %standard-phases
;; Circular dependency with python-beautifulsoup4.
(delete 'sanity-check))))
(home-page "https://github.com/facelessuser/soupsieve") (home-page "https://github.com/facelessuser/soupsieve")
(synopsis "CSS selector library") (synopsis "CSS selector library")
(description (description