diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-03-16 19:58:58 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-03-16 20:29:23 +0000 |
commit | aa06cb2819dae2d84000eaebaf847e6a863f8e2b (patch) | |
tree | 06a94e03b1b4ca2cbcfd5a9965ffee6fa897c17f /gnu/packages/python-science.scm | |
parent | 3ff5f9b3dd05a464b8260717be50d46153d53961 (diff) |
gnu: python-pint: Move to python-science.
* gnu/packages/python-xyz.scm (python-pint): Move from here ...
* gnu/packages/python-science.scm: ... to here.
Change-Id: Iabfce6ac788e01d42307a678979077cd61618693
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r-- | gnu/packages/python-science.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 3afa0846c2..58abc3acee 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -383,6 +383,48 @@ Features: numerical optimization package.") (license license:asl2.0))) +(define-public python-pint + (package + (name "python-pint") + (version "0.24.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pint" version)) + (sha256 + (base32 "100vp5jg2sqj5wxaflj1rqjv2pk4fd55l2h2sdn7m0vlnlwm89rm")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "--ignore=pint/testsuite/benchmarks") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; PermissionError: [Errno 13] Permission denied: + ;; '/homeless-shelter' + (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-pytest + python-pytest-mpl + python-pytest-subtests + python-setuptools + python-setuptools-scm + python-wheel)) + (propagated-inputs + (list python-flexcache + python-flexparser + python-platformdirs + python-typing-extensions)) + (home-page "https://github.com/hgrecco/pint") + (synopsis "Physical quantities module") + (description + "Pint is a Python package to define, operate and manipulate physical +quantities: the product of a numerical value and a unit of measurement. It +allows arithmetic operations between them and conversions from and to +different units.") + (license license:bsd-3))) + (define-public python-qdldl (package (name "python-qdldl") |