all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: 33131@debbugs.gnu.org
Subject: [bug#33131] [PATCH 2/4] gnu: Add python-reparser.
Date: Tue, 23 Oct 2018 21:10:14 +0200	[thread overview]
Message-ID: <20181023191016.12096-2-me@tobias.gr> (raw)
In-Reply-To: <20181023191016.12096-1-me@tobias.gr>

* gnu/packages/python.scm (python-reparser, python2-reparser):
New public variable.
---
 gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d9f3ebfc5..fbb280224 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14551,3 +14551,29 @@ are not supported.")
 
 (define-public python2-readlike
   (package-with-python2 python-readlike))
+
+(define-public python-reparser
+  (package
+    (name "python-reparser")
+    (version "1.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ReParser" version))
+       (sha256
+        (base32 "0nniqb69xr0fv7ydlmrr877wyyjb61nlayka7xr08vlxl9caz776"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/xmikos/reparser")
+    (synopsis "Simple lexer/parser for inline markup based on regular expressions")
+    (description
+     "This Python library provides a simple lexer/parser for inline markup based
+on regular expressions.")
+    (license license:expat)))
+
+(define-public python2-reparser
+  (let ((reparser (package-with-python2
+                   (strip-python2-variant python-reparser))))
+    (package (inherit reparser)
+             (propagated-inputs
+              `(("python2-enum34" ,python2-enum34)
+                ,@(package-propagated-inputs reparser))))))
-- 
2.18.0

  reply	other threads:[~2018-10-23 19:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23 19:07 [bug#33131] [PATCH 0/4] Add hangups Tobias Geerinckx-Rice
2018-10-23 19:10 ` [bug#33131] [PATCH 1/4] gnu: Add python-readlike Tobias Geerinckx-Rice
2018-10-23 19:10   ` Tobias Geerinckx-Rice [this message]
2018-10-23 19:10   ` [bug#33131] [PATCH 3/4] gnu: Add python-mechanicalsoup Tobias Geerinckx-Rice
2018-10-23 19:10   ` [bug#33131] [PATCH 4/4] gnu: Add hangups Tobias Geerinckx-Rice
2018-10-24 14:20 ` [bug#33131] [PATCH 0/4] " Leo Famulari
2018-10-24 21:14   ` bug#33131: " Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181023191016.12096-2-me@tobias.gr \
    --to=me@tobias.gr \
    --cc=33131@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.