mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-utils: Update to 3.9.1.
* gnu/packages/python-xyz.scm (python-utils): Update to 3.9.1. [source]: Adjust URI name as PyPI archive has been changed. [build-system]: Swap to pyproject-build-system. [arguments]<phases>: Add 'fix-pytest-config and use default 'check. [propagated-inputs]: Add python-loguru and python-typing-extensions. [native-inputs]: Remove labels. Remove python-pytest-runner and python-six; add python-setuptools and python-wheel. [description]: Fix fill column. Change-Id: I0365e3753e411363f117a35e972ff3e738ddb1ea
This commit is contained in:
parent
8062b35b36
commit
3b4713e4f3
1 changed files with 24 additions and 20 deletions
|
@ -25392,31 +25392,35 @@ point is the point of maximum curvature.")
|
||||||
(define-public python-utils
|
(define-public python-utils
|
||||||
(package
|
(package
|
||||||
(name "python-utils")
|
(name "python-utils")
|
||||||
(version "2.4.0")
|
(version "3.9.1")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "python-utils" version))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (pypi-uri "python_utils" version))
|
||||||
(base32
|
(sha256
|
||||||
"12c0glzkm81ljgf6pwh0d4rmdm1r7vvgg3ifzp8yp9cfyngw07zj"))))
|
(base32 "18292j4p1bvlpbrfj2cgkdby6dpgnl5gbjwly0qb4pj1j914nmzb"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(replace 'check
|
#~(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(add-after 'unpack 'fix-pytest-config
|
||||||
(add-installed-pythonpath inputs outputs)
|
(lambda _
|
||||||
(delete-file "pytest.ini")
|
;; Drop test coverage requirements.
|
||||||
(invoke "pytest" "-vv"))))))
|
(substitute* "pytest.ini"
|
||||||
|
((".*--cov.*") "")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pytest-runner" ,python-pytest-runner)
|
(list python-pytest
|
||||||
("pytest" ,python-pytest)
|
python-setuptools
|
||||||
("six" ,python-six)))
|
python-wheel))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-loguru
|
||||||
|
python-typing-extensions))
|
||||||
(home-page "https://github.com/WoLpH/python-utils")
|
(home-page "https://github.com/WoLpH/python-utils")
|
||||||
(synopsis "Convenient utilities not included with the standard Python install")
|
(synopsis "Convenient utilities not included with the standard Python install")
|
||||||
(description
|
(description
|
||||||
"Python Utils is a collection of small Python functions and classes which
|
"Python Utils is a collection of small Python functions and classes
|
||||||
make common patterns shorter and easier.")
|
which make common patterns shorter and easier.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python-diff-cover
|
(define-public python-diff-cover
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue