Update to doctemplates-0.10.0.1 0.10.0.1 * Don't rely on aeson Object being implemented as a HashMap. This change is needed for doctemplates to compile against aeson 2.0.0.0. 0.10 * Change rendering and conditional behavior with booleans. Previously, $if(foo)$ evaluated to false iff foo would render as the empty string. This forced us to render a boolean False value as an empty string, rather than false. And this has caused various problems with templates (#16, jgm/pandoc#7402). Now, boolean False values render as false -- just as True values render as true. And conditionals are now sensitive to booleans, so $if(foo)$ evaluates to false when foo is a boolean False value, even though it would render as the nonempty string false.diff -r1.4 -r1.5 pkgsrc/textproc/hs-doctemplates/Makefile
(pho)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2022/01/18 02:48:25 pho Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2022/02/12 07:35:44 pho Exp $ | |
2 | 2 | |||
3 | DISTNAME= doctemplates-0.9 | 3 | DISTNAME= doctemplates-0.10.0.1 | |
4 | PKGREVISION= 2 | |||
5 | CATEGORIES= textproc | 4 | CATEGORIES= textproc | |
6 | 5 | |||
7 | MAINTAINER= pho@cielonegro.org | 6 | MAINTAINER= pho@cielonegro.org | |
8 | COMMENT= Pandoc-style document templates | 7 | COMMENT= Pandoc-style document templates | |
9 | LICENSE= modified-bsd | 8 | LICENSE= modified-bsd | |
10 | 9 | |||
11 | .include "../../converters/hs-aeson/buildlink3.mk" | 10 | .include "../../converters/hs-aeson/buildlink3.mk" | |
12 | .include "../../textproc/hs-doclayout/buildlink3.mk" | 11 | .include "../../textproc/hs-doclayout/buildlink3.mk" | |
13 | .include "../../textproc/hs-HsYAML/buildlink3.mk" | 12 | .include "../../textproc/hs-HsYAML/buildlink3.mk" | |
14 | .include "../../devel/hs-safe/buildlink3.mk" | 13 | .include "../../devel/hs-safe/buildlink3.mk" | |
15 | .include "../../math/hs-scientific/buildlink3.mk" | 14 | .include "../../math/hs-scientific/buildlink3.mk" | |
16 | .include "../../converters/hs-text-conversions/buildlink3.mk" | 15 | .include "../../converters/hs-text-conversions/buildlink3.mk" | |
17 | .include "../../devel/hs-unordered-containers/buildlink3.mk" | 16 | .include "../../devel/hs-unordered-containers/buildlink3.mk" |
@@ -1,22 +1,22 @@ | @@ -1,22 +1,22 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.4 2022/01/18 02:48:25 pho Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.5 2022/02/12 07:35:44 pho Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= hs-doctemplates | 3 | BUILDLINK_TREE+= hs-doctemplates | |
4 | 4 | |||
5 | .if !defined(HS_DOCTEMPLATES_BUILDLINK3_MK) | 5 | .if !defined(HS_DOCTEMPLATES_BUILDLINK3_MK) | |
6 | HS_DOCTEMPLATES_BUILDLINK3_MK:= | 6 | HS_DOCTEMPLATES_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_API_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.9 | 8 | BUILDLINK_API_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.10.0 | |
9 | BUILDLINK_ABI_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.9nb2 | 9 | BUILDLINK_ABI_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.10.0.1 | |
10 | BUILDLINK_PKGSRCDIR.hs-doctemplates?= ../../textproc/hs-doctemplates | 10 | BUILDLINK_PKGSRCDIR.hs-doctemplates?= ../../textproc/hs-doctemplates | |
11 | 11 | |||
12 | .include "../../converters/hs-aeson/buildlink3.mk" | 12 | .include "../../converters/hs-aeson/buildlink3.mk" | |
13 | .include "../../textproc/hs-doclayout/buildlink3.mk" | 13 | .include "../../textproc/hs-doclayout/buildlink3.mk" | |
14 | .include "../../textproc/hs-HsYAML/buildlink3.mk" | 14 | .include "../../textproc/hs-HsYAML/buildlink3.mk" | |
15 | .include "../../devel/hs-safe/buildlink3.mk" | 15 | .include "../../devel/hs-safe/buildlink3.mk" | |
16 | .include "../../math/hs-scientific/buildlink3.mk" | 16 | .include "../../math/hs-scientific/buildlink3.mk" | |
17 | .include "../../converters/hs-text-conversions/buildlink3.mk" | 17 | .include "../../converters/hs-text-conversions/buildlink3.mk" | |
18 | .include "../../devel/hs-unordered-containers/buildlink3.mk" | 18 | .include "../../devel/hs-unordered-containers/buildlink3.mk" | |
19 | .include "../../devel/hs-vector/buildlink3.mk" | 19 | .include "../../devel/hs-vector/buildlink3.mk" | |
20 | .endif # HS_DOCTEMPLATES_BUILDLINK3_MK | 20 | .endif # HS_DOCTEMPLATES_BUILDLINK3_MK | |
21 | 21 | |||
22 | BUILDLINK_TREE+= -hs-doctemplates | 22 | BUILDLINK_TREE+= -hs-doctemplates |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.4 2021/10/26 11:22:00 nia Exp $ | 1 | $NetBSD: distinfo,v 1.5 2022/02/12 07:35:44 pho Exp $ | |
2 | 2 | |||
3 | BLAKE2s (doctemplates-0.9.tar.gz) = c7f478ac2d39e7ee6719699b56b770843db8f67b655d2fdb9275dbe440571df7 | 3 | BLAKE2s (doctemplates-0.10.0.1.tar.gz) = 05bb66d9962adf028933486e3ad0edfdeaccb9b9fcd62716c97f4b159373a3aa | |
4 | SHA512 (doctemplates-0.9.tar.gz) = 3216fc7ef4e2a45230a2854c22c2a8622774bc834bbf59d34134912b3942df2a541230bd91324995e13e19098a0fa0bf7057c7d55ca35ec75da7840fddd61a37 | 4 | SHA512 (doctemplates-0.10.0.1.tar.gz) = db4fec53d8f97f91e63e26d9634816796a5224456016910ef9c1c30c3757190a018f10f573d080b53dbb462760bff911f3fc2a104210d197e03cad2119435980 | |
5 | Size (doctemplates-0.9.tar.gz) = 27366 bytes | 5 | Size (doctemplates-0.10.0.1.tar.gz) = 27494 bytes |