Skip to content

Commit

Permalink
devel/hs-pretty-simple: Update to 4.1.2.0
Browse files Browse the repository at this point in the history
4.1.2.0
* Fix a problem with the pHPrint function incorrectly outputting a trailing
  newline to stdout, instead of the handle you pass it. #118
* Add a web app where you can play around with pretty-simple in your
  browser. #116. This took a lot of hard work by @georgefst!

4.1.1.0
* Make the pretty-printed output with outputOptionsCompact enabled a little
  more compact. #110. Thanks @juhp!
* Add a --compact / -C flag to the pretty-simple executable that enables
  outputOptionsCompact. #111. Thanks again @juhp!
* Add pTraceWith and pTraceShowWith to Debug.Pretty.Simple. #104. Thanks
  @LeviButcher!

4.1.0.0
* Fix a regression which arose in 4.0, whereby excess spaces would be
  inserted for unusual strings like dates and IP addresses. #105
* Attach warnings to debugging functions, so that they're easy to find and
  remove. #103
* Some minor improvements to the CLI tool:
  - Add a --version/-v flag. #83
  - Add a trailing newline. #87
  - Install by default, without requiring a flag. #94
  • Loading branch information
depressed-pho committed Jan 25, 2023
1 parent 5316b20 commit 053685c
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 66 deletions.
13 changes: 10 additions & 3 deletions devel/hs-pretty-simple/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# $NetBSD: Makefile,v 1.6 2022/09/07 06:50:48 pho Exp $
# $NetBSD: Makefile,v 1.7 2023/01/25 19:19:27 pho Exp $

DISTNAME= pretty-simple-4.0.0.0
PKGREVISION= 5
DISTNAME= pretty-simple-4.1.2.0
CATEGORIES= devel

MAINTAINER= pho@cielonegro.org
COMMENT= Pretty printer for data types with a 'Show' instance
LICENSE= modified-bsd

OPTPARSE_APPLICATIVE_EXECUTABLES= \
pretty-simple

# lib:pretty-simple
.include "../../textproc/hs-prettyprinter/buildlink3.mk"
.include "../../textproc/hs-prettyprinter-ansi-terminal/buildlink3.mk"

# exe:pretty-simple
.include "../../devel/hs-optparse-applicative/application.mk"

.include "../../mk/haskell.mk"
.include "../../mk/bsd.pkg.mk"
113 changes: 57 additions & 56 deletions devel/hs-pretty-simple/PLIST
Original file line number Diff line number Diff line change
@@ -1,66 +1,67 @@
@comment $NetBSD: PLIST,v 1.1 2022/02/12 08:21:54 pho Exp $
@comment $NetBSD: PLIST,v 1.2 2023/01/25 19:19:27 pho Exp $
bin/pretty-simple
lib/pretty-simple-${PKGVERSION}/${HS_VERSION}/package-description
lib/pretty-simple-${PKGVERSION}/${HS_VERSION}/package-id
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
lib/${HS_PLATFORM}/${HS_PKGID}/Debug/Pretty/Simple.dyn_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Debug/Pretty/Simple.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Debug/Pretty/Simple.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Debug/Pretty/Simple.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple.dyn_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Debug/Pretty/Simple.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal.dyn_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Color.dyn_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Color.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Color.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Color.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Expr.dyn_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Color.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Expr.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Expr.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Expr.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/ExprParser.dyn_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Expr.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/ExprParser.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/ExprParser.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/ExprParser.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Printer.dyn_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/ExprParser.p_hi
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Printer.dyn_hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Printer.hi
lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Printer.p_hi
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Text/Pretty/Simple/Internal/Printer.p_hi
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/LICENSE
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Debug-Pretty-Simple.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-Color.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-Expr.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-ExprParser.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-Printer.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-58.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-A.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-All.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-B.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-C.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-D.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-E.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-G.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-H.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-I.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-L.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-M.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-N.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-O.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-P.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-Q.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-R.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-S.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-T.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-U.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-V.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-W.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-Y.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/haddock-bundle.min.js
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/index.html
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/linuwial.css
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/meta.json
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/pretty-simple.haddock
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/quick-jump.css
share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/synopsis.png
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/LICENSE
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Debug-Pretty-Simple.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-Color.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-Expr.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-ExprParser.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal-Printer.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple-Internal.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/Text-Pretty-Simple.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-58.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-A.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-All.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-B.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-C.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-D.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-E.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-G.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-H.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-I.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-L.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-M.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-N.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-O.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-P.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-Q.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-R.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-S.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-T.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-U.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-V.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-W.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index-Y.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/doc-index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/haddock-bundle.min.js
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/index.html
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/linuwial.css
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/meta.json
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/pretty-simple.haddock
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/quick-jump.css
${PLIST.doc}share/doc/${HS_PLATFORM}/pretty-simple-${PKGVERSION}/html/synopsis.png
6 changes: 3 additions & 3 deletions devel/hs-pretty-simple/buildlink3.mk
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.6 2022/09/07 06:50:48 pho Exp $
# $NetBSD: buildlink3.mk,v 1.7 2023/01/25 19:19:27 pho Exp $

BUILDLINK_TREE+= hs-pretty-simple

.if !defined(HS_PRETTY_SIMPLE_BUILDLINK3_MK)
HS_PRETTY_SIMPLE_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.hs-pretty-simple+= hs-pretty-simple>=4.0.0
BUILDLINK_ABI_DEPENDS.hs-pretty-simple+= hs-pretty-simple>=4.0.0.0nb5
BUILDLINK_API_DEPENDS.hs-pretty-simple+= hs-pretty-simple>=4.1.2
BUILDLINK_ABI_DEPENDS.hs-pretty-simple+= hs-pretty-simple>=4.1.2.0
BUILDLINK_PKGSRCDIR.hs-pretty-simple?= ../../devel/hs-pretty-simple

.include "../../textproc/hs-prettyprinter/buildlink3.mk"
Expand Down
8 changes: 4 additions & 4 deletions devel/hs-pretty-simple/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2021/10/26 10:14:59 nia Exp $
$NetBSD: distinfo,v 1.4 2023/01/25 19:19:27 pho Exp $

BLAKE2s (pretty-simple-4.0.0.0.tar.gz) = bcc8bc0f690584086ec65c261f4e7717447bc937ac5a22a91501898f625a6a9e
SHA512 (pretty-simple-4.0.0.0.tar.gz) = b30ad63fac3545e6f6b2d67b323e4d43ef29ea2a51e2ac3433e8d0ffa6776e90ac2bbe3ab790c500244c77a54a93cc5a2a6b6e87a2524f8777c74529f7681f78
Size (pretty-simple-4.0.0.0.tar.gz) = 39887 bytes
BLAKE2s (pretty-simple-4.1.2.0.tar.gz) = 189be29783c6d162bddb5ca932ada659d0dc245381c7bd791abdf7ae41e1b84e
SHA512 (pretty-simple-4.1.2.0.tar.gz) = d65096db0c3258058e420a981c240b448ab71c4a59e79cf154712100be9d5ebb4c9eddf148edd2ec24b1de551576301fe48598e7ac77d2af6b63bf60bff56720
Size (pretty-simple-4.1.2.0.tar.gz) = 40519 bytes

0 comments on commit 053685c

Please sign in to comment.