pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/hs-ansi-wl-pprint Import ansi-wl-pprint-0.6.9...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0b0660a3118
branches:  trunk
changeset: 410149:c0b0660a3118
user:      pho <pho%pkgsrc.org@localhost>
date:      Sun Jan 19 09:47:10 2020 +0000

description:
Import ansi-wl-pprint-0.6.9 from wip

This is a pretty printing library based on Wadler's paper A Prettier
Printer. It has been enhanced with support for ANSI terminal colored
output using the ansi-terminal package.

diffstat:

 textproc/hs-ansi-wl-pprint/DESCR                              |   3 ++
 textproc/hs-ansi-wl-pprint/Makefile                           |  12 ++++++++
 textproc/hs-ansi-wl-pprint/buildlink3.mk                      |  15 +++++++++++
 textproc/hs-ansi-wl-pprint/distinfo                           |   7 +++++
 textproc/hs-ansi-wl-pprint/patches/patch-ansi-wl-pprint.cabal |  15 +++++++++++
 5 files changed, 52 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r feaa5fbfff1b -r c0b0660a3118 textproc/hs-ansi-wl-pprint/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-ansi-wl-pprint/DESCR  Sun Jan 19 09:47:10 2020 +0000
@@ -0,0 +1,3 @@
+This is a pretty printing library based on Wadler's paper A Prettier
+Printer. It has been enhanced with support for ANSI terminal colored
+output using the ansi-terminal package.
diff -r feaa5fbfff1b -r c0b0660a3118 textproc/hs-ansi-wl-pprint/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-ansi-wl-pprint/Makefile       Sun Jan 19 09:47:10 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2020/01/19 09:47:10 pho Exp $
+
+DISTNAME=      ansi-wl-pprint-0.6.9
+CATEGORIES=    textproc
+
+MAINTAINER=    pho%cielonegro.org@localhost
+COMMENT=       Wadler/Leijen Pretty Printer for colored ANSI terminal output
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r feaa5fbfff1b -r c0b0660a3118 textproc/hs-ansi-wl-pprint/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-ansi-wl-pprint/buildlink3.mk  Sun Jan 19 09:47:10 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/19 09:47:10 pho Exp $
+
+BUILDLINK_TREE+=       hs-ansi-wl-pprint
+
+.if !defined(HS_ANSI_WL_PPRINT_BUILDLINK3_MK)
+HS_ANSI_WL_PPRINT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-ansi-wl-pprint+=      hs-ansi-wl-pprint>=0.6.9
+BUILDLINK_ABI_DEPENDS.hs-ansi-wl-pprint+=      hs-ansi-wl-pprint>=0.6.9
+BUILDLINK_PKGSRCDIR.hs-ansi-wl-pprint?=                ../../textproc/hs-ansi-wl-pprint
+
+.include "../../devel/hs-ansi-terminal/buildlink3.mk"
+.endif # HS_ANSI_WL_PPRINT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-ansi-wl-pprint
diff -r feaa5fbfff1b -r c0b0660a3118 textproc/hs-ansi-wl-pprint/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-ansi-wl-pprint/distinfo       Sun Jan 19 09:47:10 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/01/19 09:47:10 pho Exp $
+
+SHA1 (ansi-wl-pprint-0.6.9.tar.gz) = c38e749e4b428c60bc535bea1febc17c8f7dd90e
+RMD160 (ansi-wl-pprint-0.6.9.tar.gz) = 5cb137a2e3646f612c5dd7a0346f539d59aebf6d
+SHA512 (ansi-wl-pprint-0.6.9.tar.gz) = 2a66236f740f0b45b6133555e8b1315dc85ece1c16dd51e4aa7f31d2fee03d66869af5f81e6383aa840f503c2cad46f3655f53b784ebca7b3480efb53eea2a04
+Size (ansi-wl-pprint-0.6.9.tar.gz) = 16723 bytes
+SHA1 (patch-ansi-wl-pprint.cabal) = 6575aae14e49183614559780b187e2d6d305584e
diff -r feaa5fbfff1b -r c0b0660a3118 textproc/hs-ansi-wl-pprint/patches/patch-ansi-wl-pprint.cabal
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-ansi-wl-pprint/patches/patch-ansi-wl-pprint.cabal     Sun Jan 19 09:47:10 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ansi-wl-pprint.cabal,v 1.1 2020/01/19 09:47:10 pho Exp $
+
+Relax the upper bound on ansi-terminal.
+
+--- ansi-wl-pprint.cabal.orig  2001-09-09 01:46:40.000000000 +0000
++++ ansi-wl-pprint.cabal
+@@ -44,7 +44,7 @@ library
+     -- see also notes in Text.PrettyPrint.ANSI.Leijen
+     build-depends: semigroups >= 0.18.5 && < 0.20
+ 
+-  build-depends: ansi-terminal >= 0.9.1 && < 0.10
++  build-depends: ansi-terminal >= 0.9.1 && < 0.11
+   build-depends: base >= 4.3 && < 5
+ 
+   if impl(ghc >= 7.4)



Home | Main Index | Thread Index | Old Index