unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50017] [PATCH] gnu: re2c: Update to 2.2.
@ 2021-08-11 23:35 Sergei Trofimovich
  2021-08-13 17:32 ` bug#50017: " Arun Isaac
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Trofimovich @ 2021-08-11 23:35 UTC (permalink / raw)
  To: 50017; +Cc: Sergei Trofimovich

2.2 version started using python as a test driver. Added it as a
dependency to native inputs.

	* gnu/packages/re2c.scm (re2c): Update to 2.2. Added python as a
	native input dependency.

Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
---
 gnu/packages/re2c.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/re2c.scm b/gnu/packages/re2c.scm
index e13d15e97a..9bed166e56 100644
--- a/gnu/packages/re2c.scm
+++ b/gnu/packages/re2c.scm
@@ -1,4 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021 Sergei Trofimovich <slyich@gmail.com>
 ;;; Copyright © 2017, 2020 Sergei Trofimovich <slyfox@inbox.ru>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;;
@@ -20,13 +21,14 @@
 (define-module (gnu packages re2c)
   #:use-module (guix licenses)
   #:use-module (guix packages)
+  #:use-module (gnu packages python)
   #:use-module (guix download)
   #:use-module (guix build-system gnu))
 
 (define-public re2c
   (package
     (name "re2c")
-    (version "2.1.1")
+    (version "2.2")
     (source (origin
              (method url-fetch)
              (uri (string-append "https://github.com/skvadrik/" name
@@ -34,9 +36,11 @@
                                  name "-" version ".tar.xz"))
              (sha256
               (base32
-               "1y0iwxpkdmw5fcqacs209ix49aasfy88hqmx3qa26m7xz9jf4vh3"))))
+               "1nkbv3bxz1kwwql1pdlnj3lxy5h2vsaif393ivb5b9d8610mxi0g"))))
     (build-system gnu-build-system)
     (home-page "https://re2c.org/")
+    (native-inputs
+       `(("python" ,python)))
     (synopsis "Lexer generator for C/C++")
     (description
      "@code{re2c} generates minimalistic hard-coded state machine (as opposed
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#50017: [PATCH] gnu: re2c: Update to 2.2.
  2021-08-11 23:35 [bug#50017] [PATCH] gnu: re2c: Update to 2.2 Sergei Trofimovich
@ 2021-08-13 17:32 ` Arun Isaac
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Isaac @ 2021-08-13 17:32 UTC (permalink / raw)
  To: Sergei Trofimovich; +Cc: 50017-done

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]


Hi Sergei,

Thanks for the patch! I have applied it on master after a few minor
changes.

> 2.2 version started using python as a test driver. Added it as a
> dependency to native inputs.
>
> 	* gnu/packages/re2c.scm (re2c): Update to 2.2. Added python as a
> 	native input dependency.
>
> Signed-off-by: Sergei Trofimovich <slyich@gmail.com>

I simplified the commit message and moved the comment about python for
the test driver to the package definition itself. That way, it will be
more visible to someone reading the package definition.

>  ;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright © 2021 Sergei Trofimovich <slyich@gmail.com>
>  ;;; Copyright © 2017, 2020 Sergei Trofimovich <slyfox@inbox.ru>

You have specified a new email ID <slyich@gmail.com>. If you will not be
using the <slyfox@inbox.ru> email ID, I do encourage you to submit a
patch updating occurrences of your older email ID.

Thanks again! :-)

Regards,
Arun

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-13 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 23:35 [bug#50017] [PATCH] gnu: re2c: Update to 2.2 Sergei Trofimovich
2021-08-13 17:32 ` bug#50017: " Arun Isaac

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).