unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55180] [PATCH] gnu: Add python-arpeggio.
@ 2022-04-29  7:49 Vincent Prat
  2022-04-29  8:28 ` Paul A. Patience
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vincent Prat @ 2022-04-29  7:49 UTC (permalink / raw)
  To: 55180

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0001-gnu-Add-python-arpeggio.patch --]
[-- Type: text/x-patch, Size: 1968 bytes --]

From 6dbafb4d9036cf76096b7860be6b2c91882efa3f Mon Sep 17 00:00:00 2001
From: Vincent Prat <vprat@deeplinks.com>
Date: Fri, 29 Apr 2022 09:43:35 +0200
Subject: [PATCH] gnu: Add python-arpeggio.

* gnu/packages/python-xyz.scm (python-arpeggio): New variable.
---
 gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f8e599a453..af9244c3ea 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29587,3 +29587,32 @@ and setting the color of terminal output, via HyDEV.")
 versions of MkDocs-powered docs to a Git branch.  It is suitable for deploying
 to Github via gh-pages.")
     (license license:bsd-3)))
+
+(define-public python-arpeggio
+  (package
+    (name "python-arpeggio")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Arpeggio" version))
+              (sha256
+               (base32
+                "0ggdsck1wpladd5bh9drhkmm86bblgk2wagrhn3sdf4v04wkic6n"))))
+    (build-system python-build-system)
+    (native-inputs (list python-coverage
+                         python-coveralls
+                         python-flake8
+                         python-mike
+                         python-mkdocs
+                         python-pytest
+                         python-pytest-runner
+                         python-twine
+                         python-wheel))
+    (home-page "https://github.com/textX/Arpeggio")
+    (synopsis "Packrat parser interpreter for Python")
+    (description
+     "This Python library provides a recursive descent parser with backtracking
+and memoization (a.k.a. pacrat parser).  Arpeggio grammars are based on PEG
+formalism.  Arpeggio's main use is a foundation for a tool-chain for DSL
+development but it can be used for all sort of general purpose parsing.")
+    (license license:expat)))
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#55180] [PATCH] gnu: Add python-arpeggio.
  2022-04-29  7:49 [bug#55180] [PATCH] gnu: Add python-arpeggio Vincent Prat
@ 2022-04-29  8:28 ` Paul A. Patience
  2022-04-29  9:10 ` Vincent Prat
  2022-05-06  8:29 ` bug#55180: " Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Paul A. Patience @ 2022-04-29  8:28 UTC (permalink / raw)
  To: 55180


Hello,

Some typos in the description:

- pacrat -> packrat
- tool-chain -> toolchain
- all sort of -> all sorts of

Cheers,
Paul





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#55180] [PATCH] gnu: Add python-arpeggio.
  2022-04-29  7:49 [bug#55180] [PATCH] gnu: Add python-arpeggio Vincent Prat
  2022-04-29  8:28 ` Paul A. Patience
@ 2022-04-29  9:10 ` Vincent Prat
  2022-05-06  8:29 ` bug#55180: " Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Vincent Prat @ 2022-04-29  9:10 UTC (permalink / raw)
  To: 55180; +Cc: paul

[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

Hello,

Thanks for pointing this out.
Here is a new patch that fixes the typos.

Cheers,
Vincent

[-- Attachment #2: 0002-gnu-python-arpeggio-fixed-typos-in-the-description.patch --]
[-- Type: text/x-patch, Size: 1195 bytes --]

From 5c5b630b91546482a9b40d27c42bd8ee2fedc2ee Mon Sep 17 00:00:00 2001
From: Vincent Prat <vprat@deeplinks.com>
Date: Fri, 29 Apr 2022 10:53:23 +0200
Subject: [PATCH 2/2] gnu: python-arpeggio: fixed typos in the description

---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index af9244c3ea..d7a0e53424 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29612,7 +29612,7 @@ to Github via gh-pages.")
     (synopsis "Packrat parser interpreter for Python")
     (description
      "This Python library provides a recursive descent parser with backtracking
-and memoization (a.k.a. pacrat parser).  Arpeggio grammars are based on PEG
-formalism.  Arpeggio's main use is a foundation for a tool-chain for DSL
-development but it can be used for all sort of general purpose parsing.")
+and memoization (a.k.a. packrat parser).  Arpeggio grammars are based on PEG
+formalism.  Arpeggio's main use is a foundation for a toolchain for DSL
+development but it can be used for all sorts of general purpose parsing.")
     (license license:expat)))
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#55180: [PATCH] gnu: Add python-arpeggio.
  2022-04-29  7:49 [bug#55180] [PATCH] gnu: Add python-arpeggio Vincent Prat
  2022-04-29  8:28 ` Paul A. Patience
  2022-04-29  9:10 ` Vincent Prat
@ 2022-05-06  8:29 ` Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-05-06  8:29 UTC (permalink / raw)
  To: Vincent Prat; +Cc: 55180-done

Hi,

Vincent Prat <vprat@deeplinks.com> skribis:

> From 6dbafb4d9036cf76096b7860be6b2c91882efa3f Mon Sep 17 00:00:00 2001
> From: Vincent Prat <vprat@deeplinks.com>
> Date: Fri, 29 Apr 2022 09:43:35 +0200
> Subject: [PATCH] gnu: Add python-arpeggio.
>
> * gnu/packages/python-xyz.scm (python-arpeggio): New variable.

Applied together with the followup fixes, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-06  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29  7:49 [bug#55180] [PATCH] gnu: Add python-arpeggio Vincent Prat
2022-04-29  8:28 ` Paul A. Patience
2022-04-29  9:10 ` Vincent Prat
2022-05-06  8:29 ` bug#55180: " 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).