guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 8c7daa1e57bf678d730ccf2cfc6a7788d7bc7b86
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 27 18:29:34 2025 +0200

    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 <[email protected]>
---
 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 6de45208d4..c6e08b9f9d 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:

Reply via email to