From patchwork Tue Oct 23 19:10:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 7 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5DF8C1674F; Tue, 23 Oct 2018 20:11:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 81F1D1674C for ; Tue, 23 Oct 2018 20:11:08 +0100 (BST) Received: from localhost ([::1]:43853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF255-0003cj-QE for patchwork@mira.cbaines.net; Tue, 23 Oct 2018 15:11:07 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#33131] [PATCH 2/4] gnu: Add python-reparser. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Oct 2018 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33131@debbugs.gnu.org Received: via spool by 33131-submit@debbugs.gnu.org id=B33131.154032182517424 (code B ref 33131); Tue, 23 Oct 2018 19:11:02 +0000 Received: (at 33131) by debbugs.gnu.org; 23 Oct 2018 19:10:25 +0000 Received: from localhost ([127.0.0.1]:38518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24P-0004Wx-BE for submit@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:25 -0400 Received: from tobias.gr ([80.241.217.52]:49582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24M-0004WU-M5 for 33131@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:23 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 80d39a69 for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=2cmOl5pXR /Fp2LUfTA8A6OYsbv4/OAzd4fYZz3onGyI=; b=DpXBrf5z+rWBb8Q3U0nB+HyQB aFZC47kud/tqc22qLW1HRhMdZOcXP4RRK1n8H0Ie6zOpNGVyu38bQ6r/988guD6x fTzgwBCRN1CUt4fXHcdgjTbPEwtrFkCtteUOiOq2tIkQKHwsnz0oMYhoZ/RkIkkI suZ5jDngyZA4Y0f2ue/SPKHeXwbo/a+7YnwUtlko2Q2YSN1JR4zORZj5jjudPAG+ 8K+11Ldsy1hY//J9cJgw14HZ2HWUA5ZtanEJdqdWVNkwMSHj4/s/qtZLfI2D56ZT Q5kxkQwd1Q0cwzK6rppFTsqKkWPUviQpsRntMz1n11WlyXCpcnHowEr9A6d5Q== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id efabb503 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:18 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 23 Oct 2018 21:10:14 +0200 Message-Id: <20181023191016.12096-2-me@tobias.gr> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181023191016.12096-1-me@tobias.gr> References: <20181023191016.12096-1-me@tobias.gr> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))))))