From 80820841e7977a4f2819405da4652fcff2186e7f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 10 Nov 2025 01:48:25 +0100 Subject: [PATCH] gnu: python-rnc2rng: Update to 2.7.0. * gnu/packages/python-xyz.scm (python-rnc2rng): Update to 2.7.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. Change-Id: If03ecdc1145c8c46c85a4df77e1b53e89e1d0210 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d5a7ac8b4788ab120e8393a8d084d9c31e3e0947..0f6d3f9905a089d4b31682368d62aada0b9be0ac 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31233,22 +31233,23 @@ By default it uses the open Python vulnerability database Safety DB.") (define-public python-rnc2rng (package (name "python-rnc2rng") - (version "2.6.6") + (version "2.7.0") (source (origin - (method url-fetch) - (uri (pypi-uri "rnc2rng" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/djc/rnc2rng") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1wbqvz2bhq2f5kqi7q2q3m9y5vs9rj970zhnjh502pvvhmbx20as")))) - (build-system python-build-system) - (propagated-inputs - (list python-rply)) + (base32 "1wbd8936vs4rinjfmjd8dav6sdz6wrsc0jppqidzzcnzwfp146pf")))) + (build-system pyproject-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "test.py")))))) + (list + #:test-backend #~'custom + #:test-flags #~(list "test.py"))) + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-rply)) (home-page "https://github.com/djc/rnc2rng") (synopsis "Convert RELAX NG Compact to regular syntax") (description