From 8c7daa1e57bf678d730ccf2cfc6a7788d7bc7b86 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 27 Sep 2025 18:29:34 +0200 Subject: [PATCH] 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 --- gnu/packages/iso-codes.scm | 17 ++++++++++------- 1 file 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: