guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 764e967f2da55e71cf2ca8330e5046b828c6e0eb
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Oct 27 22:51:43 2025 +0100
gnu: python-forbiddenfruit: Update to 0.1.4.
* gnu/packages/python-xyz.scm (python-forbiddenfruit): Update to 0.1.4.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Improve phase 'check.
[native-inputs]: Add python-setuptools. Replace python-nose by
python-pynose.
Change-Id: I6e3e8a788b8334d714c440f1f126449ac98b15d9
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 397cccee34..c464556591 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29681,26 +29681,26 @@ memoization.")
(define-public python-forbiddenfruit
(package
(name "python-forbiddenfruit")
- (version "0.1.3")
+ (version "0.1.4")
(source
(origin
- ;; Source tarball on PyPi lacks Makefile that builds and runs tests
(method git-fetch)
(uri (git-reference
(url "https://github.com/clarete/forbiddenfruit")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1fp2xvdqpi910j9r3q68x38phpxbm700gjdi2m2j5gs91xdnyyh2"))))
- (build-system python-build-system)
+ (base32 "16chhrxbbmg6lfbzm532fq0v00z8qihcsj0kg2b5jlgnb6qijwn8"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "make" "SKIP_DEPS=1"))))))
- (native-inputs
- (list python-nose python-coverage))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "SKIP_DEPS=1")))))))
+ (native-inputs (list python-coverage python-pynose python-setuptools))
(home-page "https://github.com/clarete/forbiddenfruit")
(synopsis "Patch python built-in objects")
(description "This project allows Python code to extend built-in types.")