M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +11 -11
@@ 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.")