Tue Aug 10 19:34:17 2021 UTC ()
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.


(wiz)
diff -r1.25 -r1.26 pkgsrc/devel/re2c/Makefile
diff -r1.20 -r1.21 pkgsrc/devel/re2c/distinfo
diff -r1.1 -r0 pkgsrc/devel/re2c/patches/patch-configure

cvs diff -r1.25 -r1.26 pkgsrc/devel/re2c/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/re2c/Makefile 2021/04/01 16:46:39 1.25
+++ pkgsrc/devel/re2c/Makefile 2021/08/10 19:34:17 1.26
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1# $NetBSD: Makefile,v 1.25 2021/04/01 16:46:39 wiz Exp $ 1# $NetBSD: Makefile,v 1.26 2021/08/10 19:34:17 wiz Exp $
2 2
3DISTNAME= re2c-2.1.1 3DISTNAME= re2c-2.2
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/}
6GITHUB_RELEASE= ${PKGVERSION_NOREV} 6GITHUB_RELEASE= ${PKGVERSION_NOREV}
7EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://re2c.org/ 10HOMEPAGE= https://re2c.org/
11COMMENT= Deterministic Finite State Automaton generator 11COMMENT= Deterministic Finite State Automaton generator
12LICENSE= public-domain 12LICENSE= public-domain
13 13
14USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
15USE_TOOLS+= bison gmake 15USE_TOOLS+= bison gmake
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
 17# as of 2.2:
 18# FAIL: run_tests.py
17TEST_TARGET= check 19TEST_TARGET= check
 20PYTHON_FOR_BUILD_ONLY= test
18 21
19# TODO: works only with Bash 22.include "../../lang/python/tool.mk"
20CHECK_PORTABILITY_SKIP= run_tests.sh.in 
21REPLACE_SH+= run_tests.sh.in 
22 
23.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"

cvs diff -r1.20 -r1.21 pkgsrc/devel/re2c/distinfo (expand / switch to unified diff)

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

File Deleted: pkgsrc/devel/re2c/patches/Attic/patch-configure