pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/dhall



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat May  4 12:41:42 UTC 2024

Modified Files:
        pkgsrc/lang/dhall: Makefile PLIST buildlink3.mk distinfo
Removed Files:
        pkgsrc/lang/dhall/patches: patch-dhall.cabal
            patch-src_Dhall_DirectoryTree.hs patch-src_Dhall_TH.hs

Log Message:
lang/dhall: Update to 1.42.1

1.42.1

    Add several new entrypoints to Dhall module [#2534] / [#2544]

    Build against latest versions of:
        ansi-terminal
        optparse-applicative
        optparse-generic
        lens
        template-haskell [#2532] / [#2542]
        unix-compat 1.42.0

    Supports standard version 23.0.0
        BREAKING CHANGE TO THE API AND LANGUAGE: Language support for Bytes literals
            This is a breaking change to the API due to adding new Bytes and BytesLiteral constructors to the Expr type
            This is a breaking change to the language now that Bytes is a reserved identifier
        BREAKING CHANGE TO THE API AND LANGUAGE: New {Date,Time,TimeZone}/show builtins
            This is a breaking change to the API due to adding new {Date,Time,TimeZone}Show constructors to the Expr type
            This is a breaking change to the language now that {Date,Time,TimeZone}/show are not reserved identifiers

    BREAKING CHANGE: dhall lint no longer sorts let bindings
        This had to be removed because the old behavior was not always correct
        The old behavior would sometimes change the behavior of a Dhall program or break the program
        Out of an abundance of caution we're disabling the feature until it can be properly fixed (which is't trivial)

    BUG FIX: Fix pretty-printing of Time literals
        The pretty-printer was stripping leading zeros from the fractional component of seconds

    BUG FIX: Fix custom normalizers to work for things other than functions
        Before this change you could extend the language with custom functions, but not custom values (e.g. foo = 1)

    BUG FIX: Don't URL encode path components
        The pretty-printer was URL-encoding path components, which is not correct (according to the standard)
        URL path components are supposed to be already URL-encoded by the user and left undisturbed by the interpreter (which is now what it correctly does)

    New dhall package command: #2478, #2508
        This command makes it easier to turn a directory full of Dhall expressions into a dhall package (e.g. package.dhall)

    Improved dhall to-directory-tree subcommand
        The dhall to-directory-tree subcommand now optionally supports specifying metadata for generated paths
        For a worked example, see: https://github.com/dhall-lang/dhall-haskell/blob/main/dhall/examples/to-directory-tree.dhall

    dhall freeze --cache --all is now idempotent: #2486, #2500
        Before this change a second run would fail due to attempting to resolve the missing import it would generate

    New Template Haskell options for adding strictness annotations to generated Haskell types

    Template Haskell can now generate higher-kinded Haskell types from higher-kinded Dhall types

    New Dhall.Freeze utilities for working with custom evaluators

    Add Data instances for Import and various other types

    Add Eq instances for InvalidDecoder and ExtractError


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/dhall/Makefile \
    pkgsrc/lang/dhall/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/dhall/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/dhall/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/lang/dhall/patches/patch-dhall.cabal
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/lang/dhall/patches/patch-src_Dhall_DirectoryTree.hs \
    pkgsrc/lang/dhall/patches/patch-src_Dhall_TH.hs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/dhall/Makefile
diff -u pkgsrc/lang/dhall/Makefile:1.9 pkgsrc/lang/dhall/Makefile:1.10
--- pkgsrc/lang/dhall/Makefile:1.9      Thu Nov  2 06:37:07 2023
+++ pkgsrc/lang/dhall/Makefile  Sat May  4 12:41:41 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2023/11/02 06:37:07 pho Exp $
+# $NetBSD: Makefile,v 1.10 2024/05/04 12:41:41 pho Exp $
 
-DISTNAME=      dhall-1.42.0
+DISTNAME=      dhall-1.42.1
 PKGNAME=       ${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    lang
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -11,11 +10,7 @@ LICENSE=     modified-bsd
 
 HASKELL_UNRESTRICT_DEPENDENCIES+=      \
        Diff    \
-       aeson   \
-       ansi-terminal   \
-       optparse-applicative    \
-       template-haskell        \
-       unix-compat
+       ansi-terminal
 
 # If bin/dhall is to be linked dynamically, it will depend on more than 140
 # shared objects and the dynamic linker will spend more than a second to
Index: pkgsrc/lang/dhall/buildlink3.mk
diff -u pkgsrc/lang/dhall/buildlink3.mk:1.9 pkgsrc/lang/dhall/buildlink3.mk:1.10
--- pkgsrc/lang/dhall/buildlink3.mk:1.9 Thu Nov  2 06:37:07 2023
+++ pkgsrc/lang/dhall/buildlink3.mk     Sat May  4 12:41:41 2024
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.9 2023/11/02 06:37:07 pho Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2024/05/04 12:41:41 pho Exp $
 
 BUILDLINK_TREE+=       dhall
 
 .if !defined(DHALL_BUILDLINK3_MK)
 DHALL_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.dhall+=  dhall>=1.42.0
-BUILDLINK_ABI_DEPENDS.dhall+=  dhall>=1.42.0nb1
+BUILDLINK_API_DEPENDS.dhall+=  dhall>=1.42.1
+BUILDLINK_ABI_DEPENDS.dhall+=  dhall>=1.42.1
 BUILDLINK_PKGSRCDIR.dhall?=    ../../lang/dhall
 
 .include "../../converters/hs-aeson/buildlink3.mk"

Index: pkgsrc/lang/dhall/PLIST
diff -u pkgsrc/lang/dhall/PLIST:1.3 pkgsrc/lang/dhall/PLIST:1.4
--- pkgsrc/lang/dhall/PLIST:1.3 Tue Oct 31 08:46:24 2023
+++ pkgsrc/lang/dhall/PLIST     Sat May  4 12:41:41 2024
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2023/10/31 08:46:24 pho Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/05/04 12:41:41 pho Exp $
 bin/dhall
-lib/${PKGNAME}/${HS_VERSION}/package-description
-lib/${PKGNAME}/${HS_VERSION}/package-id
 ${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Dhall.dyn_hi
 lib/${HS_PLATFORM}/${HS_PKGID}/Dhall.hi
 ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Dhall.p_hi
@@ -215,6 +213,9 @@ ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKG
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
 ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 ${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${PKGNAME}/${HS_VERSION}/package-description
+lib/${PKGNAME}/${HS_VERSION}/package-id
+share/${HS_PLATFORM}/${PKGNAME}/man/dhall.1
 share/doc/${HS_PLATFORM}/${PKGNAME}/LICENSE
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/Dhall-Binary.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/Dhall-Context.html
@@ -280,12 +281,9 @@ ${PLIST.doc}share/doc/${HS_PLATFORM}/${P
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-X.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index-Z.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index.html
-${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/doc-index.json
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/haddock-bundle.min.js
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/index.html
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/linuwial.css
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/meta.json
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/quick-jump.css
-${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/quick-jump.min.js
 ${PLIST.doc}share/doc/${HS_PLATFORM}/${PKGNAME}/html/synopsis.png
-share/${HS_PLATFORM}/${PKGNAME}/man/dhall.1

Index: pkgsrc/lang/dhall/distinfo
diff -u pkgsrc/lang/dhall/distinfo:1.4 pkgsrc/lang/dhall/distinfo:1.5
--- pkgsrc/lang/dhall/distinfo:1.4      Tue Oct 31 08:46:24 2023
+++ pkgsrc/lang/dhall/distinfo  Sat May  4 12:41:41 2024
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/10/31 08:46:24 pho Exp $
+$NetBSD: distinfo,v 1.5 2024/05/04 12:41:41 pho Exp $
 
-BLAKE2s (dhall-1.42.0.tar.gz) = b55b4e30a9dfcc4f99254e53549814ee36cbf28f579356cafe6e420d4660661d
-SHA512 (dhall-1.42.0.tar.gz) = 3f576245a8bf910e711e239eae0c6403c62e29a1571895b895fdb37e4c4724b10874865b76723eebd2ea82169f1120d28828fd3d57a6e0aaffa0c8552ec2c799
-Size (dhall-1.42.0.tar.gz) = 672458 bytes
-SHA1 (patch-dhall.cabal) = 414cd99f8f5ba3012abd9e7f468f08003cf93623
-SHA1 (patch-src_Dhall_DirectoryTree.hs) = ec856ffbf1d6d37f8f4ebefe9e6ed06f3547e734
-SHA1 (patch-src_Dhall_TH.hs) = 60964cbdca32e38a8eede1fdcc59f1b69c940bf9
+BLAKE2s (dhall-1.42.1.tar.gz) = 1f5012b6092f225c840f598ebabe2dc3beea42fb33e000371d80ce6592c17054
+SHA512 (dhall-1.42.1.tar.gz) = 610b7ec6937ec3c674457aab08790e3339e3cf95c69a8cfdfd62a38e9634025a546827726926b9d8cf22f9b509b7092918c7cc052e253a9b53c9d95dc7773c7f
+Size (dhall-1.42.1.tar.gz) = 673643 bytes



Home | Main Index | Thread Index | Old Index