gnu: python-btrees: Update to 6.1.

* gnu/packages/python-web.scm (python-btrees): Update to 6.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools.

Change-Id: Iaec2b40f6b311592b43d982e9de0da10653d548d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 00:23:59 +02:00 committed by Sharlatan Hellseher
parent 4aeb265d95
commit f8d127eccf
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -9376,19 +9376,29 @@ a database such as the ZODB.")
(define-public python-btrees (define-public python-btrees
(package (package
(name "python-btrees") (name "python-btrees")
(version "4.7.2") (version "6.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "BTrees" version)) (uri (git-reference
(url "https://github.com/zopefoundation/BTrees")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0vcibmd725ddgsl5yzmi8d403day3796h82xlq84w91xbdrbd5d5"))))
"0iiq0g9k1g6qgqq84q9h6639vlvzznk1rgdm0rfcnnqkbkmsbr3w")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments
(propagated-inputs (list
(list python-persistent python-zope-interface)) #:phases
(native-inputs #~(modify-phases %standard-phases
(list python-persistent python-transaction python-zope-testrunner)) (replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "zope-testrunner" "--test-path=src")
(format #t "test suite not run~%")))))))
(propagated-inputs (list python-persistent python-zope-interface))
(native-inputs (list python-persistent python-transaction
python-zope-testrunner python-setuptools))
(home-page "https://github.com/zopefoundation/BTrees") (home-page "https://github.com/zopefoundation/BTrees")
(synopsis "Scalable persistent object containers") (synopsis "Scalable persistent object containers")
(description (description