Skip to content

Commit

Permalink
textproc/hs-skylighting: UPdate to 0.14.1.1
Browse files Browse the repository at this point in the history
0.14.1.1

    Add GPRBuild syntax.

    Update syntax descriptions for clojure, cmake, coffee, cpp, cs, erlang, graphql, haskell, javascript, julia, kotlin, lilypond, markdown, objectivec, objectivecpp, ocaml, perl, python, ruby, rust, stan, typescript, yaml.

0.14.1

    Update syntax definitions for julia, actionscript, bash, cpp, css, djangotemplate, dosbat, groovy, html, ini, isocpp, java, javadoc, json, jsp, latex, makefile, mustache, php, powershell, rest, rhtml, sass, scala, scss, toml, xml, raku (with patch).

    Many improvements to regular expression compilation:
        Properly recognize unicode characters.
        Handle \Q..\E literal sequences.
        Handle group modifiers like (?i:etc.). (The only one we actually pay attention to is i.)
        Allow unicode category escapes outside of character classes.
        Support one-letter unicode category escapes like \p{L}. These are found in some of the newer syntax definitions.

    Improve regex matching:
        Fix wordDetect to work around an issue in the new html.xml.
        Refactor and fix atWordBoundary: remove redundant checks, and fix behavior (/x\b/ was behaving like /\bx\b/) (Côme ALLART).
        Fix bug in lastCharOffset (Côme ALLART).

    Style: Allow colors to be specified in ARGB format (#178). We currently just ignore the A part, but at least we don't fail.
  • Loading branch information
depressed-pho committed May 3, 2024
1 parent b3903e5 commit 8b5d9b7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
5 changes: 2 additions & 3 deletions textproc/hs-skylighting/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.15 2023/11/02 06:37:36 pho Exp $
# $NetBSD: Makefile,v 1.16 2024/05/03 09:59:49 pho Exp $

DISTNAME= skylighting-0.14
PKGREVISION= 1
DISTNAME= skylighting-0.14.1.1
CATEGORIES= textproc

MAINTAINER= pho@cielonegro.org
Expand Down
11 changes: 6 additions & 5 deletions textproc/hs-skylighting/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@comment $NetBSD: PLIST,v 1.5 2023/10/30 18:29:39 pho Exp $
@comment $NetBSD: PLIST,v 1.6 2024/05/03 09:59:49 pho Exp $
bin/skylighting
lib/skylighting-${PKGVERSION}/${HS_VERSION}/package-description
lib/skylighting-${PKGVERSION}/${HS_VERSION}/package-id
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting.hi
Expand Down Expand Up @@ -162,6 +160,9 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Gnuassembler.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Go.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Go.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Go.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Gpr.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Gpr.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Gpr.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Graphql.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Graphql.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Graphql.p_hi
Expand Down Expand Up @@ -473,6 +474,8 @@ lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Zsh.hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Skylighting/Syntax/Zsh.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/skylighting-${PKGVERSION}/${HS_VERSION}/package-description
lib/skylighting-${PKGVERSION}/${HS_VERSION}/package-id
share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/README.md
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/Skylighting-Syntax.html
Expand Down Expand Up @@ -500,12 +503,10 @@ ${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/doc-index-V.
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/doc-index-W.html
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/doc-index-Z.html
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/doc-index.json
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/quick-jump.css
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/quick-jump.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/skylighting.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/skylighting-${PKGVERSION}/html/synopsis.png
6 changes: 3 additions & 3 deletions textproc/hs-skylighting/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.15 2023/11/02 06:37:36 pho Exp $
# $NetBSD: buildlink3.mk,v 1.16 2024/05/03 09:59:49 pho Exp $

BUILDLINK_TREE+= hs-skylighting

.if !defined(HS_SKYLIGHTING_BUILDLINK3_MK)
HS_SKYLIGHTING_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-skylighting+= hs-skylighting>=0.14
BUILDLINK_ABI_DEPENDS.hs-skylighting+= hs-skylighting>=0.14nb1
BUILDLINK_API_DEPENDS.hs-skylighting+= hs-skylighting>=0.14.1
BUILDLINK_ABI_DEPENDS.hs-skylighting+= hs-skylighting>=0.14.1.1
BUILDLINK_PKGSRCDIR.hs-skylighting?= ../../textproc/hs-skylighting

.include "../../textproc/hs-skylighting-core/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions textproc/hs-skylighting/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2023/10/30 18:29:39 pho Exp $
$NetBSD: distinfo,v 1.8 2024/05/03 09:59:49 pho Exp $

BLAKE2s (skylighting-0.14.tar.gz) = 7dc7f310330fb553a760b44e8bb128e7a7169e8486f245fa4dcdc50168944959
SHA512 (skylighting-0.14.tar.gz) = 33d36f7181c0a6b94d3319707d6ea68199239a7699c18c6392e8ae49d97d7249f57f4d42a9fb09fa9df643268aa57b8e42e2204a6a002f8222ef00284dfd25d4
Size (skylighting-0.14.tar.gz) = 1393626 bytes
BLAKE2s (skylighting-0.14.1.1.tar.gz) = d573702fc6e8a99b86f18ae96ac3ce9fe0cc19b9e5d1aba4dcd6fa46dddc467e
SHA512 (skylighting-0.14.1.1.tar.gz) = 76b4ad20908e0b7e6eee04184e20728bfbcd87c6f68bf540fb4c867fba80ce321f7639aa8171f9c4e33810c379ea04c3d78a5a7b1328187b329d8152ce78c845
Size (skylighting-0.14.1.1.tar.gz) = 1419144 bytes

0 comments on commit 8b5d9b7

Please sign in to comment.