summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-27 18:39:51 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-27 23:25:47 +0100
commitfdf06879c760b6c99cae2cf5d8504d7dc6c2d254 (patch)
tree7729538812423ead487ce856479d8241138f6d26
parentc8cea00406d49a3d73a461c880894896a79b2374 (diff)
gnu: python-iso3166: Switch to pyproject.
* gnu/packages/iso-codes.scm (python-iso3166): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: I846061c4cba9edc9c795c8540c86dba02581ec5e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/iso-codes.scm13
1 files changed, 8 insertions, 5 deletions
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 49fd84da3c4..7c032ae3b65 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -197,12 +197,15 @@ concerned with representation of names for languages and language groups.")
(version "2.1.1")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "iso3166" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/deactivated/python-iso3166")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "068p94gavc8gbmp5a2kw8hi5l551wfzbpmp6z7ll8sx6vnw53mgw"))))
- (build-system python-build-system)
+ (base32 "0j0bnm4bd23cyb7dga00gb20myg9skylchkw4d23yh31b7a315m8"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/deactivated/python-iso3166")
(synopsis "Self-contained ISO 3166-1 country definitions")
(description "This package provides the ISO 3166-1 country definitions.")