From: Xinglu Chen <public@yoctocell.xyz>
To: 48244@debbugs.gnu.org
Subject: [bug#48244] [PATCH] gnu: Add python-fb-re2.
Date: Wed, 05 May 2021 22:06:36 +0200 [thread overview]
Message-ID: <6d596226b303921f5b1b7a2c2757cdfb94f6b2e5.1620245148.git.public@yoctocell.xyz> (raw)
* 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 © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
+;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;;
;;; 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)))
+(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 Google'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
--
2.31.1
next reply other threads:[~2021-05-05 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-05 20:06 Xinglu Chen [this message]
2021-05-14 20:30 ` bug#48244: [PATCH] gnu: Add python-fb-re2 Björn Höfling
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6d596226b303921f5b1b7a2c2757cdfb94f6b2e5.1620245148.git.public@yoctocell.xyz \
--to=public@yoctocell.xyz \
--cc=48244@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).