pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/re2c re2c: update to 2.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/574373d2beb3
branches: trunk
changeset: 456880:574373d2beb3
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Aug 10 19:34:17 2021 +0000
description:
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.
diffstat:
devel/re2c/Makefile | 12 ++++++------
devel/re2c/distinfo | 11 +++++------
devel/re2c/patches/patch-configure | 24 ------------------------
3 files changed, 11 insertions(+), 36 deletions(-)
diffs (71 lines):
diff -r 43707e1e9825 -r 574373d2beb3 devel/re2c/Makefile
--- a/devel/re2c/Makefile Tue Aug 10 19:29:48 2021 +0000
+++ b/devel/re2c/Makefile Tue Aug 10 19:34:17 2021 +0000
@@ -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 @@
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"
diff -r 43707e1e9825 -r 574373d2beb3 devel/re2c/distinfo
--- a/devel/re2c/distinfo Tue Aug 10 19:29:48 2021 +0000
+++ b/devel/re2c/distinfo Tue Aug 10 19:34:17 2021 +0000
@@ -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
diff -r 43707e1e9825 -r 574373d2beb3 devel/re2c/patches/patch-configure
--- a/devel/re2c/patches/patch-configure Tue Aug 10 19:29:48 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2021/04/01 16:46:39 wiz Exp $
-
-Fix unportable test(1) operator.
-
---- configure.orig 2021-03-27 18:25:31.000000000 +0000
-+++ configure
-@@ -5336,7 +5336,7 @@ if test "${enable_benchmarks+set}" = set
- enableval=$enable_benchmarks;
- fi
-
-- if test "x$enable_benchmarks" == "xyes"; then
-+ if test "x$enable_benchmarks" = "xyes"; then
- WITH_BENCHMARKS_TRUE=
- WITH_BENCHMARKS_FALSE='#'
- else
-@@ -5383,7 +5383,7 @@ if test "${enable_benchmarks_regenerate+
- enableval=$enable_benchmarks_regenerate;
- fi
-
-- if test "x$enable_benchmarks_regenerate" == "xyes"; then
-+ if test "x$enable_benchmarks_regenerate" = "xyes"; then
- REGEN_BENCHMARKS_TRUE=
- REGEN_BENCHMARKS_FALSE='#'
- else
Home |
Main Index |
Thread Index |
Old Index