mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
gnu: python-pycountry: Remove coverage input.
* gnu/packages/iso-codes.scm (python-pycountry) [arguments]<#:phases>: Add phase 'fix-pytest-config. [native-inputs]: Rmove python-pytest-cov. [description]: Improve style. Change-Id: I8f04f2fb2a262dd7b8dffff1a6c73cea520a7117 Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Andreas Enge
parent
4869f4fe77
commit
b2867cf6b7
@@ -224,7 +224,18 @@ concerned with representation of names for languages and language groups.")
|
||||
(sha256
|
||||
(base32 "0qs99acz1vsj96s8pcwbnp3z3s01mzzvdayk7fm0nnl6lf3lz1g1"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs (list python-poetry-core python-pytest python-pytest-cov))
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-pytest-config
|
||||
(lambda _ ; Removes the need for python-pytest-cov.
|
||||
(substitute* "pyproject.toml"
|
||||
(("--cov --cov-report=html --cov-report=term-missing")
|
||||
"")
|
||||
(("^required_plugins =.*")
|
||||
"")))))))
|
||||
(native-inputs (list python-poetry-core python-pytest))
|
||||
(home-page "https://github.com/pycountry/pycountry")
|
||||
(synopsis "ISO databases for languages, countries, currencies, etc.")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user