From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF253-0003be-30 for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF250-0003um-HM for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF250-0003uL-8b for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gF250-0004YM-3O for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 Subject: [bug#33131] [PATCH 2/4] gnu: Add python-reparser. Resent-Message-ID: From: Tobias Geerinckx-Rice Date: Tue, 23 Oct 2018 21:10:14 +0200 Message-Id: <20181023191016.12096-2-me@tobias.gr> In-Reply-To: <20181023191016.12096-1-me@tobias.gr> References: <20181023191016.12096-1-me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33131@debbugs.gnu.org * 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