forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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].
- Loading branch information
1 parent
1e833d4
commit bffe8fc
Showing
4 changed files
with
38 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# $NetBSD: Makefile,v 1.1 2020/01/15 11:35:54 pho Exp $ | ||
# $NetBSD: Makefile,v 1.2 2021/04/24 15:28:11 pho Exp $ | ||
|
||
DISTNAME= doctemplates-0.8.1 | ||
DISTNAME= doctemplates-0.9 | ||
CATEGORIES= textproc | ||
|
||
MAINTAINER= [email protected] | ||
|
@@ -14,5 +14,6 @@ LICENSE= modified-bsd | |
.include "../../math/hs-scientific/buildlink3.mk" | ||
.include "../../converters/hs-text-conversions/buildlink3.mk" | ||
.include "../../devel/hs-unordered-containers/buildlink3.mk" | ||
.include "../../devel/hs-vector/buildlink3.mk" | ||
.include "../../mk/haskell.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
@comment $NetBSD: PLIST,v 1.1 2020/05/11 17:52:15 rillig Exp $ | ||
${HS_INTF}/package-description | ||
${HS_INTF}/package-id | ||
${HS_IMPL}/Text/DocTemplates.dyn_hi | ||
${HS_IMPL}/Text/DocTemplates.hi | ||
${HS_IMPL}/Text/DocTemplates.p_hi | ||
${HS_IMPL}/Text/DocTemplates/Internal.dyn_hi | ||
${HS_IMPL}/Text/DocTemplates/Internal.hi | ||
${HS_IMPL}/Text/DocTemplates/Internal.p_hi | ||
${HS_IMPL}/Text/DocTemplates/Parser.dyn_hi | ||
${HS_IMPL}/Text/DocTemplates/Parser.hi | ||
${HS_IMPL}/Text/DocTemplates/Parser.p_hi | ||
${HS_IMPL}/libHS${HS_PKGID}.a | ||
${HS_IMPL}/libHS${HS_PKGID}_p.a | ||
@comment $NetBSD: PLIST,v 1.2 2021/04/24 15:28:11 pho Exp $ | ||
lib/doctemplates-${PKGVERSION}/${HS_VERSION}/package-description | ||
lib/doctemplates-${PKGVERSION}/${HS_VERSION}/package-id | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates.dyn_hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates.hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates.p_hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates/Internal.dyn_hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates/Internal.hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates/Internal.p_hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates/Parser.dyn_hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates/Parser.hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/Text/DocTemplates/Parser.p_hi | ||
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a | ||
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a | ||
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so | ||
${HS_DOCS}/LICENSE | ||
${HS_DOCS}/html/Text-DocTemplates-Internal.html | ||
${HS_DOCS}/html/Text-DocTemplates-Parser.html | ||
${HS_DOCS}/html/Text-DocTemplates.html | ||
${HS_DOCS}/html/doc-index.html | ||
${HS_DOCS}/html/doctemplates.haddock | ||
${HS_DOCS}/html/haddock-bundle.min.js | ||
${HS_DOCS}/html/index.html | ||
${HS_DOCS}/html/linuwial.css | ||
${HS_DOCS}/html/meta.json | ||
${HS_DOCS}/html/quick-jump.css | ||
${HS_DOCS}/html/synopsis.png | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/LICENSE | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/Text-DocTemplates-Internal.html | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/Text-DocTemplates-Parser.html | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/Text-DocTemplates.html | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/doc-index.html | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/doctemplates.haddock | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/haddock-bundle.min.js | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/index.html | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/linuwial.css | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/meta.json | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/quick-jump.css | ||
share/doc/${HS_PLATFORM}/doctemplates-${PKGVERSION}/html/synopsis.png | ||
share/${HS_PLATFORM}/doctemplates-${PKGVERSION}/README.md | ||
share/${HS_PLATFORM}/doctemplates-${PKGVERSION}/changelog.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
$NetBSD: distinfo,v 1.1 2020/01/15 11:35:54 pho Exp $ | ||
$NetBSD: distinfo,v 1.2 2021/04/24 15:28:11 pho Exp $ | ||
|
||
SHA1 (doctemplates-0.8.1.tar.gz) = 54159357b3a23ffdeb7d89ea9aae6b08a50f3bd4 | ||
RMD160 (doctemplates-0.8.1.tar.gz) = d5baf799d38e8c7eec0f9a163d3867f90871a4af | ||
SHA512 (doctemplates-0.8.1.tar.gz) = eb733421ff884e19a5c0c637fe1eaa3d0fcee9b6382939b148a0f9b493dc7b5c27344411bb542b7244a96fe613d8a587074936ff81ec367027364c98d338d6f6 | ||
Size (doctemplates-0.8.1.tar.gz) = 26476 bytes | ||
SHA1 (doctemplates-0.9.tar.gz) = 24af93320be556c02b91ac1bd9612a83540967f3 | ||
RMD160 (doctemplates-0.9.tar.gz) = 37b103a8b73faf0325a44bfcaa4085c20a6097d1 | ||
SHA512 (doctemplates-0.9.tar.gz) = 3216fc7ef4e2a45230a2854c22c2a8622774bc834bbf59d34134912b3942df2a541230bd91324995e13e19098a0fa0bf7057c7d55ca35ec75da7840fddd61a37 | ||
Size (doctemplates-0.9.tar.gz) = 27366 bytes |