pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/hs-citeproc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jul 19 20:46:30 UTC 2025

Modified Files:
        pkgsrc/textproc/hs-citeproc: Makefile buildlink3.mk distinfo

Log Message:
textproc/hs-citeproc: update to citeproc-0.9.0.1

## 0.9.0.1

  * Fix `readAsInt` so it handles negative numbers in strings.
    `readAsInt` attempts to read strings as integers, but previously
    it didn't properly handle strings like `"-387"`, which are
    sometimes used in bibliographies. See jgm/pandoc#10839.

## 0.9

  * Fix handling of `type` conditions in `if` (#151).
    In an `if` element with `type="article-journal chapter"`, citeproc
    previously treated this as two separate conditions
    (type=article-journal, type=chapter).  But it seems that the
    intended behavior is to treat it as a single condition that
    succeeds if any of the listed types match. The difference between
    current and intended behavior comes out when `match="all"` is used;
    this will always fail when `type` contains more than one type.

    To fix this, we change the `HasType` constructor on `Condition`
    so that it takes a list of Texts rather than single one [API change],
    and we populate it with the result of splitting the argument
    of `type`. In Eval, we change the clause for the HasType condition
    so that it succeeds if any of the types in the list match.

  * Add `--link-citations` and `--link-bibliography` options to binary
    (#142, Daphne Preston-Kendal).

  * Bump containers upper bound.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/hs-citeproc/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/hs-citeproc/buildlink3.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/hs-citeproc/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/hs-citeproc/Makefile
diff -u pkgsrc/textproc/hs-citeproc/Makefile:1.20 pkgsrc/textproc/hs-citeproc/Makefile:1.21
--- pkgsrc/textproc/hs-citeproc/Makefile:1.20   Wed Mar  5 03:39:56 2025
+++ pkgsrc/textproc/hs-citeproc/Makefile        Sat Jul 19 20:46:30 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2025/03/05 03:39:56 pho Exp $
+# $NetBSD: Makefile,v 1.21 2025/07/19 20:46:30 wiz Exp $
 
-DISTNAME=      citeproc-0.8.1.3
-PKGREVISION=   1
+DISTNAME=      citeproc-0.9.0.1
 CATEGORIES=    textproc
 
 MAINTAINER=    pho%cielonegro.org@localhost

Index: pkgsrc/textproc/hs-citeproc/buildlink3.mk
diff -u pkgsrc/textproc/hs-citeproc/buildlink3.mk:1.19 pkgsrc/textproc/hs-citeproc/buildlink3.mk:1.20
--- pkgsrc/textproc/hs-citeproc/buildlink3.mk:1.19      Wed Mar  5 03:39:56 2025
+++ pkgsrc/textproc/hs-citeproc/buildlink3.mk   Sat Jul 19 20:46:30 2025
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.19 2025/03/05 03:39:56 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2025/07/19 20:46:30 wiz Exp $
 
 BUILDLINK_TREE+=       hs-citeproc
 
 .if !defined(HS_CITEPROC_BUILDLINK3_MK)
 HS_CITEPROC_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-citeproc+=    hs-citeproc>=0.8.1
-BUILDLINK_ABI_DEPENDS.hs-citeproc+=    hs-citeproc>=0.8.1.3nb1
+BUILDLINK_API_DEPENDS.hs-citeproc+=    hs-citeproc>=0.9.0
+BUILDLINK_ABI_DEPENDS.hs-citeproc+=    hs-citeproc>=0.9.0.1
 BUILDLINK_PKGSRCDIR.hs-citeproc?=      ../../textproc/hs-citeproc
 
 .include "../../converters/hs-aeson/buildlink3.mk"

Index: pkgsrc/textproc/hs-citeproc/distinfo
diff -u pkgsrc/textproc/hs-citeproc/distinfo:1.7 pkgsrc/textproc/hs-citeproc/distinfo:1.8
--- pkgsrc/textproc/hs-citeproc/distinfo:1.7    Sun Feb 23 21:57:24 2025
+++ pkgsrc/textproc/hs-citeproc/distinfo        Sat Jul 19 20:46:30 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2025/02/23 21:57:24 wiz Exp $
+$NetBSD: distinfo,v 1.8 2025/07/19 20:46:30 wiz Exp $
 
-BLAKE2s (citeproc-0.8.1.3.tar.gz) = 9ef1b1d3a61e9cdadc3ad857d46cbd37aa93daff46e221ce9cc00fce1f756f74
-SHA512 (citeproc-0.8.1.3.tar.gz) = ac95d33acdab0507e1f5b41d62e1b867816643d59eeb4d56434d5a1ab2de42f5695525f29487af3aa5564a21a9f2d0da7573783faac4e5d1c1af28f321d07bd1
-Size (citeproc-0.8.1.3.tar.gz) = 551442 bytes
+BLAKE2s (citeproc-0.9.0.1.tar.gz) = 1fc26a719069562d4f1280f1e1bff7204874507a6e2633b26625cc9bcc8de0b4
+SHA512 (citeproc-0.9.0.1.tar.gz) = 164522db1ff38be625b6a2eae274bfb68144e0cb218d87de28a15a7d10799380b36cdf199a1250603e0caf5559d13191a8fbeb3ee801f6bbe67f5f256e56c696
+Size (citeproc-0.9.0.1.tar.gz) = 550644 bytes



Home | Main Index | Thread Index | Old Index