Sat Feb 12 08:09:35 2022 UTC ()
Update to citeproc-0.6.0.1

0.6.0.1
* Ensure that position evaluates false inside bibliography (#99).

0.6
* Add Term parameter to TagTerm [API change].
* Add TagPrefix, TagSuffix constructors to Tag [API change].
* Make sure that extracted AuthorOnly names have the correct formatting
  (#55).
* Do case-insensitive sorting, like Zotero (#91).
* Ignore "ibid" entries in computing ambiguities.
* Improved disambiguation for author-in-text citations.
* In disambiguating, convert author-in-text to normal citations. Otherwise
  we disambiguate incorrectly.
* Fix title disambiguation with note style (#90). Previously we'd been
  calculating ambiguities by generating renderings for citation items
  independently of context. This meant that we didn't detect ambiguities in
  "subsequent" citations (which might e.g. just have an author).
* Ensure we don't do collapsing of items across a prefix or suffix
  (#89). If we have [@doe99; for contrasting views see @smith33; @doe00],
  we don't want to get collapsing to (Doe 1999, 2000; for contrasting
  views, see Smith 1933). This isn't strictly by the spec, but it gives
  better results.
* Allow collapsing after an initial prefix.

0.5
* Add linkBibliography field to CiteprocOptions [API change]. When this is
  set to True, we hyperlink bibliography entries according to the draft of
  the CSL v1.02 spec (Appendix VI). When an entry has a DOI, PMCID, PMID,
  or URL available but none of these are rendered by the style, add a link
  to the title (or, if no title is present, the whole entry), using the URL
  for the DOI, PMCID, PMID, or URL (in that order of priority). (Benjamin
  Bray, #88.)
* In generating citation labels, only use issued date. Not, for example,
  accessed (#80).
* Citeproc.Locale: export lookupQuotes. [API change]
* Citeproc.Types: Add localizeQuotes method to CiteprocOutput class [API
  change].
* Citeproc.CslJson, Citeproc.Pandoc: Implement localizeQuotes.
* Citeproc: apply localizeQuotes after rendering. This ensures that quotes
  are properly localized and flipflopped. Previously this was done in
  renderCslJson (for CSL JSON) and in pandoc (for Pandoc Inlines). It is
  more consistent to do this as part of the rendering pipeline, in citeproc
  itself.
* Citeproc.CslJson: Drop the Locale parameter from the signature of
  renderCslJson [breaking API change]. It was only needed for quote
  localization, which now occurs outside of this function.
* Citeproc.Pandoc: use a Span with class csl-quoted for quotes, rather than
  a Quoted inline. This way we can leave Quoted elements passed in by
  pandoc alone, and we won't get strange effects like the one described in
  #87 (where " behaves differently when in a citation suffix).
* Default to Shifted with icu flag (#83). This makes the library behave
  similarly whether compiled with icu or with the default unicode-collation
  and prevents test failures with icu.
* Require recent text-icu with icu flag. Older versions don't build with
  newer versions of icu4c.
* Support links in CslJson (Benjamin Bray). Currently they are only
  supported in rendering, not parsing (in support of #88).
* Allow test cases to specify CiteprocOptions (Benjamin Bray).
* Update locales from upstream.
* Add new CSL tests to repository.

0.4.1
* Change Pandoc inNote so it creates a Span with class csl-note rather than
  a Note. This should make it easier to integrate citations with ordinary
  notes in pandoc.
* Do not hyperlink author-only citations (#77). If we do this we get two
  consecutive hyperlinks for author-in-text forms.
* movePunctuationInsideQuotes: only move , and ., not ? and !, as per the
  CSL spec.

0.4.0.1
* Fix bug introduced by the fix to #61 (#74). In certain circumstances, we
  could get doubled "et al.".
* Depend on unicode-collation unconditionally (#71). It is necessary even
  when text-icu is used, because of Text.Collate.Lang.
* Rename tests in extra/ so they fall into categories.

0.4
* We now use Lang from unicode-collation rather than defining our own. The
  type constructor has changed, as has the signature of parseLang.
* Use unicode-collation by default for more accurate sorting.
  * text-icu will still be used if the icu flag is set. This may give
    better performance, at the cost of depending on a large C library.
  * Change type of SortKeyValue so it doesn't embed Lang. [API change]
    Instead, we now store a language-specific collator in the Eval Context.
  * Move compSortKeyValues from Types to Eval.
  * Add curly open quote to word splitters in normalizeSortKey.
  * Improve date sorting: use the format YYYY0000 if no month, day, and
    YYYYMM00 if no day when generating sort keys.
  * Special treatment of literal "others" as last name in a list
    (#61). When we convert bibtex/biblatex bibliographies, the form "and
    others" yields a last name with nameLiteral = "others". We detect this
    and generate a localized "and others" (et al).
  * Make abbreviations case-insensitive (#45).


(pho)
diff -r1.5 -r1.6 pkgsrc/textproc/hs-citeproc/Makefile
diff -r1.4 -r1.5 pkgsrc/textproc/hs-citeproc/buildlink3.mk
diff -r1.3 -r1.4 pkgsrc/textproc/hs-citeproc/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/textproc/hs-citeproc/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/hs-citeproc/Makefile 2022/01/18 02:48:24 1.5
+++ pkgsrc/textproc/hs-citeproc/Makefile 2022/02/12 08:09:35 1.6
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: Makefile,v 1.5 2022/01/18 02:48:24 pho Exp $ 1# $NetBSD: Makefile,v 1.6 2022/02/12 08:09:35 pho Exp $
2 2
3DISTNAME= citeproc-0.3.0.9 3DISTNAME= citeproc-0.6.0.1
4PKGREVISION= 2 
5CATEGORIES= textproc 4CATEGORIES= textproc
6 5
7MAINTAINER= pho@cielonegro.org 6MAINTAINER= pho@cielonegro.org
8COMMENT= Generates citations and bibliography from CSL styles 7COMMENT= Generates citations and bibliography from CSL styles
9LICENSE= 2-clause-bsd 8LICENSE= 2-clause-bsd
10 9
11CONFIGURE_ARGS+= -fexecutable 10CONFIGURE_ARGS+= -fexecutable
12 11
13.include "../../converters/hs-aeson/buildlink3.mk" 12.include "../../converters/hs-aeson/buildlink3.mk"
14.include "../../converters/hs-aeson-pretty/buildlink3.mk" 13.include "../../converters/hs-aeson-pretty/buildlink3.mk"
15.include "../../textproc/hs-attoparsec/buildlink3.mk" 14.include "../../textproc/hs-attoparsec/buildlink3.mk"
16.include "../../textproc/hs-case-insensitive/buildlink3.mk" 15.include "../../textproc/hs-case-insensitive/buildlink3.mk"
17.include "../../devel/hs-data-default/buildlink3.mk" 16.include "../../devel/hs-data-default/buildlink3.mk"
18.include "../../devel/hs-file-embed/buildlink3.mk" 17.include "../../devel/hs-file-embed/buildlink3.mk"
19.include "../../textproc/hs-pandoc-types/buildlink3.mk" 18.include "../../textproc/hs-pandoc-types/buildlink3.mk"
20.include "../../devel/hs-safe/buildlink3.mk" 19.include "../../devel/hs-safe/buildlink3.mk"
21.include "../../math/hs-scientific/buildlink3.mk" 20.include "../../math/hs-scientific/buildlink3.mk"
 21.include "../../textproc/hs-unicode-collation/buildlink3.mk"
22.include "../../devel/hs-uniplate/buildlink3.mk" 22.include "../../devel/hs-uniplate/buildlink3.mk"
23.include "../../devel/hs-vector/buildlink3.mk" 23.include "../../devel/hs-vector/buildlink3.mk"
24.include "../../textproc/hs-xml-conduit/buildlink3.mk" 24.include "../../textproc/hs-xml-conduit/buildlink3.mk"
25.include "../../textproc/hs-rfc5051/buildlink3.mk" 25.include "../../textproc/hs-rfc5051/buildlink3.mk"
26.include "../../mk/haskell.mk" 26.include "../../mk/haskell.mk"
27.include "../../mk/bsd.pkg.mk" 27.include "../../mk/bsd.pkg.mk"

cvs diff -r1.4 -r1.5 pkgsrc/textproc/hs-citeproc/buildlink3.mk (expand / switch to unified diff)

--- pkgsrc/textproc/hs-citeproc/buildlink3.mk 2022/01/18 02:48:24 1.4
+++ pkgsrc/textproc/hs-citeproc/buildlink3.mk 2022/02/12 08:09:35 1.5
@@ -1,27 +1,28 @@ @@ -1,27 +1,28 @@
1# $NetBSD: buildlink3.mk,v 1.4 2022/01/18 02:48:24 pho Exp $ 1# $NetBSD: buildlink3.mk,v 1.5 2022/02/12 08:09:35 pho Exp $
2 2
3BUILDLINK_TREE+= hs-citeproc 3BUILDLINK_TREE+= hs-citeproc
4 4
5.if !defined(HS_CITEPROC_BUILDLINK3_MK) 5.if !defined(HS_CITEPROC_BUILDLINK3_MK)
6HS_CITEPROC_BUILDLINK3_MK:= 6HS_CITEPROC_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.hs-citeproc+= hs-citeproc>=0.3.0 8BUILDLINK_API_DEPENDS.hs-citeproc+= hs-citeproc>=0.6.0
9BUILDLINK_ABI_DEPENDS.hs-citeproc+= hs-citeproc>=0.3.0.9nb2 9BUILDLINK_ABI_DEPENDS.hs-citeproc+= hs-citeproc>=0.6.0.1
10BUILDLINK_PKGSRCDIR.hs-citeproc?= ../../textproc/hs-citeproc 10BUILDLINK_PKGSRCDIR.hs-citeproc?= ../../textproc/hs-citeproc
11 11
12.include "../../converters/hs-aeson/buildlink3.mk" 12.include "../../converters/hs-aeson/buildlink3.mk"
13.include "../../converters/hs-aeson-pretty/buildlink3.mk" 13.include "../../converters/hs-aeson-pretty/buildlink3.mk"
14.include "../../textproc/hs-attoparsec/buildlink3.mk" 14.include "../../textproc/hs-attoparsec/buildlink3.mk"
15.include "../../textproc/hs-case-insensitive/buildlink3.mk" 15.include "../../textproc/hs-case-insensitive/buildlink3.mk"
16.include "../../devel/hs-data-default/buildlink3.mk" 16.include "../../devel/hs-data-default/buildlink3.mk"
17.include "../../devel/hs-file-embed/buildlink3.mk" 17.include "../../devel/hs-file-embed/buildlink3.mk"
18.include "../../textproc/hs-pandoc-types/buildlink3.mk" 18.include "../../textproc/hs-pandoc-types/buildlink3.mk"
19.include "../../devel/hs-safe/buildlink3.mk" 19.include "../../devel/hs-safe/buildlink3.mk"
20.include "../../math/hs-scientific/buildlink3.mk" 20.include "../../math/hs-scientific/buildlink3.mk"
 21.include "../../textproc/hs-unicode-collation/buildlink3.mk"
21.include "../../devel/hs-uniplate/buildlink3.mk" 22.include "../../devel/hs-uniplate/buildlink3.mk"
22.include "../../devel/hs-vector/buildlink3.mk" 23.include "../../devel/hs-vector/buildlink3.mk"
23.include "../../textproc/hs-xml-conduit/buildlink3.mk" 24.include "../../textproc/hs-xml-conduit/buildlink3.mk"
24.include "../../textproc/hs-rfc5051/buildlink3.mk" 25.include "../../textproc/hs-rfc5051/buildlink3.mk"
25.endif # HS_CITEPROC_BUILDLINK3_MK 26.endif # HS_CITEPROC_BUILDLINK3_MK
26 27
27BUILDLINK_TREE+= -hs-citeproc 28BUILDLINK_TREE+= -hs-citeproc

cvs diff -r1.3 -r1.4 pkgsrc/textproc/hs-citeproc/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/hs-citeproc/distinfo 2021/10/26 11:21:59 1.3
+++ pkgsrc/textproc/hs-citeproc/distinfo 2022/02/12 08:09:35 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2021/10/26 11:21:59 nia Exp $ 1$NetBSD: distinfo,v 1.4 2022/02/12 08:09:35 pho Exp $
2 2
3BLAKE2s (citeproc-0.3.0.9.tar.gz) = 003b061d6f641bd61653cb9ded797fc6fda0c30e1520b2c7a73ce097080c9f0a 3BLAKE2s (citeproc-0.6.0.1.tar.gz) = 3223ddfb087331e2072de8df016dd2d67406ff23bc86169bd324202fc8adae6b
4SHA512 (citeproc-0.3.0.9.tar.gz) = 48341417e955f8ee4f6ea5e446e37907ed7b75858418c248504d93496b64147d67d7ba5e35ca9033a528982a7650d3013574f5e8686acc085f267e3d6a44b93f 4SHA512 (citeproc-0.6.0.1.tar.gz) = ba9949d089e1a1ae27b16a19639aeaa18cebe1113861afabd97a1ee0fa2c9ca1444d7a36335422a3cabc90a1840a5cc99ca6ba8146c43008df4967dcea271ac3
5Size (citeproc-0.3.0.9.tar.gz) = 572112 bytes 5Size (citeproc-0.6.0.1.tar.gz) = 588162 bytes