pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/ocsipersist



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Fri May 20 06:47:28 UTC 2022

Added Files:
        pkgsrc/databases/ocsipersist: DESCR Makefile PLIST distinfo options.mk

Log Message:
Created new package databases/ocsipersist, a key/value storage library.

This library has been split off from www/ocsigen; it contains the
persistent storage parts (a generic key/value storage library), with
backends for dbm, PostgreSQL and SQLite.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ocsipersist/DESCR \
    pkgsrc/databases/ocsipersist/Makefile pkgsrc/databases/ocsipersist/PLIST \
    pkgsrc/databases/ocsipersist/distinfo \
    pkgsrc/databases/ocsipersist/options.mk

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

Added files:

Index: pkgsrc/databases/ocsipersist/DESCR
diff -u /dev/null pkgsrc/databases/ocsipersist/DESCR:1.1
--- /dev/null   Fri May 20 06:47:28 2022
+++ pkgsrc/databases/ocsipersist/DESCR  Fri May 20 06:47:28 2022
@@ -0,0 +1,4 @@
+Ocsipersist is a collection of libraries defining a
+unified frontend for a number of key/value storage
+implementations. Implementations of the following
+backends currently exist: DBM, PostgreSQL, SQLite.
Index: pkgsrc/databases/ocsipersist/Makefile
diff -u /dev/null pkgsrc/databases/ocsipersist/Makefile:1.1
--- /dev/null   Fri May 20 06:47:28 2022
+++ pkgsrc/databases/ocsipersist/Makefile       Fri May 20 06:47:28 2022
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2022/05/20 06:47:28 jaapb Exp $
+
+DISTNAME=      ${GITHUB_PROJECT}-1.1.0
+CATEGORIES=    databases
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocsigen/}
+GITHUB_PROJECT=        ocsipersist
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+#DIST_SUBDIR=  ${GITHUB_PROJECT}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ocsigen/ocsipersist/
+COMMENT=       Key/value storage libraries for OCaml
+LICENSE=       gnu-lgpl-v2.1
+
+DEPENDS+=      ocsigen>=3.0.0:../../www/ocsigen
+
+OCAML_USE_DUNE=                yes
+DUNE_BUILD_PACKAGES=   ocsipersist ocsipersist-lib
+OPAM_INSTALL_FILES=    ${DUNE_BUILD_PACKAGES}
+OCAML_FINDLIB_DIRS=    ${DUNE_BUILD_PACKAGES}
+
+
+.include "options.mk"
+.include "../../mk/ocaml.mk"
+.include "../../databases/ocaml-dbm/buildlink3.mk"
+.include "../../devel/ocaml-lwt/buildlink3.mk"
+.include "../../devel/ocaml-lwt_ppx/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/ocsipersist/PLIST
diff -u /dev/null pkgsrc/databases/ocsipersist/PLIST:1.1
--- /dev/null   Fri May 20 06:47:28 2022
+++ pkgsrc/databases/ocsipersist/PLIST  Fri May 20 06:47:28 2022
@@ -0,0 +1,71 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/20 06:47:28 jaapb Exp $
+bin/ocsidbm
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/META
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/__private__/ocsipersist_dbmtypes/.public_cmi/ocsidbmtypes.cmi
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/__private__/ocsipersist_dbmtypes/.public_cmi/ocsidbmtypes.cmti
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/__private__/ocsipersist_dbmtypes/ocsidbmtypes.mli
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/__private__/ocsipersist_dbmtypes/ocsipersist_dbmtypes.cma
+${PLIST.dbm}${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist-dbm/__private__/ocsipersist_dbmtypes/ocsipersist_dbmtypes.cmxa
+${PLIST.dbm}${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist-dbm/__private__/ocsipersist_dbmtypes/ocsipersist_dbmtypes.cmxs
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/dune-package
+${PLIST.dbm}${OCAML_SITELIB}/ocsipersist-dbm/opam
+${OCAML_SITELIB}/ocsipersist-lib/META
+${OCAML_SITELIB}/ocsipersist-lib/dune-package
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.a
+${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.cma
+${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.cmi
+${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.cmxs
+${OCAML_SITELIB}/ocsipersist-lib/ocsipersist_lib.ml
+${OCAML_SITELIB}/ocsipersist-lib/opam
+${PLIST.pgsql}${OCAML_SITELIB}/ocsipersist-pgsql/META
+${PLIST.pgsql}${OCAML_SITELIB}/ocsipersist-pgsql/dune-package
+${PLIST.pgsql}${OCAML_SITELIB}/ocsipersist-pgsql/opam
+${PLIST.sqlite}${OCAML_SITELIB}/ocsipersist-sqlite/META
+${PLIST.sqlite}${OCAML_SITELIB}/ocsipersist-sqlite/dune-package
+${PLIST.sqlite}${OCAML_SITELIB}/ocsipersist-sqlite/opam
+${OCAML_SITELIB}/ocsipersist/META
+${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist.cmi
+${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist.cmx
+${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist_dbm.a
+${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist_dbm.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist_dbm.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/dbm/ocsipersist_dbm.cmxs
+${OCAML_SITELIB}/ocsipersist/dune-package
+${OCAML_SITELIB}/ocsipersist/ocsipersist.cmi
+${OCAML_SITELIB}/ocsipersist/ocsipersist.cmti
+${OCAML_SITELIB}/ocsipersist/ocsipersist.mli
+${OCAML_SITELIB}/ocsipersist/opam
+${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist.cmi
+${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist.cmx
+${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist_pgsql.a
+${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist_pgsql.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist_pgsql.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/pgsql/ocsipersist_pgsql.cmxs
+${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist.cmi
+${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist.cmx
+${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist_sqlite.a
+${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist_sqlite.cma
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist_sqlite.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ocsipersist/sqlite/ocsipersist_sqlite.cmxs
+${PLIST.dbm}share/doc/ocsipersist-dbm/LICENSE
+${PLIST.dbm}share/doc/ocsipersist-dbm/README.md
+${PLIST.dbm}share/doc/ocsipersist-dbm/odoc-pages/index.mld
+share/doc/ocsipersist-lib/LICENSE
+share/doc/ocsipersist-lib/README.md
+${PLIST.pgsql}share/doc/ocsipersist-pgsql/LICENSE
+${PLIST.pgsql}share/doc/ocsipersist-pgsql/README.md
+${PLIST.pgsql}share/doc/ocsipersist-pgsql/odoc-pages/index.mld
+${PLIST.sqlite}share/doc/ocsipersist-sqlite/LICENSE
+${PLIST.sqlite}share/doc/ocsipersist-sqlite/README.md
+${PLIST.sqlite}share/doc/ocsipersist-sqlite/odoc-pages/index.mld
+share/doc/ocsipersist/LICENSE
+share/doc/ocsipersist/README.md
Index: pkgsrc/databases/ocsipersist/distinfo
diff -u /dev/null pkgsrc/databases/ocsipersist/distinfo:1.1
--- /dev/null   Fri May 20 06:47:28 2022
+++ pkgsrc/databases/ocsipersist/distinfo       Fri May 20 06:47:28 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/20 06:47:28 jaapb Exp $
+
+BLAKE2s (ocsipersist-1.1.0.tar.gz) = d92da4dceae445aa088aafcd54ff5a09a95b8da9afd333bdbb7a53ec83531aa8
+SHA512 (ocsipersist-1.1.0.tar.gz) = 82d82f854af3d6708c571d0c586a5abbba35a9c9e7482b81fdce5207e1f3f98dde3823550d3661714e7faa586888a0b6e4d5ae64f36983575079a9820d5d11ee
+Size (ocsipersist-1.1.0.tar.gz) = 26735 bytes
Index: pkgsrc/databases/ocsipersist/options.mk
diff -u /dev/null pkgsrc/databases/ocsipersist/options.mk:1.1
--- /dev/null   Fri May 20 06:47:28 2022
+++ pkgsrc/databases/ocsipersist/options.mk     Fri May 20 06:47:28 2022
@@ -0,0 +1,32 @@
+# $NetBSD: options.mk,v 1.1 2022/05/20 06:47:28 jaapb Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.ocsipersist
+PKG_OPTIONS_NONEMPTY_SETS=     database
+PKG_OPTIONS_SET.database=      sqlite gdbm pgsql
+PKG_SUGGESTED_OPTIONS=         gdbm
+PLIST_VARS=                    sqlite dbm pgsql
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msqlite)
+DEPENDS+=              ocaml-sqlite3>=0.23.0:../../databases/ocaml-sqlite3
+.include "../../devel/ocaml-lwt_log/buildlink3.mk"
+.include "../../textproc/ocaml-xml-light/buildlink3.mk"
+DUNE_BUILD_PACKAGES+=  ocsipersist-sqlite
+PLIST.sqlite=          yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mgdbm)
+.include "../../devel/ocaml-lwt_log/buildlink3.mk"
+.include "../../textproc/ocaml-xml-light/buildlink3.mk"
+DUNE_BUILD_PACKAGES+=  ocsipersist-dbm
+PLIST.dbm=             yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+.include "../../databases/pgocaml/buildlink3.mk"
+.include "../../devel/ocaml-lwt_log/buildlink3.mk"
+.include "../../textproc/ocaml-xml-light/buildlink3.mk"
+DUNE_BUILD_PACKAGES+=  ocsipersist-pgsql
+PLIST.pgsql=           yes
+.endif



Home | Main Index | Thread Index | Old Index