pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/pgocaml Update databases/pgocaml to version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e4d4c55fb2e
branches:  trunk
changeset: 408992:1e4d4c55fb2e
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Jan 14 20:29:07 2020 +0000

description:
Update databases/pgocaml to version 4.2.

Changes include:
- support for type hints
- support for custom converters
- package uses Dune now
- camlp4 replaced by ppx

diffstat:

 databases/pgocaml/Makefile      |  22 +++++++++++--------
 databases/pgocaml/PLIST         |  45 +++++++++++++++++++++++++++++-----------
 databases/pgocaml/buildlink3.mk |   6 ++--
 databases/pgocaml/distinfo      |  10 ++++----
 4 files changed, 53 insertions(+), 30 deletions(-)

diffs (153 lines):

diff -r c96c07af4d74 -r 1e4d4c55fb2e databases/pgocaml/Makefile
--- a/databases/pgocaml/Makefile        Tue Jan 14 19:53:56 2020 +0000
+++ b/databases/pgocaml/Makefile        Tue Jan 14 20:29:07 2020 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2019/11/02 15:38:06 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2020/01/14 20:29:07 jaapb Exp $
 
 GITHUB_PROJECT=        pgocaml
-GITHUB_TAG=    v${PKGVERSION_NOREV}
-DISTNAME=      ${GITHUB_PROJECT}-3.2
-PKGREVISION=   1
+#GITHUB_TAG=   v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-4.2
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=darioteixeira/}
 
@@ -12,23 +11,28 @@
 COMMENT=       Native PostgreSQL binding for OCaml
 LICENSE=       gnu-lgpl-v2
 
-HAS_CONFIGURE=         yes
-USE_LANGUAGES=         c
-USE_TOOLS+=            gmake
-CONFIGURE_ARGS+=       --disable-p4
+USE_LANGUAGES= c
+USE_TOOLS+=    bash
+REPLACE_BASH=  src/genconfig.sh
 
-OCAML_USE_OASIS=       yes
+OCAML_USE_DUNE=                yes
+DUNE_BUILD_PACKAGES=   pgocaml pgocaml_ppx
+OPAM_INSTALL_FILES=    ${DUNE_BUILD_PACKAGES}
 
 .include "../../mk/ocaml.mk"
 .include "../../devel/ocamlbuild/buildlink3.mk"
 .include "../../devel/ocaml-hex/buildlink3.mk"
 .include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
+.include "../../devel/ocaml-ppx_deriving/buildlink3.mk"
+.include "../../devel/ocaml-ppx_optcomp/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
 BUILDLINK_DEPMETHOD.ocaml-ppx_tools=   build
 .include "../../devel/ocaml-ppx_tools/buildlink3.mk"
 .include "../../devel/ocaml-ppx_tools_versioned/buildlink3.mk"
 .include "../../devel/ocaml-re/buildlink3.mk"
 BUILDLINK_DEPMETHOD.ocaml-rresult=     build
 .include "../../devel/ocaml-rresult/buildlink3.mk"
+.include "../../devel/ocaml-sexplib/buildlink3.mk"
 .include "../../textproc/ocaml-csv/buildlink3.mk"
 .include "../../time/ocaml-calendar/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c96c07af4d74 -r 1e4d4c55fb2e databases/pgocaml/PLIST
--- a/databases/pgocaml/PLIST   Tue Jan 14 19:53:56 2020 +0000
+++ b/databases/pgocaml/PLIST   Tue Jan 14 20:29:07 2020 +0000
@@ -1,33 +1,52 @@
-@comment $NetBSD: PLIST,v 1.5 2019/07/04 09:18:37 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/01/14 20:29:07 jaapb Exp $
 ${OCAML_SITELIB}/pgocaml/META
-${OCAML_SITELIB}/pgocaml/PGOCaml.annot
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml.a
+${OCAML_SITELIB}/pgocaml/PGOCaml.cma
 ${OCAML_SITELIB}/pgocaml/PGOCaml.cmi
 ${OCAML_SITELIB}/pgocaml/PGOCaml.cmt
 ${OCAML_SITELIB}/pgocaml/PGOCaml.cmti
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml.cmxs
+${OCAML_SITELIB}/pgocaml/PGOCaml.ml
 ${OCAML_SITELIB}/pgocaml/PGOCaml.mli
-${OCAML_SITELIB}/pgocaml/PGOCaml_aux.annot
 ${OCAML_SITELIB}/pgocaml/PGOCaml_aux.cmi
 ${OCAML_SITELIB}/pgocaml/PGOCaml_aux.cmt
 ${OCAML_SITELIB}/pgocaml/PGOCaml_aux.cmti
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml_aux.cmx
+${OCAML_SITELIB}/pgocaml/PGOCaml_aux.ml
 ${OCAML_SITELIB}/pgocaml/PGOCaml_aux.mli
