diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-27 22:51:43 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 20:27:25 +0000 |
| commit | 764e967f2da55e71cf2ca8330e5046b828c6e0eb (patch) | |
| tree | a76fadf0c56efb995d50be253fc915b1ca332a19 | |
| parent | 14dcd29c10ac47585dd7868f0149d287b669b825 (diff) | |
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 <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 397cccee343..c4645565915 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.") |
