GNU bug report logs - #48244
[PATCH] gnu: Add python-fb-re2.

Previous Next

Package: guix-patches;

Reported by: Xinglu Chen <public <at> yoctocell.xyz>

Date: Wed, 5 May 2021 20:07:01 UTC

Severity: normal

Tags: patch

Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48244 in the body.
You can then email your comments to 48244 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48244; Package guix-patches. (Wed, 05 May 2021 20:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinglu Chen <public <at> yoctocell.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 05 May 2021 20:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-fb-re2.
Date: Wed, 05 May 2021 22:06:36 +0200
* 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 <at> gmail.com>
 ;;; Copyright © 2021 Ellis Kenyő <me <at> elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix <at> libremiami.org>
+;;; Copyright © 2021 Xinglu Chen <public <at> 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






Reply sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
You have taken responsibility. (Fri, 14 May 2021 20:31:01 GMT) Full text and rfc822 format available.

Notification sent to Xinglu Chen <public <at> yoctocell.xyz>:
bug acknowledged by developer. (Fri, 14 May 2021 20:31:01 GMT) Full text and rfc822 format available.

Message #10 received at 48244-done <at> debbugs.gnu.org (full text, mbox):

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 48244-done <at> debbugs.gnu.org
Subject: Re: [bug#48244] [PATCH] gnu: Add python-fb-re2.
Date: Fri, 14 May 2021 22:30:17 +0200
[Message part 1 (text/plain, inline)]
Pushed as

e026b226cda7e6513cf34ee80b278f60fdc7fbf4

Thanks.

With two slight changes:

On Wed, 05 May 2021 22:06:36 +0200
Xinglu Chen <public <at> yoctocell.xyz> wrote:

> * gnu/packages/python-xyz.scm (python-fb-re2): New variable.

> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "fb-re2" version))
> +              (sha256
> +               (base32

I used git-fetch instead using the github repo....

> +    (arguments
> +     ;; No tests in PyPI tarball.
> +     `(#:tests? #f))

... then I can enable the tests.

Björn

[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 Jun 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.