guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0c2c5fc8cf5a61f648ff150fc73a52fab547da27
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 27 18:42:28 2025 +0200
gnu: python-pycountry-20.7.3: Switch to git source.
* gnu/packages/iso-codes.scm (python-pycountry-20.7.3): Hide package.
[source]: Switch to git-fetch.
[native-inputs]: Replace inherited python-poetry-core by
python-setuptools.
Change-Id: Ie8832b0dddb3f83d14ea43bf80585aa8fa6739d1
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/iso-codes.scm | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 7c032ae3b6..000ea057b3 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -26,7 +26,6 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
- #:use-module (guix build-system python)
#:use-module (guix build-system pyproject)
#:use-module (gnu packages check)
#:use-module (gnu packages gettext)
@@ -243,13 +242,18 @@ concerned with representation of names for languages and
language groups.")
(license license:lgpl2.1+)))
(define-public python-pycountry-20.7.3
- (package
- (inherit python-pycountry)
- (name "python-pycountry")
- (version "20.7.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "pycountry" version))
- (sha256
- (base32 "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241"))))))
+ (hidden-package
+ (package
+ (inherit python-pycountry)
+ (name "python-pycountry")
+ (version "20.7.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pycountry/pycountry")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1aqzbdqvy3pg0x33ay099vriazs28v6kw7fwc8ajg3avdcws2mgm"))))
+ (native-inputs (list python-pytest python-pytest-cov
python-setuptools)))))