head 1.12; access; symbols pkgsrc-2023Q4:1.12.0.2 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.10.0.6 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.4 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.2 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.8.0.4 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.2 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.7.0.4 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.2 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.3.0.6 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.4 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.2 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.1.0.10 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.8 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.6 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.4 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1; locks; strict; comment @# @; 1.12 date 2023.11.02.06.37.30; author pho; state Exp; branches; next 1.11; commitid dPkTdcIqhE4k90LE; 1.11 date 2023.10.09.04.54.50; author pho; state Exp; branches; next 1.10; commitid GWJENRm2aeL7mUHE; 1.10 date 2023.02.07.01.41.10; author pho; state Exp; branches; next 1.9; commitid FngQneW4VvkL7xcE; 1.9 date 2023.01.27.15.23.37; author pho; state Exp; branches; next 1.8; commitid sZL9xcLhnzqu2cbE; 1.8 date 2022.08.20.08.08.22; author wiz; state Exp; branches; next 1.7; commitid gfUtMrzKtoUPLAQD; 1.7 date 2022.02.26.03.58.27; author pho; state Exp; branches; next 1.6; commitid YpGygpH4CsFi05uD; 1.6 date 2022.02.12.08.50.52; author pho; state Exp; branches; next 1.5; commitid RtqPCkFXjE2Y4jsD; 1.5 date 2022.02.12.07.35.44; author pho; state Exp; branches; next 1.4; commitid bXIAT3ebjCPuFisD; 1.4 date 2022.01.18.02.48.25; author pho; state Exp; branches; next 1.3; commitid ebWMDlQYfX5rS3pD; 1.3 date 2021.05.03.19.01.14; author pho; state Exp; branches; next 1.2; commitid Sim1lfCa9UFPBJRC; 1.2 date 2021.04.24.15.28.11; author pho; state Exp; branches; next 1.1; commitid st7yOTrmnQquJyQC; 1.1 date 2020.01.15.11.35.54; author pho; state Exp; branches; next ; commitid zz3lVoJGso5voMSB; desc @@ 1.12 log @Revbump all Haskell after updating lang/ghc96 @ text @# $NetBSD: Makefile,v 1.11 2023/10/09 04:54:50 pho Exp $ DISTNAME= doctemplates-0.11 PKGREVISION= 3 CATEGORIES= textproc MAINTAINER= pho@@cielonegro.org COMMENT= Pandoc-style document templates LICENSE= modified-bsd .include "../../converters/hs-aeson/buildlink3.mk" .include "../../textproc/hs-doclayout/buildlink3.mk" .include "../../devel/hs-safe/buildlink3.mk" .include "../../math/hs-scientific/buildlink3.mk" .include "../../converters/hs-text-conversions/buildlink3.mk" .include "../../devel/hs-vector/buildlink3.mk" .include "../../mk/haskell.mk" .include "../../mk/bsd.pkg.mk" @ 1.11 log @Bump Haskell packages after updating lang/ghc94 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2023/02/07 01:41:10 pho Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.10 log @revbump all the Haskell packages after modifying the runtime system of lang/ghc94 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2023/01/27 15:23:37 pho Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.9 log @textproc/hs-doctemplates: Update to 0.11 No release notes have been provided by upstream. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2022/08/20 08:08:22 wiz Exp $ d4 1 @ 1.8 log @hs*: recursive bump for new dependencies needed for hs-aeson, hs-vector @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2022/02/26 03:58:27 pho Exp $ d3 1 a3 2 DISTNAME= doctemplates-0.10.0.1 PKGREVISION= 3 a11 1 .include "../../textproc/hs-HsYAML/buildlink3.mk" a14 1 .include "../../devel/hs-unordered-containers/buildlink3.mk" @ 1.7 log @Bump all Haskell packages after enabling "split sections" in mk/haskell.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2022/02/12 08:50:52 pho Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.6 log @revbump after changing the default Haskell compiler @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2022/02/12 07:35:44 pho Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.5 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2022/01/18 02:48:25 pho Exp $ d4 1 @ 1.4 log @Bump packages that depends on GHC @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2021/05/03 19:01:14 pho Exp $ d3 1 a3 2 DISTNAME= doctemplates-0.9 PKGREVISION= 2 @ 1.3 log @*: Bump PKGREVISION for ghc-9.0.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2021/04/24 15:28:11 pho Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.2 log @Update to doctemplates-0.9 0.9 * Add BoolVal constructor to Val. This gives a smoother interface with JSON and YAML. [API change] * Remove overlapping instances by generalizing ToContext String String and FromContext String String to TemplateTarget [a] => ToContext [a] [a] and TemplateTarget [a] => FromContext [a] [a]. Remove the instance ToContext String (Doc String). Remove redundant constraints. (#9, favonia) [API change] 0.8.3 * Properly handle nested loops (#15). Previously "it" was always used for the variable in a loop, and in a nested loop there was no way to distinguish the value of the inner iteration from the value of the outer one. Now we assign the iterated value to both "it" and to the original variable name (e.g. "foo.bar"). This probably has a small negative performance impact. Note that this change also affects the output of the template parser: original variable names are now retained instead of being replaced by "it". * Remove duplicate IsString constraint (#14, Mario Lang). * Update haddocks from README (#10). * Minor code clean-ups (#7, favonia). * Add hsyaml >= 0.2 constraint (#6). 0.8.2 * Add filters: first, rest, last, allbutlast. * New constructors for Filter: FirstItem, LastItem, Rest, AllButLast [API change]. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2020/01/15 11:35:54 pho Exp $ d4 1 @ 1.1 log @Import doctemplates-0.8.1 This is the text templating system used by pandoc. It supports variable interpolation, iteration, tests for non-blank values, pipes, and partials. Templates are rendered to doclayout Docs, and variable values may come from a variety of different sources, including aeson Values. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2020/01/11 09:59:02 pho Exp $ d3 1 a3 1 DISTNAME= doctemplates-0.8.1 d17 1 @