pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc hs-csv: Import version 0.1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f2ed69b8e6b
branches:  trunk
changeset: 426349:5f2ed69b8e6b
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Mon Mar 30 16:45:34 2020 +0000

description:
hs-csv: Import version 0.1.2

diffstat:

 textproc/Makefile                      |   3 ++-
 textproc/hs-csv/DESCR                  |   4 ++++
 textproc/hs-csv/Makefile               |  15 +++++++++++++++
 textproc/hs-csv/buildlink3.mk          |  13 +++++++++++++
 textproc/hs-csv/distinfo               |   7 +++++++
 textproc/hs-csv/patches/patch-Setup.hs |  11 +++++++++++
 6 files changed, 52 insertions(+), 1 deletions(-)

diffs (87 lines):

diff -r 8c719b994385 -r 5f2ed69b8e6b textproc/Makefile
--- a/textproc/Makefile Mon Mar 30 16:44:48 2020 +0000
+++ b/textproc/Makefile Mon Mar 30 16:45:34 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1121 2020/03/30 16:44:48 riastradh Exp $
+# $NetBSD: Makefile,v 1.1122 2020/03/30 16:45:34 riastradh Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -295,6 +295,7 @@
 SUBDIR+=       hs-cheapskate
 SUBDIR+=       hs-cmark-gfm
 SUBDIR+=       hs-css-text
+SUBDIR+=       hs-csv
 SUBDIR+=       hs-doclayout
 SUBDIR+=       hs-doctemplates
 SUBDIR+=       hs-edit-distance
diff -r 8c719b994385 -r 5f2ed69b8e6b textproc/hs-csv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-csv/DESCR     Mon Mar 30 16:45:34 2020 +0000
@@ -0,0 +1,4 @@
+This library parses and dumps documents that are formatted according
+to RFC 4180, "The common Format and MIME Type for Comma-Separated
+Values (CSV) Files".  This format is used, among many other things, as
+a lingua franca for spreadsheets, and for certain web services.
diff -r 8c719b994385 -r 5f2ed69b8e6b textproc/hs-csv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-csv/Makefile  Mon Mar 30 16:45:34 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2020/03/30 16:45:34 riastradh Exp $
+
+DISTNAME=      csv-0.1.2
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_HASKELL_HACKAGE:=csv-${PKGVERSION_NOREV}/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://hackage.haskell.org/package/csv
+COMMENT=       CSV loader and dumper
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8c719b994385 -r 5f2ed69b8e6b textproc/hs-csv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-csv/buildlink3.mk     Mon Mar 30 16:45:34 2020 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/30 16:45:34 riastradh Exp $
+
+BUILDLINK_TREE+=       hs-csv
+
+.if !defined(HS_CSV_BUILDLINK3_MK)
+HS_CSV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-csv+= hs-csv>=0.1.2
+BUILDLINK_ABI_DEPENDS.hs-csv+= hs-csv>=0.1.2
+BUILDLINK_PKGSRCDIR.hs-csv?=   ../../textproc/hs-csv
+.endif # HS_CSV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-csv
diff -r 8c719b994385 -r 5f2ed69b8e6b textproc/hs-csv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-csv/distinfo  Mon Mar 30 16:45:34 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/03/30 16:45:34 riastradh Exp $
+
+SHA1 (csv-0.1.2.tar.gz) = 26121119276e3fe0b3622ba3a20da80a83ba1e38
+RMD160 (csv-0.1.2.tar.gz) = 65d200c9faa95473c405981539fafbfb87de3f59
+SHA512 (csv-0.1.2.tar.gz) = 4fed06e71dda2d057cd370d06d0c2ecde5de0676cc8e2be97ca240564405b0714da3cb6040a3437bee38add55f7bde526455e0c187883cb0c323474378030ea9
+Size (csv-0.1.2.tar.gz) = 2923 bytes
+SHA1 (patch-Setup.hs) = 68ff2edb0d553bde7a5bb5b60aa654fc6600f3f4
diff -r 8c719b994385 -r 5f2ed69b8e6b textproc/hs-csv/patches/patch-Setup.hs
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/hs-csv/patches/patch-Setup.hs    Mon Mar 30 16:45:34 2020 +0000
@@ -0,0 +1,11 @@
+$NetBSD: patch-Setup.hs,v 1.1 2020/03/30 16:45:35 riastradh Exp $
+
+Convert to modern cabal API.
+
+--- Setup.hs.orig      2010-11-08 01:31:34.000000000 +0000
++++ Setup.hs
+@@ -1,3 +1,3 @@
+ #!/usr/bin/env runhaskell
+ import Distribution.Simple
+-main = defaultMainWithHooks defaultUserHooks
++main = defaultMainWithHooks simpleUserHooks



Home | Main Index | Thread Index | Old Index