summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-10-05 09:03:22 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 13:55:22 +0100
commitbb6da5668922db7fe87aa9bc174e5e226f4d9200 (patch)
tree5d2949d237457403e5618cea221c9cedc2680d6f /gnu/packages/python-xyz.scm
parent94ee99ba6b2ddaf2856c19ff902a14977e4bd8bd (diff)
gnu: python-quicktions: Update to 1.22.
* gnu/packages/python-xyz.scm (python-quicktions): Update to 1.22. [source] <origin>: Switch to git-fetch. <snippet: Remove it as no longer required.. [build-system]: Switch to pyproject-build-system. [arguments]: Remove #:phases. [native-inputs]: Add python-setuptools. Change-Id: I36bf05328539c13e942589584973ec3fe124a505 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm33
1 files changed, 9 insertions, 24 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 00a0f31ab3..0c6ca07d9c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35339,35 +35339,20 @@ runs on, such as a reliable machine-readable ID, or version information.")
(define-public python-quicktions
(package
(name "python-quicktions")
- (version "1.11")
+ (version "1.22")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "quicktions" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/scoder/quicktions")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1px21a6x527i1bsr2p6bbf3jziqpvd1vjkvvzh13gsy4iip0yvzn"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- ;; This file is generated by Cython.
- (delete-file "src/quicktions.c") #t))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'cythonize-sources
- (lambda _
- (with-directory-excursion "src"
- (invoke "cython" "quicktions.pyx"))))
- (replace 'check
- (lambda* (#:key tests? inputs outputs #:allow-other-keys)
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest"))
- #t)))))
+ "0kmbhbmz8cjsjp0lqmsi6a2imr4g9wy8rpfdwzghhs8hb6wj5gwy"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-cython python-pytest))
+ (list python-cython python-pytest python-setuptools))
(home-page "https://github.com/scoder/quicktions")
(synopsis "Fast fractions data type for rational numbers")
(description