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:
Marius Bakke 2022-01-12 16:37:27 +01:00
parent e5f1945e58
commit 4d10384f64
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -27810,17 +27810,22 @@ (define-public python-stripe
(define-public python-platformdirs
(package
(name "python-platformdirs")
(version "2.2.0")
(version "2.4.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "platformdirs" version))
(sha256
(base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3"))))
(base32 "1njz0h4iky8iglrb85cd07hpa3lp1a2dfr934dj65hxwzvfk61j4"))))
(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
(list python-appdirs python-pytest python-pytest-cov
python-pytest-mock))
(list python-appdirs python-pytest python-pytest-mock
python-setuptools-scm))
(home-page "https://github.com/platformdirs/platformdirs")
(synopsis "Determine the appropriate platform-specific directories")
(description "When writing applications, finding the right location to