guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit dce5228eb3ded2afc424a75e2115914569566336
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 30 00:11:28 2025 +0000
gnu: python-polib: Update to 1.2.0.
* gnu/packages/python-xyz.scm (python-polib): Update to 1.2.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend, test-flags>: Use custom.
[native-inputs]: Remove python-setuptools-67; add python-setuptools.
Change-Id: Ic0781173b3c657050dd906a53c97bc4833f95eb0
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9a8d9e678c..904078c629 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7235,16 +7235,23 @@ formats, including:
(define-public python-polib
(package
(name "python-polib")
- (version "1.1.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "polib" version))
- (sha256
- (base32
- "0aikb8gcarhifn3sadrbbs5czagih9hjv250gsrgy9v1d49pvn7s"))))
- (build-system python-build-system)
- (native-inputs (list python-setuptools-67))
- (home-page "https://bitbucket.org/izi/polib/wiki/Home")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/izimobil/polib/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "12n2skqj2qydcjp1r2ppzjcfc0fx4l23061x8bfqxx5pdvhnfpyb"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "tests/tests.py")))
+ (native-inputs
+ (list python-setuptools))
+ (home-page "https://github.com/izimobil/polib/")
(synopsis "Manipulate, create and modify gettext files")
(description "Polib can manipulate any gettext format (po, pot and mo)
files. It can be used to create po files from scratch or to modify