guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 6249485f390bf9e7458b211eb7fe92a0a7c9196b
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Wed Dec 17 09:58:10 2025 +0100
gnu: python-roman: Update to 5.2.
* gnu/packages/python-xyz.scm (python-roman): Update to 5.2.
[source]: Switch to git-fetch for tests.
[build-system]: Switch to python-pyproject.
[arguments]<#:test-backend>: Switch to unittest.
[native-inputs]: Add python-setuptools.
[license]: Switch to ZPL 2.1.
Change-Id: I0edd6ceeb26561e512db1da5660a8ebdd8de64ec
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 426b141766..a9909a42bb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8218,21 +8218,28 @@ cutting and pasting that code over and over.")
(define-public python-roman
(package
(name "python-roman")
- (version "3.3")
+ (version "5.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "roman" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zopefoundation/roman")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0gyp2bmw47jgpm8j64gydzqq838bgxz5gh6cm57lxlr7p26sqiic"))))
- (build-system python-build-system)
+ "0zvg6pmv0yxm0b96dx104jzlxnsi3wy4swbj1lmc3mym5nahgp36"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/zopefoundation/roman")
(synopsis "Integer to Roman numerals converter")
(description
"This package provides a small helper library to convert Arabic Numbers
to Roman Numerals.")
- (license license:psfl)))
+ (license license:zpl2.1)))
(define-public python-rollbar
(package