gnu: python-cfgv: Update to 3.3.1.

* gnu/packages/python-xyz.scm (python-cfgv): Update to 3.3.1.
[arguments]: Respect TESTS? keyword in check phase.
[native-inputs]: Remove PYTHON-COVERAGE and PYTHON-COVDEFAULTS.
This commit is contained in:
Marius Bakke 2022-09-05 17:56:08 +02:00
parent 6ba66072e0
commit 9046adf8ef
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -22577,7 +22577,7 @@ Let's Encrypt.")
(define-public python-cfgv
(package
(name "python-cfgv")
(version "3.1.0")
(version "3.3.1")
(source
(origin
;; There are no tests in the PyPI tarball.
@ -22587,16 +22587,17 @@ Let's Encrypt.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1vvkkqw92sak4b28bpscpppq483amy52ch2yqy1i2m23q7xjkabx"))))
(base32 "1pci97cmn3v45sfch9s3lshidrl0309ls9byidic0l8drkwnkwcj"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "pytest" "-vv"))))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs
(list python-covdefaults python-coverage python-pytest))
(list python-pytest))
(home-page "https://github.com/asottile/cfgv")
(synopsis "Configuration validation library")
(description