diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-25 01:11:18 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-31 12:24:15 +0000 |
| commit | b3f5f6cc2fc40bd9dd77ca7c1868c643a81d4679 (patch) | |
| tree | bf71454d38a67d7ff1930c4922b317c1f2a33a32 /gnu | |
| parent | d471ab83d490ebc46d8e4b182bda29379fef4658 (diff) | |
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>: Set them.
[native-inputs]: Add python-setuptools.
[home-page]: Refresh it;
[description]: Improve style.
Change-Id: If11e30028c3ede6301488801ffaecb591088f908
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7b2993b337..ae92515691 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7204,20 +7204,26 @@ 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 -existing ones.") + (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 existing ones.") (license license:expat))) (define-public python-polling2 |
