summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-10 01:48:25 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-11 21:34:59 +0000
commit80820841e7977a4f2819405da4652fcff2186e7f (patch)
treee8b06f700a0e3abc723629ad532c62499a9a29f1 /gnu/packages
parent164e2d5a42a67a0104dfb827010dffefd712dc24 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d5a7ac8b478..0f6d3f9905a 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