From 6249485f390bf9e7458b211eb7fe92a0a7c9196b Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Wed, 17 Dec 2025 09:58:10 +0100 Subject: [PATCH] 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 --- 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 426b141766eb87ea4fa06e6846cc8793818c438c..a9909a42bba7dbe1d946502ab86affc42d4ff021 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