summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2021-04-24 15:40:07 +0000
committerpho <pho@pkgsrc.org>2021-04-24 15:40:07 +0000
commit1975749e28d85542b24b2fa95bba582c5405471b (patch)
tree8aacfd71d9960f399dd8bef16788c0808c9b5828 /textproc
parente3e7c7c99e34800dd75dadfabcd9c191570bdffc (diff)
downloadpkgsrc-1975749e28d85542b24b2fa95bba582c5405471b.tar.gz
Update to jira-wiki-markup-1.3.4
1.3.4: Released 2021-03-13. * Fixed parsing of autolinks (i.e., of bare URLs in the text). Previously an autolink would take up the rest of a line, as spaces were allowed characters in these items. * Emoji character sequences no longer cause parsing failures. This was due to missing backtracking when emoji parsing fails. * Block quotes are only rendered as bq. if they do not contain a linebreak. 1.3.3: Released 2021-02-12. * Modified the Doc parser to skip leading blank lines. This fixes parsing of documents which start with multiple blank lines. * Prevent URLs within link aliases to be treated as autolinks. 1.3.2: Released 2020-06-22. * Braces are now always escaped when printing; Jira treats braces specially, regardless of context. 1.3.1: Released 2020-06-14 * Added support for links to anchors. * Styled text may not wrap across multiple lines; linebreaks in marked-up text are now forbidden. * Module Text.Jira.Parser.Core: new function many1Till which behaves like manyTill, but requires at least on element to be parsed. * Ensured the package works with GHC 8.10. 1.3.0: Released 2020-04-04 * Support was added for additional syntax constructs: - citation markup (??citation??), - links to attachments ([title^attachment.ext]), and - user links ([~username]). * Changes to module Text.Jira.Markup: - A new data type LinkType is exported from the module. - Changes to type Inline: * a new constructor Citation has been added; * the Link constructor now takes an additional parameter of type LinkType. 1.2.1: Released 2020-04-02 * Fixed rendering of image attributes: image attributes are separated by commas instead of pipes; the latter are used in block parameters. * Fixed parsing of blockquotes which are not preceeded by blank lines. * Ensure parsing of single-line blockquotes is possible even if there is no space between bq. marker and contents. * Fixed parsing of colors: parsing no longer fails for hexcolors which contain non-decimal digits. * Changes to module Text.Jira.Parser.Shared: - New parsing function colorName which parses a color descriptor, i.e. either a name or a hexcolor. 1.2.0: Released 2020-03-28 * Added check that a closing markup char is not preceeded by a whitespace character. Previously, plain text was still incorrectly treated as markup. E.g., the dashes in -> step -> used to be interpreted as delimiters marking deleted text. * Allows empty table cells; table parsing failed if one of the cells did not contain any content. * Changes to module Text.Jira.Parser.Core: - A field stateLastSpcPos was added to data type ParserState to keep track of spaces. - Function updateLastSpcPos was added to update the aforementioned field. - Function afterSpace was added to test the field. 1.1.4: Released 2020-03-27 * Fixed parsing of image parameters. Thumbnails and images with parameters were previously not recognized as images. 1.1.3: Released 2020-03-19 * Fixed table detection in endOfParagraph parser: Tables were expected to have a space between the leading pipe(s) and the cell content. Lines like ||Name| were erroneously not recognized as the beginning of a new block. 1.1.2: Released 2020-03-18 * Don't escape colon/semicolon unless necessary: it is necessary to escape colons or semicolons only if they could otherwise become part of a smiley. 1.1.1: Released 2020-03-18 * Colon : and semicolon ; are now parsed as special characters, since they can be the first characters of an emoji. * Fixed parsing of words which contain non-special symbol characters: word boundaries were not set correctly if a word contained a dot . or similar chars. * Fixed incorrect emphasis parsing: digits were erroneously allows as the first characters after closing emphasis characters. 1.1.0: Released 2020-03-13. * Lists are now allowed to be indented; i.e., lists are still recognized if list markers are preceded by spaces. * Support for colored inlines has been added. * New constructor ColorInline for type Inline (API change).
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hs-jira-wiki-markup/Makefile5
-rw-r--r--textproc/hs-jira-wiki-markup/PLIST96
-rw-r--r--textproc/hs-jira-wiki-markup/buildlink3.mk6
-rw-r--r--textproc/hs-jira-wiki-markup/distinfo10
4 files changed, 58 insertions, 59 deletions
diff --git a/textproc/hs-jira-wiki-markup/Makefile b/textproc/hs-jira-wiki-markup/Makefile
index 067ac919a6d..1c14558286a 100644
--- a/textproc/hs-jira-wiki-markup/Makefile
+++ b/textproc/hs-jira-wiki-markup/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/01/17 07:14:22 pho Exp $
+# $NetBSD: Makefile,v 1.3 2021/04/24 15:40:07 pho Exp $
-DISTNAME= jira-wiki-markup-1.0.0
-PKGREVISION= 1
+DISTNAME= jira-wiki-markup-1.3.4
CATEGORIES= textproc
MAINTAINER= pho@cielonegro.org
diff --git a/textproc/hs-jira-wiki-markup/PLIST b/textproc/hs-jira-wiki-markup/PLIST
index 14eac1d29ee..fba6eba778d 100644
--- a/textproc/hs-jira-wiki-markup/PLIST
+++ b/textproc/hs-jira-wiki-markup/PLIST
@@ -1,50 +1,50 @@
-@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:16 rillig Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/04/24 15:40:07 pho Exp $
bin/jira-wiki-markup
-${HS_INTF}/package-description
-${HS_INTF}/package-id
-${HS_IMPL}/Text/Jira/Markup.dyn_hi
-${HS_IMPL}/Text/Jira/Markup.hi
-${HS_IMPL}/Text/Jira/Markup.p_hi
-${HS_IMPL}/Text/Jira/Parser.dyn_hi
-${HS_IMPL}/Text/Jira/Parser.hi
-${HS_IMPL}/Text/Jira/Parser.p_hi
-${HS_IMPL}/Text/Jira/Parser/Block.dyn_hi
-${HS_IMPL}/Text/Jira/Parser/Block.hi
-${HS_IMPL}/Text/Jira/Parser/Block.p_hi
-${HS_IMPL}/Text/Jira/Parser/Core.dyn_hi
-${HS_IMPL}/Text/Jira/Parser/Core.hi
-${HS_IMPL}/Text/Jira/Parser/Core.p_hi
-${HS_IMPL}/Text/Jira/Parser/Inline.dyn_hi
-${HS_IMPL}/Text/Jira/Parser/Inline.hi
-${HS_IMPL}/Text/Jira/Parser/Inline.p_hi
-${HS_IMPL}/Text/Jira/Parser/PlainText.dyn_hi
-${HS_IMPL}/Text/Jira/Parser/PlainText.hi
-${HS_IMPL}/Text/Jira/Parser/PlainText.p_hi
-${HS_IMPL}/Text/Jira/Parser/Shared.dyn_hi
-${HS_IMPL}/Text/Jira/Parser/Shared.hi
-${HS_IMPL}/Text/Jira/Parser/Shared.p_hi
-${HS_IMPL}/Text/Jira/Printer.dyn_hi
-${HS_IMPL}/Text/Jira/Printer.hi
-${HS_IMPL}/Text/Jira/Printer.p_hi
-${HS_IMPL}/libHS${HS_PKGID}.a
-${HS_IMPL}/libHS${HS_PKGID}_p.a
+lib/jira-wiki-markup-${PKGVERSION}/${HS_VERSION}/package-description
+lib/jira-wiki-markup-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Markup.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Markup.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Markup.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Block.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Block.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Block.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Core.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Core.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Core.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Inline.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Inline.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Inline.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/PlainText.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/PlainText.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/PlainText.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Shared.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Shared.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Parser/Shared.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Printer.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Printer.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Text/Jira/Printer.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
-${HS_DOCS}/LICENSE
-${HS_DOCS}/html/CHANGELOG.md
-${HS_DOCS}/html/README.md
-${HS_DOCS}/html/Text-Jira-Markup.html
-${HS_DOCS}/html/Text-Jira-Parser-Block.html
-${HS_DOCS}/html/Text-Jira-Parser-Core.html
-${HS_DOCS}/html/Text-Jira-Parser-Inline.html
-${HS_DOCS}/html/Text-Jira-Parser-PlainText.html
-${HS_DOCS}/html/Text-Jira-Parser-Shared.html
-${HS_DOCS}/html/Text-Jira-Parser.html
-${HS_DOCS}/html/Text-Jira-Printer.html
-${HS_DOCS}/html/doc-index.html
-${HS_DOCS}/html/haddock-bundle.min.js
-${HS_DOCS}/html/index.html
-${HS_DOCS}/html/jira-wiki-markup.haddock
-${HS_DOCS}/html/linuwial.css
-${HS_DOCS}/html/meta.json
-${HS_DOCS}/html/quick-jump.css
-${HS_DOCS}/html/synopsis.png
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/CHANGELOG.md
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/README.md
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Markup.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Block.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Core.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Inline.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-PlainText.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser-Shared.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Parser.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/Text-Jira-Printer.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/jira-wiki-markup.haddock
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/jira-wiki-markup-${PKGVERSION}/html/synopsis.png
diff --git a/textproc/hs-jira-wiki-markup/buildlink3.mk b/textproc/hs-jira-wiki-markup/buildlink3.mk
index 5eca3536a60..4f6e8429be0 100644
--- a/textproc/hs-jira-wiki-markup/buildlink3.mk
+++ b/textproc/hs-jira-wiki-markup/buildlink3.mk
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/16 15:02:50 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/24 15:40:07 pho Exp $
BUILDLINK_TREE+= hs-jira-wiki-markup
.if !defined(HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK)
HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.0.0
-BUILDLINK_ABI_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.0.0
+BUILDLINK_API_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.3.4
+BUILDLINK_ABI_DEPENDS.hs-jira-wiki-markup+= hs-jira-wiki-markup>=1.3.4
BUILDLINK_PKGSRCDIR.hs-jira-wiki-markup?= ../../textproc/hs-jira-wiki-markup
.endif # HS_JIRA_WIKI_MARKUP_BUILDLINK3_MK
diff --git a/textproc/hs-jira-wiki-markup/distinfo b/textproc/hs-jira-wiki-markup/distinfo
index 41bd1faa62b..d04028bc44a 100644
--- a/textproc/hs-jira-wiki-markup/distinfo
+++ b/textproc/hs-jira-wiki-markup/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/01/17 07:14:22 pho Exp $
+$NetBSD: distinfo,v 1.3 2021/04/24 15:40:07 pho Exp $
-SHA1 (jira-wiki-markup-1.0.0.tar.gz) = 19b3c5167068fc246ea859049ada5e53a75fb218
-RMD160 (jira-wiki-markup-1.0.0.tar.gz) = b63323772e72c60ae071c767b2b399890df519ac
-SHA512 (jira-wiki-markup-1.0.0.tar.gz) = 74df439b64939ebad80ecdc2888829d78a8ae030a855de8e50a8b0076e036c79e5a96eb07a943fc211645c8a89bf508c170b2af0c923ca8f53f4b5cd401a7549
-Size (jira-wiki-markup-1.0.0.tar.gz) = 18697 bytes
+SHA1 (jira-wiki-markup-1.3.4.tar.gz) = b9ff16dc30e71e4885644d7f3e86adb974cc2763
+RMD160 (jira-wiki-markup-1.3.4.tar.gz) = b4eb3a9d8fb464dc0842f1b883d9c5889bf17c10
+SHA512 (jira-wiki-markup-1.3.4.tar.gz) = 762ebecfd8fd903ae348a9f09fa8c610e48a5a8b1b5177a749cb51f94d01d7fdf6f8e078f48797ae94ad8e352d06841189c649ef5131b41470d1390a3e23f481
+Size (jira-wiki-markup-1.3.4.tar.gz) = 23759 bytes