summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-27 18:29:34 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-27 23:25:47 +0100
commit8c7daa1e57bf678d730ccf2cfc6a7788d7bc7b86 (patch)
tree7674dc9eef1f249f9ea3969981581a202a33d113
parenta99b3b8c209833e84f1f3e76a439e2373a9a3daf (diff)
gnu: python-pycountry: Update to 24.6.1.
* gnu/packages/iso-codes.scm (python-pycountry): Update to 24.6.1. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-poetry-core, python-pytest, python-pytest-cov. [home-page]: Update them. Change-Id: Ic78b2ea3b268a0da80186647164072b4e1909083 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/iso-codes.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 6de45208d4f..c6e08b9f9d2 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -185,16 +185,19 @@ groups.")
(define-public python-pycountry
(package
(name "python-pycountry")
- (version "22.3.5")
+ (version "24.6.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pycountry" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pycountry/pycountry")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0ihnkh86zz01vi46gcwgq6h71jrpj7hq71zi13c98n2qdhj3l5mj"))))
- (build-system python-build-system)
- (home-page "https://bitbucket.org/flyingcircus/pycountry")
+ (base32 "0qs99acz1vsj96s8pcwbnp3z3s01mzzvdayk7fm0nnl6lf3lz1g1"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-poetry-core python-pytest python-pytest-cov))
+ (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: