guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 80820841e7977a4f2819405da4652fcff2186e7f
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Nov 10 01:48:25 2025 +0100
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 <[email protected]>
---
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 d5a7ac8b47..0f6d3f9905 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