Skip to content

Commit

Permalink
Update to doctemplates-0.10.0.1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
depressed-pho committed Feb 12, 2022
1 parent a5e1fc2 commit 1ad95e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions textproc/hs-doctemplates/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.4 2022/01/18 02:48:25 pho Exp $
# $NetBSD: Makefile,v 1.5 2022/02/12 07:35:44 pho Exp $

DISTNAME= doctemplates-0.9
PKGREVISION= 2
DISTNAME= doctemplates-0.10.0.1
CATEGORIES= textproc

MAINTAINER= pho@cielonegro.org
Expand Down
6 changes: 3 additions & 3 deletions textproc/hs-doctemplates/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.4 2022/01/18 02:48:25 pho Exp $
# $NetBSD: buildlink3.mk,v 1.5 2022/02/12 07:35:44 pho Exp $

BUILDLINK_TREE+= hs-doctemplates

.if !defined(HS_DOCTEMPLATES_BUILDLINK3_MK)
HS_DOCTEMPLATES_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.9
BUILDLINK_ABI_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.9nb2
BUILDLINK_API_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.10.0
BUILDLINK_ABI_DEPENDS.hs-doctemplates+= hs-doctemplates>=0.10.0.1
BUILDLINK_PKGSRCDIR.hs-doctemplates?= ../../textproc/hs-doctemplates

.include "../../converters/hs-aeson/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions textproc/hs-doctemplates/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2021/10/26 11:22:00 nia Exp $
$NetBSD: distinfo,v 1.5 2022/02/12 07:35:44 pho Exp $

BLAKE2s (doctemplates-0.9.tar.gz) = c7f478ac2d39e7ee6719699b56b770843db8f67b655d2fdb9275dbe440571df7
SHA512 (doctemplates-0.9.tar.gz) = 3216fc7ef4e2a45230a2854c22c2a8622774bc834bbf59d34134912b3942df2a541230bd91324995e13e19098a0fa0bf7057c7d55ca35ec75da7840fddd61a37
Size (doctemplates-0.9.tar.gz) = 27366 bytes
BLAKE2s (doctemplates-0.10.0.1.tar.gz) = 05bb66d9962adf028933486e3ad0edfdeaccb9b9fcd62716c97f4b159373a3aa
SHA512 (doctemplates-0.10.0.1.tar.gz) = db4fec53d8f97f91e63e26d9634816796a5224456016910ef9c1c30c3757190a018f10f573d080b53dbb462760bff911f3fc2a104210d197e03cad2119435980
Size (doctemplates-0.10.0.1.tar.gz) = 27494 bytes

0 comments on commit 1ad95e1

Please sign in to comment.