[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add python-reparser.
From: |
Tobias Geerinckx-Rice |
Subject: |
05/07: gnu: Add python-reparser. |
Date: |
Wed, 24 Oct 2018 16:55:25 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 11d99192c76e36d6aeb9998749d3d50d1937561e
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Oct 22 20:36:28 2018 +0200
gnu: Add python-reparser.
* 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 d9f3ebf..fbb2802 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))))))
- branch master updated (c1144c7 -> f65fdd9), Tobias Geerinckx-Rice, 2018/10/24
- 02/07: gnu: iproute2: Update to 4.19.0., Tobias Geerinckx-Rice, 2018/10/24
- 04/07: gnu: Add python-readlike., Tobias Geerinckx-Rice, 2018/10/24
- 03/07: gnu: minixml: Update to 2.12., Tobias Geerinckx-Rice, 2018/10/24
- 06/07: gnu: Add python-mechanicalsoup., Tobias Geerinckx-Rice, 2018/10/24
- 01/07: gnu: loksh: Use PREFIX., Tobias Geerinckx-Rice, 2018/10/24
- 05/07: gnu: Add python-reparser.,
Tobias Geerinckx-Rice <=
- 07/07: gnu: Add hangups., Tobias Geerinckx-Rice, 2018/10/24