Thu Oct 26 13:07:44 2023 UTC ()
devel/alex: Update to 3.4.0.0

Changes in 3.4.0.0 [Andreas Abel, 2023-06-20]
* New wrappers to lex strict Text: strict-text, posn-strict-text,
  monad-strict-text and monadUserState-strict-text (PR #240). These
  complement the existing wrappers for String and ByteString.
* Tested with GHC 7.0 - 9.6.2.

Changes in 3.3.0.0 [Andreas Abel, 2023-05-25]
* Add an Ord instance to AlexPosn (Issue #233). This breaks developments
  that define their own (orphan) instance Ord AlexPosn. If this is the
  derived stock instance, the fix is to delete the orphan instance and
  require build-tool-depends: alex:alex >= 3.3.0.0.
* Switch to Haskell PVP versioning with four digits.
* Tested with GHC 7.0 - 9.6.1.

Change in 3.2.7.4 [Andreas Abel, 2023-05-02]
* The user-supplied "epilogue" Haskell code is now put last in the
  generated file. This enables use of Template Haskell in the
  epilogue. (Issue #125.)
* Tested with GHC 7.0 - 9.6.1.

Change in 3.2.7.3 [Andreas Abel, 2023-04-14]
* Amend last change (3.2.7.2) so that Alex-generated code does not need
  LANGUAGE PatternGuards.
* Tested with GHC 7.0 - 9.6.1.

Change in 3.2.7.2 [Andreas Abel, 2023-04-03]
* Fix bug with out-of-bound access to alex_check array. (Surfaced with
  GHC's JS backend, fixed by Sylvain Henry in PR #223.)
* Tested with GHC 7.0 - 9.6.1.


(pho)
diff -r1.15 -r1.16 pkgsrc/devel/alex/Makefile
diff -r1.4 -r1.5 pkgsrc/devel/alex/PLIST
diff -r1.8 -r1.9 pkgsrc/devel/alex/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/devel/alex/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/alex/Makefile 2023/10/09 04:54:04 1.15
+++ pkgsrc/devel/alex/Makefile 2023/10/26 13:07:44 1.16
@@ -1,34 +1,12 @@ @@ -1,34 +1,12 @@
1# $NetBSD: Makefile,v 1.15 2023/10/09 04:54:04 pho Exp $ 1# $NetBSD: Makefile,v 1.16 2023/10/26 13:07:44 pho Exp $
2 2
3DISTNAME= alex-3.2.7.1 3DISTNAME= alex-3.4.0.0
4PKGNAME= ${DISTNAME} 4PKGNAME= ${DISTNAME}
5PKGREVISION= 4 
6CATEGORIES= devel 5CATEGORIES= devel
7 6
8MAINTAINER= esg@sdf.lonestar.org 7MAINTAINER= esg@sdf.lonestar.org
9COMMENT= Tool for generating lexical analysers in Haskell 8COMMENT= Tool for generating lexical analysers in Haskell
10LICENSE= modified-bsd 9LICENSE= modified-bsd
11 10
12USE_TOOLS+= autoconf gmake 
13TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl 
14TOOL_DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2 
15TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt 
16 
17CONFIGURE_ENV+= fp_cv_dir_docbook_xsl=${PREFIX}/share/xsl/docbook 
18CONFIGURE_ENV+= ac_cv_path_DbLatexCmd= # empty 
19pre-configure: 
20 ${RUN}cd ${WRKSRC}/doc && autoconf && ${PKGSRC_SETENV} ${CONFIGURE_ENV} \ 
21 ${CONFIG_SHELL} ${CONFIG_SHELL_FLAGS} ./configure 
22 
23post-build: 
24 ${RUN}cd ${WRKSRC}/doc && ${GMAKE} 
25 
26INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PREFIX}/share/doc/${PKGBASE} 
27post-install: 
28 ${INSTALL_MAN} ${WRKSRC}/doc/alex.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 
29 for f in ${WRKSRC}/doc/alex/*; do \ 
30 ${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/; \ 
31 done 
32 
33.include "../../mk/haskell.mk" 11.include "../../mk/haskell.mk"
34.include "../../mk/bsd.pkg.mk" 12.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/devel/alex/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/alex/PLIST 2022/02/11 09:47:44 1.4
+++ pkgsrc/devel/alex/PLIST 2023/10/26 13:07:44 1.5
@@ -1,24 +1,5 @@ @@ -1,24 +1,5 @@
1@comment $NetBSD: PLIST,v 1.4 2022/02/11 09:47:44 pho Exp $ 1@comment $NetBSD: PLIST,v 1.5 2023/10/26 13:07:44 pho Exp $
2bin/alex 2bin/alex
3man/man1/alex.1 
4share/doc/alex/about.html 
5share/doc/alex/alex-files.html 
6share/doc/alex/api.html 
7share/doc/alex/basic-api.html 
8share/doc/alex/bug-reports.html 
9share/doc/alex/charsets.html 
10share/doc/alex/fptools.css 
11share/doc/alex/index.html 
12share/doc/alex/introduction.html 
13share/doc/alex/invoking.html 
14share/doc/alex/license.html 
15share/doc/alex/regexps.html 
16share/doc/alex/relnotes-20.html 
17share/doc/alex/relnotes-210.html 
18share/doc/alex/relnotes-22.html 
19share/doc/alex/syntax.html 
20share/doc/alex/types.html 
21share/doc/alex/wrappers.html 
22share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE 3share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE
23share/${HS_PLATFORM}/${PKGNAME}/AlexTemplate.hs 4share/${HS_PLATFORM}/${PKGNAME}/AlexTemplate.hs
24share/${HS_PLATFORM}/${PKGNAME}/AlexWrappers.hs 5share/${HS_PLATFORM}/${PKGNAME}/AlexWrappers.hs

cvs diff -r1.8 -r1.9 pkgsrc/devel/alex/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/alex/distinfo 2022/02/11 09:47:44 1.8
+++ pkgsrc/devel/alex/distinfo 2023/10/26 13:07:44 1.9
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2022/02/11 09:47:44 pho Exp $ 1$NetBSD: distinfo,v 1.9 2023/10/26 13:07:44 pho Exp $
2 2
3BLAKE2s (alex-3.2.7.1.tar.gz) = cd6f948f68df789358b38e72d11c315923c29c1b183f53fd01cf88f4ac253401 3BLAKE2s (alex-3.4.0.0.tar.gz) = 439e713d03056744d625c3d7c31681e120ae17243dfbb83ebddbf8c1ca767d93
4SHA512 (alex-3.2.7.1.tar.gz) = f8ff12de874b905449fdda0d704f9e4ac30fa3e60e965f82d7bb2d6e3974cf926f85134d32878c48faf0ec4a002ea7240cf6696e1cbcad25a0eebb9d1850cc07 4SHA512 (alex-3.4.0.0.tar.gz) = 4e35238c4e9a383d148f8c8535f7cabe2b6735fb242e5819aafb4695299134342baa95817cbba49b05f6ccc23ee978fa1b7c30a2aa162b53482f5c9feab55fb6
5Size (alex-3.2.7.1.tar.gz) = 108229 bytes 5Size (alex-3.4.0.0.tar.gz) = 86841 bytes