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.diff -r1.25 -r1.26 pkgsrc/devel/re2c/Makefile
(wiz)
@@ -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 | |||
3 | DISTNAME= re2c-2.1.1 | 3 | DISTNAME= re2c-2.2 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/} | |
6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | 6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://re2c.org/ | 10 | HOMEPAGE= https://re2c.org/ | |
11 | COMMENT= Deterministic Finite State Automaton generator | 11 | COMMENT= Deterministic Finite State Automaton generator | |
12 | LICENSE= public-domain | 12 | LICENSE= public-domain | |
13 | 13 | |||
14 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
15 | USE_TOOLS+= bison gmake | 15 | USE_TOOLS+= bison gmake | |
16 | GNU_CONFIGURE= yes | 16 | GNU_CONFIGURE= yes | |
17 | # as of 2.2: | |||
18 | # FAIL: run_tests.py | |||
17 | TEST_TARGET= check | 19 | TEST_TARGET= check | |
20 | PYTHON_FOR_BUILD_ONLY= test | |||
18 | 21 | |||
19 | # TODO: works only with Bash | 22 | .include "../../lang/python/tool.mk" | |
20 | CHECK_PORTABILITY_SKIP= run_tests.sh.in | |||
21 | REPLACE_SH+= run_tests.sh.in | |||
22 | ||||
23 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -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 | |||
3 | SHA1 (re2c-2.1.1.tar.xz) = 038a30357fc3631c357d34fc48c3171698567bf7 | 3 | SHA1 (re2c-2.2.tar.xz) = 93ac87e82c02bc9136f74050767acaa890f3ae88 | |
4 | RMD160 (re2c-2.1.1.tar.xz) = 91bd1148bf576c8767789be389650c0971520388 | 4 | RMD160 (re2c-2.2.tar.xz) = af8b587423a704caddba04fbeb3fa118aade6e9a | |
5 | SHA512 (re2c-2.1.1.tar.xz) = 13edbe961e0482677aff52ada93129500c10e134b579365f1d0cd180a898251f3060f1fe0597fc6c900c0ea29b1eb28fc2519b0ebfa2ed496a777bf7e138feae | 5 | SHA512 (re2c-2.2.tar.xz) = 8c4f18fa9a2ef6b0b5c03b73b8b7deafcbd7b17baf72e0008c9344296fcb0abeee6024d4a78ccb15b090e37ae67ddd6f2a68b4932331096328530612112ee37a | |
6 | Size (re2c-2.1.1.tar.xz) = 1340740 bytes | 6 | Size (re2c-2.2.tar.xz) = 1460740 bytes | |
7 | SHA1 (patch-configure) = 1f05ad6879aadf47cdcee098ca6b09039a5e2332 |