mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-pycountry: Remove coverage input.
* gnu/packages/iso-codes.scm (python-pycountry) [arguments]<#:phases>: Add phase 'ignore-pytest-civ-requirement. [native-inputs]: Rmove python-pytest-cov. [description]: Improve style.
This commit is contained in:
parent
c6ec42174e
commit
94b9dce648
1 changed files with 20 additions and 11 deletions
|
|
@ -224,19 +224,28 @@ 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 'ignore-pytest-cov-requirement
|
||||
(lambda _ ; Removes the need for python-pytest-cov.
|
||||
(substitute* "pyproject.toml"
|
||||
(("^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
|
||||
"@code{pycountry} provides the ISO databases for the standards:
|
||||
@enumerate
|
||||
@item 639-3 (Languages)
|
||||
@item 3166 (Countries)
|
||||
@item 3166-3 (Deleted Countries)
|
||||
@item 3166-2 (Subdivisions of countries)
|
||||
@item 4217 (Currencies)
|
||||
@item 15924 (Scripts)
|
||||
@end enumerate
|
||||
It includes a copy from Debian’s pkg-isocodes and makes the data accessible
|
||||
through a Python API.")
|
||||
@enumerate
|
||||
@item 639-3 (Languages)
|
||||
@item 3166 (Countries)
|
||||
@item 3166-3 (Deleted Countries)
|
||||
@item 3166-2 (Subdivisions of countries)
|
||||
@item 4217 (Currencies)
|
||||
@item 15924 (Scripts)
|
||||
@end enumerate
|
||||
It includes a copy from Debian’s pkg-isocodes and makes the data accessible
|
||||
through a Python API.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue