pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/pgocaml



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Tue Jan 14 20:29:08 UTC 2020

Modified Files:
        pkgsrc/databases/pgocaml: Makefile PLIST buildlink3.mk distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/pgocaml/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/pgocaml/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/pgocaml/buildlink3.mk
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/pgocaml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/pgocaml/Makefile
diff -u pkgsrc/databases/pgocaml/Makefile:1.15 pkgsrc/databases/pgocaml/Makefile:1.16
--- pkgsrc/databases/pgocaml/Makefile:1.15      Sat Nov  2 15:38:06 2019
+++ pkgsrc/databases/pgocaml/Makefile   Tue Jan 14 20:29:07 2020
@@ -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 @@ HOMEPAGE=   http://pgocaml.forge.ocamlcore
 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"

Index: pkgsrc/databases/pgocaml/PLIST
diff -u pkgsrc/databases/pgocaml/PLIST:1.5 pkgsrc/databases/pgocaml/PLIST:1.6
--- pkgsrc/databases/pgocaml/PLIST:1.5  Thu Jul  4 09:18:37 2019
+++ pkgsrc/databases/pgocaml/PLIST      Tue Jan 14 20:29:07 2020
@@ -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

Index: pkgsrc/databases/pgocaml/buildlink3.mk
diff -u pkgsrc/databases/pgocaml/buildlink3.mk:1.6 pkgsrc/databases/pgocaml/buildlink3.mk:1.7
--- pkgsrc/databases/pgocaml/buildlink3.mk:1.6  Thu Jul  4 09:18:37 2019
+++ pkgsrc/databases/pgocaml/buildlink3.mk      Tue Jan 14 20:29:07 2020
@@ -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"

Index: pkgsrc/databases/pgocaml/distinfo
diff -u pkgsrc/databases/pgocaml/distinfo:1.3 pkgsrc/databases/pgocaml/distinfo:1.4
--- pkgsrc/databases/pgocaml/distinfo:1.3       Mon May 13 12:12:33 2019
+++ pkgsrc/databases/pgocaml/distinfo   Tue Jan 14 20:29:07 2020
@@ -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