diff options
author | riastradh <riastradh@pkgsrc.org> | 2020-03-30 16:45:34 +0000 |
---|---|---|
committer | riastradh <riastradh@pkgsrc.org> | 2020-03-30 16:45:34 +0000 |
commit | f9e288010dd72e8b566c9d9c47bd936338aad0d8 (patch) | |
tree | 147285b46aa587367e0f31f898770d8debbd858e /textproc | |
parent | 687555982369e0f81d27624e7524113b27dd18f9 (diff) | |
download | pkgsrc-f9e288010dd72e8b566c9d9c47bd936338aad0d8.tar.gz |
hs-csv: Import version 0.1.2
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 3 | ||||
-rw-r--r-- | textproc/hs-csv/DESCR | 4 | ||||
-rw-r--r-- | textproc/hs-csv/Makefile | 15 | ||||
-rw-r--r-- | textproc/hs-csv/buildlink3.mk | 13 | ||||
-rw-r--r-- | textproc/hs-csv/distinfo | 7 | ||||
-rw-r--r-- | textproc/hs-csv/patches/patch-Setup.hs | 11 |
6 files changed, 52 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 21a068461c9..09787c93717 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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-cgrep 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 --git a/textproc/hs-csv/DESCR b/textproc/hs-csv/DESCR new file mode 100644 index 00000000000..739b13fe01d --- /dev/null +++ b/textproc/hs-csv/DESCR @@ -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 --git a/textproc/hs-csv/Makefile b/textproc/hs-csv/Makefile new file mode 100644 index 00000000000..cd4497838d9 --- /dev/null +++ b/textproc/hs-csv/Makefile @@ -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 +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 --git a/textproc/hs-csv/buildlink3.mk b/textproc/hs-csv/buildlink3.mk new file mode 100644 index 00000000000..53ef8da6f8e --- /dev/null +++ b/textproc/hs-csv/buildlink3.mk @@ -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 --git a/textproc/hs-csv/distinfo b/textproc/hs-csv/distinfo new file mode 100644 index 00000000000..3d1bae8b644 --- /dev/null +++ b/textproc/hs-csv/distinfo @@ -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 --git a/textproc/hs-csv/patches/patch-Setup.hs b/textproc/hs-csv/patches/patch-Setup.hs new file mode 100644 index 00000000000..c6158db8900 --- /dev/null +++ b/textproc/hs-csv/patches/patch-Setup.hs @@ -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 |