Subject: bug#43444: closed (Re: [bug#43444] [PATCH 1/2] gnu: Add python-rnc2rng.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 21 Sep 2020 21:31:02 +0000

Your bug report

#43444: [PATCH 1/2] gnu: Add python-rnc2rng.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
43444: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43444
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#43444] [PATCH 1/2] gnu: Add python-rnc2rng.
From: Ludovic Courtès <[email-masked]>
To: Konrad Hinsen <[email-masked]>
Cc: [email-masked]
Date: Mon, 21 Sep 2020 23:30:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Konrad Hinsen <[email-masked]> skribis:

> * gnu/packages/python-xyz.scm (python-rnc2rng): New variable.

Applied with the changes below, thanks!

Ludo’.

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)))

Subject: [PATCH 1/2] gnu: Add python-rnc2rng.
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Wed, 16 Sep 2020 12:19:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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