pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/re2c



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Aug 10 19:34:17 UTC 2021

Modified Files:
        pkgsrc/devel/re2c: Makefile distinfo
Removed Files:
        pkgsrc/devel/re2c/patches: patch-configure

Log Message:
re2c: update to 2.2.

2.2 (2021-08-01)
~~~~~~~~~~~~~~~~

- Added named blocks and block lists in directives.

- Added local blocks ``/*!local:re2c ... */``.

- Added in-block ``!include`` directive.

- Added in-block ``!use`` directive.

- Allowed reusable blocks without ``-r --reusable`` option.

- Allowed customizing the generated code with configurations for directives
  ``max:re2c``, ``maxnmatch:re2c``, ``stags:re2c``, ``mtags:re2c`` and
  ``types:re2c`` (see directive descriptions for details).

- Forbid arbitrary text at the end of ``max:re2c`` directive. This may break
  backwards compatibility, although it is unlikely that this was used by anyone.
  The change was necessary in order to allow customization of the generated code
  with configurations.

- Deprecated configurations ``flags:i``, ``flags:no-debug-info`` in favour of
  the global options ``-i``, ``--no-debug-info``.

- Reimplemented re2c test runner in Python (thanks to
  `Serghei Iakovlev <https://github.com/sergeyklay>`_). Improved integration
  with GitHub Actions.

- Changes in the experimental libre2c library: added new algorithms that
  construct t-string or extract submatch on all repetitions; added TDFA
  benchmark written in Java by Angelo Borsotti.

- Updated documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/re2c/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/re2c/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/re2c/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/re2c/Makefile
diff -u pkgsrc/devel/re2c/Makefile:1.25 pkgsrc/devel/re2c/Makefile:1.26
--- pkgsrc/devel/re2c/Makefile:1.25     Thu Apr  1 16:46:39 2021
+++ pkgsrc/devel/re2c/Makefile  Tue Aug 10 19:34:17 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2021/04/01 16:46:39 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2021/08/10 19:34:17 wiz Exp $
 
-DISTNAME=      re2c-2.1.1
+DISTNAME=      re2c-2.2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=skvadrik/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -14,10 +14,10 @@ LICENSE=    public-domain
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            bison gmake
 GNU_CONFIGURE=         yes
+# as of 2.2:
+# FAIL: run_tests.py
 TEST_TARGET=           check
+PYTHON_FOR_BUILD_ONLY= test
 
-# TODO: works only with Bash
-CHECK_PORTABILITY_SKIP=        run_tests.sh.in
-REPLACE_SH+=           run_tests.sh.in
-
+.include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/re2c/distinfo
diff -u pkgsrc/devel/re2c/distinfo:1.20 pkgsrc/devel/re2c/distinfo:1.21
--- pkgsrc/devel/re2c/distinfo:1.20     Thu Apr  1 16:46:39 2021
+++ pkgsrc/devel/re2c/distinfo  Tue Aug 10 19:34:17 2021
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.20 2021/04/01 16:46:39 wiz Exp $
+$NetBSD: distinfo,v 1.21 2021/08/10 19:34:17 wiz Exp $
 
-SHA1 (re2c-2.1.1.tar.xz) = 038a30357fc3631c357d34fc48c3171698567bf7
-RMD160 (re2c-2.1.1.tar.xz) = 91bd1148bf576c8767789be389650c0971520388
-SHA512 (re2c-2.1.1.tar.xz) = 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae
-Size (re2c-2.1.1.tar.xz) = 1340740 bytes
-SHA1 (patch-configure) = 1f05ad6879aadf47cdcee098ca6b09039a5e2332
+SHA1 (re2c-2.2.tar.xz) = 93ac87e82c02bc9136f74050767acaa890f3ae88
+RMD160 (re2c-2.2.tar.xz) = af8b587423a704caddba04fbeb3fa118aade6e9a
+SHA512 (re2c-2.2.tar.xz) = 8c4f18fa9a2ef6b0b5c03b73b8b7deafcbd7b17baf72e0008c9344296fcb0abeee6024d4a78ccb15b090e37ae67ddd6f2a68b4932331096328530612112ee37a
+Size (re2c-2.2.tar.xz) = 1460740 bytes



Home | Main Index | Thread Index | Old Index