mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-platformdirs: Update to 2.4.1.
* gnu/packages/python-xyz.scm (python-platformdirs): Update to 2.4.1. [arguments]: Override check phase. [native-inputs]: Add PYTHON-SETUPTOOLS-SCM. Remove PYTHON-PYTEST-COV.
This commit is contained in:
parent
e5f1945e58
commit
4d10384f64
1 changed files with 9 additions and 4 deletions
|
@ -27810,17 +27810,22 @@ compatible with a wide range of versions of the Stripe API.")
|
||||||
(define-public python-platformdirs
|
(define-public python-platformdirs
|
||||||
(package
|
(package
|
||||||
(name "python-platformdirs")
|
(name "python-platformdirs")
|
||||||
(version "2.2.0")
|
(version "2.4.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "platformdirs" version))
|
(uri (pypi-uri "platformdirs" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3"))))
|
(base32 "1njz0h4iky8iglrb85cd07hpa3lp1a2dfr934dj65hxwzvfk61j4"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests? (invoke "pytest" "-vv")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-appdirs python-pytest python-pytest-cov
|
(list python-appdirs python-pytest python-pytest-mock
|
||||||
python-pytest-mock))
|
python-setuptools-scm))
|
||||||
(home-page "https://github.com/platformdirs/platformdirs")
|
(home-page "https://github.com/platformdirs/platformdirs")
|
||||||
(synopsis "Determine the appropriate platform-specific directories")
|
(synopsis "Determine the appropriate platform-specific directories")
|
||||||
(description "When writing applications, finding the right location to
|
(description "When writing applications, finding the right location to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue