From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IPR5A+36kmA7KwEAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 22:07:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cMfOOuz6kmA1eQAAB5/wlQ (envelope-from ) for ; Wed, 05 May 2021 20:07:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AED10FDE1 for ; Wed, 5 May 2021 22:07:08 +0200 (CEST) Received: from localhost ([::1]:49640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leNnX-0000w5-C7 for larch@yhetil.org; Wed, 05 May 2021 16:07:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leNnS-0000to-VQ for guix-patches@gnu.org; Wed, 05 May 2021 16:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50858) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leNnR-0007Fx-Ub for guix-patches@gnu.org; Wed, 05 May 2021 16:07:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leNnR-0001pa-Q8 for guix-patches@gnu.org; Wed, 05 May 2021 16:07:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48244] [PATCH] gnu: Add python-fb-re2. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 May 2021 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48244 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48244@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16202452127027 (code B ref -1); Wed, 05 May 2021 20:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 May 2021 20:06:52 +0000 Received: from localhost ([127.0.0.1]:34170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leNnI-0001pH-Cr for submit@debbugs.gnu.org; Wed, 05 May 2021 16:06:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:50748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leNnG-0001pB-A1 for submit@debbugs.gnu.org; Wed, 05 May 2021 16:06:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leNnF-0000j9-QJ for guix-patches@gnu.org; Wed, 05 May 2021 16:06:50 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:51498 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leNnE-00074j-2E for guix-patches@gnu.org; Wed, 05 May 2021 16:06:49 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1620245201; bh=mu9scMVI5Alva0vlJnhk5Vm7EXPEYcli2PszvQAhr2M=; h=From:To:Subject:Date; b=Y8i7+5vrgqBs1BRh19OHEh2lUHVE50YDcjf278GI7TfX8Upgu7ajqZ24nshHBQ2UH 6cd9WAF5KtvQMgl9kExyY3wnjo8KcPGzzr9z4PaC2TApjWdNSJczwNHgdjacr/qIdF C98qUUTMYpaUB1NVNQcz3LtOCGiB/m56p0FRVtDI= Message-Id: <6d596226b303921f5b1b7a2c2757cdfb94f6b2e5.1620245148.git.public@yoctocell.xyz> Date: Wed, 05 May 2021 22:06:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 34 X-Spam_score: 3.4 X-Spam_bar: +++ X-Spam_report: (3.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620245228; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TuAcSdH3MyVfRn6mv2ymI8Gr5WocOH9vg5ABxEv0Hfo=; b=GyJfvF6Ho1a6RWSimxqdcIOlIJDtWaXc/JMI6ICfx/O/HUtYpkO+lGXbkjGtcLlMm+ebVI kHmJVKvLGTWxJtaiawjBhiPJ58Y5RJ+PpKijRGiiZ593cJdrm9lN5BVKEEr50Pj2IdhWC/ ktLbVxRhsCRhT31YpA6xtfd9B+BuQXlqvIFHHKuZYdAg6kUWzwlNTwYaNecss8DYPT1fEo fTMzgESL73vc23J+ERAYopusd2ofWTAZ2eNOGjCVaygKRpOSwLSbTwcSS5NzrG7gQ22nLi cwJcLY1PtRmXPhjP0MlcLEfyNPWAUeiOWWb32HQx3Hk0HMBbHQa80ZCKOQv0rQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620245228; a=rsa-sha256; cv=none; b=oFoqaqMDS+P7dJ4ixMCvNCIWDHSDcth6h8J0GkxnD16ViOT/bxIwSb4edFMUd8w4TnxHym kf9sNi8QqPTREGQ8bsF1QEsWMH9cSER1u8GN4f7R/mdRxoLmAHsnPXqZhFr3ZIpeW3xN5r c7N28OV3nXk/Z8DuHTpdZbteAbH8aFaJ036bV7W4ci7wGlgavnEsLxXIAKXTuVN5aMiCLR fK7ATw7cxSNrjofccqlM5atIWj6n4vF4C10PlX4mGr65/g5qVTmK5TDfnyZg+vo7eENemE cI2pQEmp7JkwSXmjNxzNXYFAPY7PgFBW8hKfPYj12f3lmUp2VWhxi0l+HtjtGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=Y8i7+5vr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.37 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=Y8i7+5vr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: AED10FDE1 X-Spam-Score: -0.37 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5sgWpYa/SV1f * gnu/packages/python-xyz.scm (python-fb-re2): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 38ed1bc19e..32a4acc75f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -99,6 +99,7 @@ ;;; Copyright =C2=A9 2021 Sharlatan Hellseher ;;; Copyright =C2=A9 2021 Ellis Keny=C5=91 ;;; Copyright =C2=A9 2021 LibreMiami +;;; Copyright =C2=A9 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -181,6 +182,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) + #:use-module (gnu packages regex) #:use-module (gnu packages sdl) #:use-module (gnu packages search) #:use-module (gnu packages scanner) @@ -1271,6 +1273,29 @@ conventions and aliases in the same expression.") API for locking files.") (license license:expat))) =20 +(define-public python-fb-re2 + (package + (name "python-fb-re2") + (version "1.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "fb-re2" version)) + (sha256 + (base32 + "1kr6xwjfl3h15gwq00g5d4cwwmqs5z7z8k3q79p4x1ykb36w5cl3")))) + (build-system python-build-system) + (arguments + ;; No tests in PyPI tarball. + `(#:tests? #f)) + (inputs + `(("re2" ,re2))) + (home-page "https://github.com/facebook/pyre2") + (synopsis "Python wrapper for RE2") + (description "This package provides a Python extension that wraps Goog= le's +RE2 regular expression library. It implements many of the features of +Python's built-in @code{re} module with compatible interfaces.") + (license license:bsd-3))) + (define-public python-filelock (package (name "python-filelock") base-commit: f47b8b332b3adaab8743775b9e45638dcd381e78 --=20 2.31.1