mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
3ff5f9b3dd
commit
aa06cb2819
2 changed files with 42 additions and 42 deletions
|
@ -383,6 +383,48 @@ Features:
|
||||||
numerical optimization package.")
|
numerical optimization package.")
|
||||||
(license license:asl2.0)))
|
(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
|
(define-public python-qdldl
|
||||||
(package
|
(package
|
||||||
(name "python-qdldl")
|
(name "python-qdldl")
|
||||||
|
|
|
@ -2152,48 +2152,6 @@ Java objects.")
|
||||||
Markdown. All extensions are found under the module namespace of pymdownx.")
|
Markdown. All extensions are found under the module namespace of pymdownx.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(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-plotext
|
(define-public python-plotext
|
||||||
(package
|
(package
|
||||||
(name "python-plotext")
|
(name "python-plotext")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue