diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-10 00:08:05 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:01 +0100 |
| commit | a607f1e4918a4ad3e53b4c6394077d10e06def26 (patch) | |
| tree | be71e85bb2314324092ef303d65b15b9ff63393f /gnu/packages/python-xyz.scm | |
| parent | ed6f40668dec0ea49290220ce0378d6d4349a0a5 (diff) | |
gnu: python-mpmath: Update to 1.3.0.
* gnu/packages/python-xyz.scm (python-mpmath): Update to 1.3.0.
[build-system]: Use pyproject.
[arguments]: Drop them.
[native-inputs]: Add python-setuptools.
Change-Id: I35634503e612c6bd18ae5c1b1172e829359a3276
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 39 |
1 files changed, 14 insertions, 25 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 24a348fe19..f9ebf485e5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15772,32 +15772,21 @@ session, Python, and the OS.") (define-public python-mpmath (package (name "python-mpmath") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fredrik-johansson/mpmath") - (commit "c6a35f9ee7c294bcf4e0517bc76b268843db9499"))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ifw59fjjls3mas104rh0frilvab2fhk1dkjraxlqni5n9l676im")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'build 'set-version - (lambda _ - (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" ,version) - ;; ZIP does not support timestamps before 1980. - (setenv "SOURCE_DATE_EPOCH" "315532800"))) - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv"))))))) + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fredrik-johansson/mpmath") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "058ahp0z0gn0z1hwvggrmiir1xag6rzgrfgfg138kjnk5ml9q4gl")))) + (build-system pyproject-build-system) (native-inputs - (list python-pytest python-setuptools-scm)) + (list python-pytest + python-setuptools + python-setuptools-scm)) (home-page "https://mpmath.org") (synopsis "Arbitrary-precision floating-point arithmetic in python") (description |