-${OCAML_SITELIB}/pgocaml/PGOCaml_config.annot
 ${OCAML_SITELIB}/pgocaml/PGOCaml_config.cmi
 ${OCAML_SITELIB}/pgocaml/PGOCaml_config.cmt
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml_config.cmx
 ${OCAML_SITELIB}/pgocaml/PGOCaml_config.ml
-${OCAML_SITELIB}/pgocaml/PGOCaml_generic.annot
 ${OCAML_SITELIB}/pgocaml/PGOCaml_generic.cmi
 ${OCAML_SITELIB}/pgocaml/PGOCaml_generic.cmt
 ${OCAML_SITELIB}/pgocaml/PGOCaml_generic.cmti
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/PGOCaml_generic.cmx
+${OCAML_SITELIB}/pgocaml/PGOCaml_generic.ml
 ${OCAML_SITELIB}/pgocaml/PGOCaml_generic.mli
-${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/pgocaml.a
-${OCAML_SITELIB}/pgocaml/pgocaml.cma
-${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/pgocaml.cmxa
-${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/pgocaml.cmxs
-${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/ppx_pgsql.a
-${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/ppx_pgsql.cma
-${OCAML_SITELIB}/pgocaml/ppx_pgsql.cmxa
-${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml/ppx_pgsql.cmxs
+${OCAML_SITELIB}/pgocaml/dune-package
+${OCAML_SITELIB}/pgocaml/opam
+${OCAML_SITELIB}/pgocaml_ppx/META
+${OCAML_SITELIB}/pgocaml_ppx/dune-package
+${OCAML_SITELIB}/pgocaml_ppx/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.a
+${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.cma
+${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.cmi
+${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.cmxs
+${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx.ml
+${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx__Ppx_pgsql.cmi
+${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx__Ppx_pgsql.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/pgocaml_ppx/pgocaml_ppx__Ppx_pgsql.cmx
+${OCAML_SITELIB}/pgocaml_ppx/ppx.exe
+${OCAML_SITELIB}/pgocaml_ppx/ppx_pgsql.ml
+share/doc/pgocaml/CHANGELOG.txt
+share/doc/pgocaml/LICENSE.txt
+share/doc/pgocaml/README.md
+share/doc/pgocaml_ppx/CHANGELOG.txt
+share/doc/pgocaml_ppx/LICENSE.txt
+share/doc/pgocaml_ppx/README.md
diff -r c96c07af4d74 -r 1e4d4c55fb2e databases/pgocaml/buildlink3.mk
--- a/databases/pgocaml/buildlink3.mk   Tue Jan 14 19:53:56 2020 +0000
+++ b/databases/pgocaml/buildlink3.mk   Tue Jan 14 20:29:07 2020 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.6 2019/07/04 09:18:37 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2020/01/14 20:29:07 jaapb Exp $
 
 BUILDLINK_TREE+=       pgocaml
 
 .if !defined(PGOCAML_BUILDLINK3_MK)
 PGOCAML_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.pgocaml+=        pgocaml>=3.0
-BUILDLINK_ABI_DEPENDS.pgocaml+=        pgocaml>=3.2nb1
+BUILDLINK_API_DEPENDS.pgocaml+=        pgocaml>=4.0
+BUILDLINK_ABI_DEPENDS.pgocaml+=        pgocaml>=4.2
 BUILDLINK_PKGSRCDIR.pgocaml?=  ../../databases/pgocaml
 
 .include "../../devel/ocaml-re/buildlink3.mk"
diff -r c96c07af4d74 -r 1e4d4c55fb2e databases/pgocaml/distinfo
--- a/databases/pgocaml/distinfo        Tue Jan 14 19:53:56 2020 +0000
+++ b/databases/pgocaml/distinfo        Tue Jan 14 20:29:07 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2019/05/13 12:12:33 jaapb Exp $
+$NetBSD: distinfo,v 1.4 2020/01/14 20:29:07 jaapb Exp $
 
-SHA1 (pgocaml-3.2.tar.gz) = 140aa320f63742069a33aed68763a0ad6151eab1
-RMD160 (pgocaml-3.2.tar.gz) = d9a06ca5b81ed0180e90407af55e4543ba61ef32
-SHA512 (pgocaml-3.2.tar.gz) = 7f9c35844839df4b35083f8de18e0e55f82db80886d1f1251fa4a6bc894137da2f058c5a2e8bf3b308ed09b96120824248e8570aa1904d5247613a42ca9a8b77
-Size (pgocaml-3.2.tar.gz) = 108957 bytes
+SHA1 (pgocaml-4.2.tar.gz) = 46d468f1ba8717a4183f5f68bc1de148a5c3bd33
+RMD160 (pgocaml-4.2.tar.gz) = 07d4203e49c8d83c810beffd86f16591bdd0dd3a
+SHA512 (pgocaml-4.2.tar.gz) = 48c35659518242836fc5d0a5166bcdaeee2527ca55a0859373d4b1af01c8eefe2107059fd710d790dafc7e0ab31486fc6ced186ca38014810c122a48a99d25da
+Size (pgocaml-4.2.tar.gz) = 54381 bytes



Home | Main Index | Thread Index | Old Index