pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/ocaml-sqlite3 Updated package to latest vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9231491140bb
branches:  trunk
changeset: 351234:9231491140bb
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Aug 17 15:39:43 2016 +0000

description:
Updated package to latest version, 4.0.5. Changes include:

Changed default configuration setting for loadable extensions
 on Mac OS X.  Due to frequent installation issues the default
 setting is now to turn off loadable extensions on that platform.
 You will have to explicitly turn them on if you need them.

Fixed a bug finalizing user-defined functions for a database.

More build process improvements for Homebrew users.

 Improved build process for Homebrew users.

Major API change that is compatible with major release series 2:
 It is now possible to return errors from user-defined SQL-functions
 by simply raising (arbitrary) exceptions.  This somewhat
 tricky internal change eliminates the need for Data.ERROR and
 reestablishes compatibility with major release series 2.
 Sorry for the churn, but the more elegant solution was not
 quite obvious!

Added user function error handling (major API change).

Fixed a build problem due to Oasis/ocamlbuild inconsistency.

Fixed a callback locking bug when encountering rows containing
 unexpected NULLs.

diffstat:

 databases/ocaml-sqlite3/Makefile |  17 +++++++++--------
 databases/ocaml-sqlite3/PLIST    |  25 ++++++++++++++-----------
 databases/ocaml-sqlite3/distinfo |  10 +++++-----
 3 files changed, 28 insertions(+), 24 deletions(-)

diffs (78 lines):

diff -r 1bf0ce4d3683 -r 9231491140bb databases/ocaml-sqlite3/Makefile
--- a/databases/ocaml-sqlite3/Makefile  Wed Aug 17 15:39:02 2016 +0000
+++ b/databases/ocaml-sqlite3/Makefile  Wed Aug 17 15:39:43 2016 +0000
@@ -1,20 +1,21 @@
-# $NetBSD: Makefile,v 1.23 2016/06/25 14:16:17 jaapb Exp $
+# $NetBSD: Makefile,v 1.24 2016/08/17 15:39:43 jaapb Exp $
 
+VERSION=       4.0.5
+GITHUB_PROJECT=        sqlite3-ocaml
+GITHUB_TAG=    v${VERSION}
+DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
 PKGNAME=       ocaml-sqlite3-${VERSION}
-DISTNAME=      v${VERSION}
-VERSION=       2.0.6
-PKGREVISION=   7
 CATEGORIES=    databases
-MASTER_SITES=  http://github.com/mmottl/sqlite3-ocaml/archive/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mmottl/}
 
 MAINTAINER=    jaapb%NetBSD.org@localhost
 HOMEPAGE=      http://github.com/mmottl/sqlite3-ocaml/
 COMMENT=       Sqlite bindings for OCaml
 LICENSE=       mit
 
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS+=       --destdir "${DESTDIR}" --prefix "${PREFIX}"
-WRKSRC=        ${WRKDIR}/sqlite3-ocaml-${VERSION}
+#HAS_CONFIGURE=        yes
+#CONFIGURE_ARGS+=      --destdir "${DESTDIR}" --prefix "${PREFIX}"
+WRKSRC=        ${WRKDIR}/${GITHUB_PROJECT}-${VERSION}
 
 USE_TOOLS+=    gmake pkg-config
 OCAML_USE_OASIS=       yes
diff -r 1bf0ce4d3683 -r 9231491140bb databases/ocaml-sqlite3/PLIST
--- a/databases/ocaml-sqlite3/PLIST     Wed Aug 17 15:39:02 2016 +0000
+++ b/databases/ocaml-sqlite3/PLIST     Wed Aug 17 15:39:43 2016 +0000
@@ -1,11 +1,14 @@
-@comment $NetBSD: PLIST,v 1.4 2016/06/25 14:16:17 jaapb Exp $
-lib/ocaml/site-lib/sqlite3/META
-lib/ocaml/site-lib/sqlite3/dllsqlite3_stubs.so
-lib/ocaml/site-lib/sqlite3/libsqlite3_stubs.a
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.a
-lib/ocaml/site-lib/sqlite3/sqlite3.cma
-lib/ocaml/site-lib/sqlite3/sqlite3.cmi
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.cmx
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.cmxa
-${PLIST.ocaml-opt}lib/ocaml/site-lib/sqlite3/sqlite3.cmxs
-lib/ocaml/site-lib/sqlite3/sqlite3.mli
+@comment $NetBSD: PLIST,v 1.5 2016/08/17 15:39:43 jaapb Exp $
+${OCAML_SITELIB}/sqlite3/META
+${OCAML_SITELIB}/sqlite3/dllsqlite3_stubs.so
+${OCAML_SITELIB}/sqlite3/libsqlite3_stubs.a
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.a
+${OCAML_SITELIB}/sqlite3/sqlite3.annot
+${OCAML_SITELIB}/sqlite3/sqlite3.cma
+${OCAML_SITELIB}/sqlite3/sqlite3.cmi
+${OCAML_SITELIB}/sqlite3/sqlite3.cmt
+${OCAML_SITELIB}/sqlite3/sqlite3.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/sqlite3/sqlite3.cmxs
+${OCAML_SITELIB}/sqlite3/sqlite3.mli
diff -r 1bf0ce4d3683 -r 9231491140bb databases/ocaml-sqlite3/distinfo
--- a/databases/ocaml-sqlite3/distinfo  Wed Aug 17 15:39:02 2016 +0000
+++ b/databases/ocaml-sqlite3/distinfo  Wed Aug 17 15:39:43 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 01:56:16 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/08/17 15:39:43 jaapb Exp $
 
-SHA1 (v2.0.6.tar.gz) = 0835856fe5e255c4c5d90a78c84add065c9b1264
-RMD160 (v2.0.6.tar.gz) = 57ba126bbafb66a86b391ff82a7d92c50c66fc22
-SHA512 (v2.0.6.tar.gz) = 8d8d25c7fdce145a05d444327eceb696c4161c140228dd2be8a2436408e8a4f4a7395690f0ca2ff27269fb7b5890a645c52db9baafe44f01f840a439ff5f7e80
-Size (v2.0.6.tar.gz) = 64424 bytes
+SHA1 (sqlite3-ocaml-4.0.5.tar.gz) = bed35831d2898bb3df7cf138a1b2ccb9643a550b
+RMD160 (sqlite3-ocaml-4.0.5.tar.gz) = be0c021c7718db75fb784f955397a24785559188
+SHA512 (sqlite3-ocaml-4.0.5.tar.gz) = cdb01cddc702e30fdeaf5b7a45223d28abf33f3568850d5dad97926cf1358990edb363c38e199c1f30048e2d79211e6ad84046f8ed5d5ad4f0f6527b19b8e70d
+Size (sqlite3-ocaml-4.0.5.tar.gz) = 67839 bytes
 SHA1 (patch-lib_sqlite3_stubs.c) = bd5970939a4ad748067337425992346de2b571a5



Home | Main Index | Thread Index | Old Index