* [bug#43444] [PATCH 1/2] gnu: Add python-rnc2rng.
@ 2020-09-16 10:19 Konrad Hinsen
2020-09-21 21:30 ` bug#43444: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Konrad Hinsen @ 2020-09-16 10:19 UTC (permalink / raw)
To: 43444
* gnu/packages/python-xyz.scm (python-rnc2rng): New variable.
---
gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 24fc512178..fd58921953 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22016,3 +22016,31 @@ By default it uses the open Python vulnerability database Safety DB.")
(synopsis "Python wrapper for pandoc.")
(description "Thin Python wrapper for pandoc.")
(license license:expat)))
+
+(define-public python-rnc2rng
+ (package
+ (name "python-rnc2rng")
+ (version "2.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rnc2rng" version))
+ (sha256
+ (base32
+ "1kmp3iwxxyzjsd47j2sprd47ihhkwhb3yydih3af5bbfq0ibh1w8"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-rply" ,python-rply)))
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "python" "test.py")
+ #t)))))
+ (home-page "https://github.com/djc/rnc2rng")
+ (synopsis
+ "RELAX NG Compact to regular syntax conversion library")
+ (description
+ "Converts RELAX NG schemata in Compact syntax (rnc) to
+equivalent schemata in the XML-based default RELAX NG syntax.")
+ (license license:expat)))
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#43444: [PATCH 1/2] gnu: Add python-rnc2rng.
2020-09-16 10:19 [bug#43444] [PATCH 1/2] gnu: Add python-rnc2rng Konrad Hinsen
@ 2020-09-21 21:30 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-09-21 21:30 UTC (permalink / raw)
To: Konrad Hinsen; +Cc: 43444-done
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
Hi,
Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:
> * gnu/packages/python-xyz.scm (python-rnc2rng): New variable.
Applied with the changes below, thanks!
Ludo’.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 995 bytes --]
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 55ef5f5640..004f07cec2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22038,12 +22038,11 @@ and pandoc-citeproc.")
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
- (invoke "python" "test.py")
- #t)))))
+ (invoke "python" "test.py"))))))
(home-page "https://github.com/djc/rnc2rng")
- (synopsis
- "RELAX NG Compact to regular syntax conversion library")
+ (synopsis "Convert RELAX NG Compact to regular syntax")
(description
- "Converts RELAX NG schemata in Compact syntax (rnc) to
+ "This package provides the @command{rnc2rng} command-line tool as well as
+a Python library to convert RELAX NG schemata in Compact syntax (rnc) to
equivalent schemata in the XML-based default RELAX NG syntax.")
(license license:expat)))
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-21 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 10:19 [bug#43444] [PATCH 1/2] gnu: Add python-rnc2rng Konrad Hinsen
2020-09-21 21:30 ` bug#43444: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).