mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-covdefaults: Update to 2.3.0.
* gnu/packages/python-check.scm (python-covdefaults): Update to 2.3.0. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [propagated-inputs]: Add python-coverage. [native-inputs]: Remove python-coverage; add python-setuptools. Change-Id: Ic962c330b1c13fedc8b86f97c7138f1b533912f0
This commit is contained in:
parent
b5ffd96e0e
commit
f8cce36a80
1 changed files with 10 additions and 9 deletions
|
@ -397,7 +397,7 @@ code quality.")
|
||||||
(define-public python-covdefaults
|
(define-public python-covdefaults
|
||||||
(package
|
(package
|
||||||
(name "python-covdefaults")
|
(name "python-covdefaults")
|
||||||
(version "1.1.0")
|
(version "2.3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; The PyPI tarball does not include tests.
|
;; The PyPI tarball does not include tests.
|
||||||
|
@ -407,16 +407,17 @@ code quality.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "11a24c0wzv01n55fy4kdpnyqna4m9k0mp58kmhiaks34xw4k37hq"))))
|
(base32 "1b34zkn7g66iavjxdy8hg25ab56bafgsqizf6l1anszncayal6px"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
;; 88 passed, 1 deselected
|
||||||
(modify-phases %standard-phases
|
;; AttributeError: type object 'Plugins' has no attribute 'load_plugins'
|
||||||
(replace 'check
|
(list #:test-flags #~(list "-k" "not test_coverage_init")))
|
||||||
(lambda _
|
|
||||||
(invoke "pytest" "-vv"))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coverage python-pytest))
|
(list python-pytest
|
||||||
|
python-setuptools))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-coverage))
|
||||||
(home-page "https://github.com/asottile/covdefaults")
|
(home-page "https://github.com/asottile/covdefaults")
|
||||||
(synopsis "Coverage plugin to provide opinionated default settings")
|
(synopsis "Coverage plugin to provide opinionated default settings")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue