pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ocaml-csv Updated package to latest version, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ef0b5d9a2ea3
branches: trunk
changeset: 349205:ef0b5d9a2ea3
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Sat Jul 02 10:11:09 2016 +0000
description:
Updated package to latest version, 1.5; also updated package to work with
ocaml.mk structure and changed upstream to github.
Changes:
version 1.5
* Improve various commands of csvtool avoiding loading the whole CSV file to memory.
* As a consequence, one avoids some Stack_overflow exceptions for long files.
version 1.4.2
* Add the possibility to specify an output format to csvtool.
version 1.4.1
* Fix writing bug when excel_tricks is enabled.
version 1.4
* Optional discarding of spaces
* Special handling of files with a header
diffstat:
textproc/ocaml-csv/Makefile | 44 +++++++++++++++------------------------
textproc/ocaml-csv/PLIST | 21 ++++++++++--------
textproc/ocaml-csv/buildlink3.mk | 4 +-
textproc/ocaml-csv/distinfo | 10 ++++----
4 files changed, 36 insertions(+), 43 deletions(-)
diffs (119 lines):
diff -r 664f84af7f4f -r ef0b5d9a2ea3 textproc/ocaml-csv/Makefile
--- a/textproc/ocaml-csv/Makefile Sat Jul 02 09:57:00 2016 +0000
+++ b/textproc/ocaml-csv/Makefile Sat Jul 02 10:11:09 2016 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.9 2016/05/05 11:45:41 jaapb Exp $
+# $NetBSD: Makefile,v 1.10 2016/07/02 10:11:09 jaapb Exp $
-PKGNAME= ocaml-${DISTNAME}
-DISTNAME= csv-1.3.0
-PKGREVISION= 6
+VERSION= 1.5
+GITHUB_PROJECT= ocaml-csv
+DISTNAME= ${GITHUB_PROJECT}-${VERSION}
CATEGORIES= textproc
-MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1172/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Chris00/}
MAINTAINER= jaapb%NetBSD.org@localhost
HOMEPAGE= http://csv.forge.ocamlcore.org/
@@ -16,29 +16,19 @@
CONFIGURE_ARGS+= --destdir "${DESTDIR}" --prefix "${PREFIX}"
-SUBST_CLASSES+= destdir
-SUBST_STAGE.destdir= post-configure
-SUBST_MESSAGE.destdir= Changing install location to DESTDIR
-SUBST_FILES.destdir= setup.ml
-SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,'
+OCAML_USE_OASIS= yes
+
+#SUBST_CLASSES+= destdir
+#SUBST_STAGE.destdir= post-configure
+#SUBST_MESSAGE.destdir= Changing install location to DESTDIR
+#SUBST_FILES.destdir= setup.ml
+#SUBST_SED.destdir= -e 's,"install" :: findlib_name,"install" :: "-destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,'
+
+pre-configure:
+ cd ${WRKSRC} && ${MAKE} setup.ml
.include "../../mk/bsd.prefs.mk"
-PLIST_VARS= opt
-.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
- (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64")
-PLIST.opt= yes
-.endif
-
-do-configure:
- cd ${WRKSRC} && ${CONFIGURE_ENV} ocaml setup.ml -configure ${CONFIGURE_ARGS}
-
-do-build:
- cd ${WRKSRC} && ${MAKE_ENV} ocaml setup.ml -build
-
-do-install:
- cd ${WRKSRC} && ocaml setup.ml -install
-
-.include "../../devel/ocaml-findlib/buildlink3.mk"
-.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-oasis/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 664f84af7f4f -r ef0b5d9a2ea3 textproc/ocaml-csv/PLIST
--- a/textproc/ocaml-csv/PLIST Sat Jul 02 09:57:00 2016 +0000
+++ b/textproc/ocaml-csv/PLIST Sat Jul 02 10:11:09 2016 +0000
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2013/06/15 20:53:03 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/07/02 10:11:09 jaapb Exp $
bin/csvtool
-lib/ocaml/site-lib/csv/META
-${PLIST.opt}lib/ocaml/site-lib/csv/csv.a
-lib/ocaml/site-lib/csv/csv.cma
-lib/ocaml/site-lib/csv/csv.cmi
-${PLIST.opt}lib/ocaml/site-lib/csv/csv.cmx
-${PLIST.opt}lib/ocaml/site-lib/csv/csv.cmxa
-${PLIST.opt}lib/ocaml/site-lib/csv/csv.cmxs
-lib/ocaml/site-lib/csv/csv.mli
+${OCAML_SITELIB}/csv/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/csv/csv.a
+${OCAML_SITELIB}/csv/csv.annot
+${OCAML_SITELIB}/csv/csv.cma
+${OCAML_SITELIB}/csv/csv.cmi
+${OCAML_SITELIB}/csv/csv.cmt
+${OCAML_SITELIB}/csv/csv.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/csv/csv.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/csv/csv.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/csv/csv.cmxs
+${OCAML_SITELIB}/csv/csv.mli
diff -r 664f84af7f4f -r ef0b5d9a2ea3 textproc/ocaml-csv/buildlink3.mk
--- a/textproc/ocaml-csv/buildlink3.mk Sat Jul 02 09:57:00 2016 +0000
+++ b/textproc/ocaml-csv/buildlink3.mk Sat Jul 02 10:11:09 2016 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2013/07/03 10:53:06 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2016/07/02 10:11:09 jaapb Exp $
BUILDLINK_TREE+= ocaml-csv
.if !defined(OCAML_CSV_BUILDLINK3_MK)
OCAML_CSV_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.ocaml-csv+= ocaml-csv>=1.3.0
+BUILDLINK_API_DEPENDS.ocaml-csv+= ocaml-csv>=1.5
BUILDLINK_PKGSRCDIR.ocaml-csv?= ../../textproc/ocaml-csv
.endif # OCAML_CSV_BUILDLINK3_MK
diff -r 664f84af7f4f -r ef0b5d9a2ea3 textproc/ocaml-csv/distinfo
--- a/textproc/ocaml-csv/distinfo Sat Jul 02 09:57:00 2016 +0000
+++ b/textproc/ocaml-csv/distinfo Sat Jul 02 10:11:09 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:59:41 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/07/02 10:11:09 jaapb Exp $
-SHA1 (csv-1.3.0.tar.gz) = 07ae8a6ebb10779ea6242199fe0298a5065536e8
-RMD160 (csv-1.3.0.tar.gz) = 3b31e9cbea573c3da0027531407cdb99588b918b
-SHA512 (csv-1.3.0.tar.gz) = 57fcc356571cd08f30ad4add9e9cebe6a8716f86af9c9387b108250f02b3cffdeda2fabb346dea3c349079653207131f5b462f6a07dd99170b42268f3f17cd8d
-Size (csv-1.3.0.tar.gz) = 72014 bytes
+SHA1 (ocaml-csv-1.5.tar.gz) = 9488efb5a35ca88d79376bfbd9edf5fe7d3c203c
+RMD160 (ocaml-csv-1.5.tar.gz) = bdbd4800948f459d485c16acafe10203e09f30fc
+SHA512 (ocaml-csv-1.5.tar.gz) = c11af5aec1a77465f5f9583a3c7dde3628d881db948ae4f02bdf6ae7ffb0e8ce1bb8fa4bf73ab7c12e916d3bead3664bf99ff348fb1bcb9f336e315f2f001f5c
+Size (ocaml-csv-1.5.tar.gz) = 41183 bytes
Home |
Main Index |
Thread Index |
Old Index