diff options
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 33 |
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 |
