From 9c0870bdf41a4f6f1578c180bdfe27d47ef75e19 Mon Sep 17 00:00:00 2001 From: pho Date: Mon, 30 Oct 2023 11:00:27 +0000 Subject: [PATCH] devel/hs-shelly: Update to 1.12.1 1.12.1 - Andreas Abel, 2023-04-03 * Add print_commands_with and echoWith which can be used to override the default printing functions (e.g. to add color). (Chris Wendt, PR #228.) * Tested with GHC 8.2 - 9.6 (cabal) and GHC 8.10 - 9.6 (stack). 1.12.0.1 - Andreas Abel, 2023-04-02 * Make show_command more robust to special characters and only quote when necessary. (Chris Wendt, PR #229.) * Tested with GHC 8.2 - 9.6 (cabal) and GHC 8.10 - 9.6 (stack). 1.12.0 - Andreas Abel, 2023-02-27 * Rework ShellCmd and ShellCommand instances to support String arguments: Issue #143 fixed by Cunning Defenstrator in PR #221. This involves a breaking change in classes CmdArg and ShellArg: Method toTextArg has been replaced by toTextArgs. Sample migration: #if MIN_VERSION_shelly(1,12,0) -- new import Shelly (toTextArgs) snoc opts arg = opts ++ toTextArgs arg #else -- old import Shelly (toTextArg) snoc opts arg = opts ++ [ toTextArg arg ] #endif * Dropped GHC 8.0 to get rid of deprecated LANGUAGE IncoherentInstances. * Builds with GHC 8.2 - 9.6. 1.11.0 - Andreas Abel, 2023-01-24 * Restore running of local scripts, e.g. cmd "./foo.sh": Issue #107 fixed by Alfredo di Napoli in PR #216. * Builds with GHC 8.0 - 9.4. 1.10.0.1 - Andreas Abel, 2023-01-24 * Allow unix-compat-0.6. * Builds -Wall warning-free with GHC 8.0 - 9.4. --- devel/hs-shelly/Makefile | 8 ++------ devel/hs-shelly/PLIST | 8 ++++++-- devel/hs-shelly/buildlink3.mk | 6 +++--- devel/hs-shelly/distinfo | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/devel/hs-shelly/Makefile b/devel/hs-shelly/Makefile index a770393629eb..ecba8aba80d3 100644 --- a/devel/hs-shelly/Makefile +++ b/devel/hs-shelly/Makefile @@ -1,16 +1,12 @@ -# $NetBSD: Makefile,v 1.4 2023/10/09 04:54:29 pho Exp $ +# $NetBSD: Makefile,v 1.5 2023/10/30 11:00:27 pho Exp $ -DISTNAME= shelly-1.10.0 -PKGREVISION= 2 +DISTNAME= shelly-1.12.1 CATEGORIES= devel MAINTAINER= pho@cielonegro.org COMMENT= Shell-like (systems) programming in Haskell LICENSE= modified-bsd -HASKELL_UNRESTRICT_DEPENDENCIES+= \ - unix-compat - .include "../../devel/hs-async/buildlink3.mk" .include "../../devel/hs-enclosed-exceptions/buildlink3.mk" .include "../../devel/hs-lifted-async/buildlink3.mk" diff --git a/devel/hs-shelly/PLIST b/devel/hs-shelly/PLIST index 27036ed9e722..d5be480b3156 100644 --- a/devel/hs-shelly/PLIST +++ b/devel/hs-shelly/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2023/01/26 14:48:41 pho Exp $ +@comment $NetBSD: PLIST,v 1.3 2023/10/30 11:00:27 pho Exp $ lib/shelly-${PKGVERSION}/${HS_VERSION}/package-description lib/shelly-${PKGVERSION}/${HS_VERSION}/package-id ${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so @@ -25,7 +25,9 @@ lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Unix.hi ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Shelly/Unix.p_hi lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a ${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a -${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/LICENSE +share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/LICENSE +${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/ChangeLog.md +${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/README.md ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly-Lifted.html ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly-Pipe.html ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/Shelly-Unix.html @@ -55,10 +57,12 @@ ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-U.html ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-V.html ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index-W.html ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index.html +${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/doc-index.json ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/haddock-bundle.min.js ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/index.html ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/linuwial.css ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/meta.json ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/quick-jump.css +${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/quick-jump.min.js ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/shelly.haddock ${PLIST.doc}share/doc/${HS_PLATFORM}/shelly-${PKGVERSION}/html/synopsis.png diff --git a/devel/hs-shelly/buildlink3.mk b/devel/hs-shelly/buildlink3.mk index 89c0aa9649e9..d4cda4fa3786 100644 --- a/devel/hs-shelly/buildlink3.mk +++ b/devel/hs-shelly/buildlink3.mk @@ -1,12 +1,12 @@ -# $NetBSD: buildlink3.mk,v 1.3 2023/10/09 04:54:29 pho Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2023/10/30 11:00:27 pho Exp $ BUILDLINK_TREE+= hs-shelly .if !defined(HS_SHELLY_BUILDLINK3_MK) HS_SHELLY_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.hs-shelly+= hs-shelly>=1.10.0 -BUILDLINK_ABI_DEPENDS.hs-shelly+= hs-shelly>=1.10.0nb2 +BUILDLINK_API_DEPENDS.hs-shelly+= hs-shelly>=1.12.1 +BUILDLINK_ABI_DEPENDS.hs-shelly+= hs-shelly>=1.12.1 BUILDLINK_PKGSRCDIR.hs-shelly?= ../../devel/hs-shelly .include "../../devel/hs-async/buildlink3.mk" diff --git a/devel/hs-shelly/distinfo b/devel/hs-shelly/distinfo index 80a43e3a947a..20663a4bc6a4 100644 --- a/devel/hs-shelly/distinfo +++ b/devel/hs-shelly/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2022/02/26 12:30:00 pho Exp $ +$NetBSD: distinfo,v 1.2 2023/10/30 11:00:27 pho Exp $ -BLAKE2s (shelly-1.10.0.tar.gz) = 79c1828c27393422873a833846b2f390ccc4c6d139e847fbb54ab18203499d3f -SHA512 (shelly-1.10.0.tar.gz) = b16e410dbf96b33b28069c88375296a6516bb99ec0b35058175bc466da5b400492e96ee3ee18d9208c8a096fd97df573d63cdef1eb26142e74ea13acd02e99ca -Size (shelly-1.10.0.tar.gz) = 73208 bytes +BLAKE2s (shelly-1.12.1.tar.gz) = f8da9750b934c66bc912077c28360a0ed462389eab899f64d810c0afd3e8298a +SHA512 (shelly-1.12.1.tar.gz) = 3917a03a23e61d5618f897f0ee90a4823980239252f260312ca86c7b364459c58749400e50a0f2ab78822c2eb6283891f993d2f31f0048a3cece19d5c565f05f +Size (shelly-1.12.1.tar.gz) = 75543 bytes