Skip to content

Commit

Permalink
devel/hs-shelly: Update to 1.12.1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
depressed-pho committed Oct 30, 2023
1 parent f12a329 commit 9c0870b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 2 additions & 6 deletions devel/hs-shelly/Makefile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 6 additions & 2 deletions devel/hs-shelly/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
6 changes: 3 additions & 3 deletions devel/hs-shelly/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
8 changes: 4 additions & 4 deletions devel/hs-shelly/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9c0870b

Please sign in to comment.