summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-21 00:23:59 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:40 +0100
commitf8d127eccf1db9d22f589e566a8aa968cf9518f7 (patch)
tree209a4d92e319e21a7e8fb9bc85df1314b7a7ab4a
parent4aeb265d9591d849d332a5eb22a2347962745cda (diff)
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>
-rw-r--r--gnu/packages/python-web.scm34
1 files changed, 22 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 80609154c1..1b985b555f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9376,19 +9376,29 @@ a database such as the ZODB.")
(define-public python-btrees
(package
(name "python-btrees")
- (version "4.7.2")
+ (version "6.1")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "BTrees" version))
- (sha256
- (base32
- "0iiq0g9k1g6qgqq84q9h6639vlvzznk1rgdm0rfcnnqkbkmsbr3w"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-persistent python-zope-interface))
- (native-inputs
- (list python-persistent python-transaction python-zope-testrunner))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zopefoundation/BTrees")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0vcibmd725ddgsl5yzmi8d403day3796h82xlq84w91xbdrbd5d5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (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")
(synopsis "Scalable persistent object containers")
(description