pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/hs-doctemplates



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Apr 24 15:28:11 UTC 2021

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

Log Message:
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].


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/hs-doctemplates/Makefile \
    pkgsrc/textproc/hs-doctemplates/PLIST \
    pkgsrc/textproc/hs-doctemplates/buildlink3.mk \
    pkgsrc/textproc/hs-doctemplates/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-doctemplates/Makefile
diff -u pkgsrc/textproc/hs-doctemplates/Makefile:1.1 pkgsrc/textproc/hs-doctemplates/Makefile:1.2
--- pkgsrc/textproc/hs-doctemplates/Makefile:1.1        Wed Jan 15 11:35:54 2020
+++ pkgsrc/textproc/hs-doctemplates/Makefile    Sat Apr 24 15:28:11 2021
@@ -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=    pho%cielonegro.org@localhost
@@ -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"
Index: pkgsrc/textproc/hs-doctemplates/PLIST
diff -u pkgsrc/textproc/hs-doctemplates/PLIST:1.1 pkgsrc/textproc/hs-doctemplates/PLIST:1.2
--- pkgsrc/textproc/hs-doctemplates/PLIST:1.1   Mon May 11 17:52:15 2020
+++ pkgsrc/textproc/hs-doctemplates/PLIST       Sat Apr 24 15:28:11 2021
@@ -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
Index: pkgsrc/textproc/hs-doctemplates/buildlink3.mk
diff -u pkgsrc/textproc/hs-doctemplates/buildlink3.mk:1.1 pkgsrc/textproc/hs-doctemplates/buildlink3.mk:1.2
--- pkgsrc/textproc/hs-doctemplates/buildlink3.mk:1.1   Wed Jan 15 11:35:54 2020
+++ pkgsrc/textproc/hs-doctemplates/buildlink3.mk       Sat Apr 24 15:28:11 2021
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/01/15 11:35:54 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2021/04/24 15:28:11 pho Exp $
 
 BUILDLINK_TREE+=       hs-doctemplates
 
 .if !defined(HS_DOCTEMPLATES_BUILDLINK3_MK)
 HS_DOCTEMPLATES_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.hs-doctemplates+=        hs-doctemplates>=0.8.1
-BUILDLINK_ABI_DEPENDS.hs-doctemplates+=        hs-doctemplates>=0.8.1
+BUILDLINK_API_DEPENDS.hs-doctemplates+=        hs-doctemplates>=0.9
+BUILDLINK_ABI_DEPENDS.hs-doctemplates+=        hs-doctemplates>=0.9
 BUILDLINK_PKGSRCDIR.hs-doctemplates?=  ../../textproc/hs-doctemplates
 
 .include "../../converters/hs-aeson/buildlink3.mk"
@@ -16,6 +16,7 @@ BUILDLINK_PKGSRCDIR.hs-doctemplates?= ..
 .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"
 .endif # HS_DOCTEMPLATES_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -hs-doctemplates
Index: pkgsrc/textproc/hs-doctemplates/distinfo
diff -u pkgsrc/textproc/hs-doctemplates/distinfo:1.1 pkgsrc/textproc/hs-doctemplates/distinfo:1.2
--- pkgsrc/textproc/hs-doctemplates/distinfo:1.1        Wed Jan 15 11:35:54 2020
+++ pkgsrc/textproc/hs-doctemplates/distinfo    Sat Apr 24 15:28:11 2021
@@ -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



Home | Main Index | Thread Index | Old Index