From 764e967f2da55e71cf2ca8330e5046b828c6e0eb Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 27 Oct 2025 22:51:43 +0100 Subject: [PATCH] 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 --- 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 397cccee343775ed9e53013ee8013b80d64c197f..c4645565915625142ce473f9ab5595c114ec2308 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.")