From 409af493b82648e156994666a1ff4d5bf79b1dc0 Mon Sep 17 00:00:00 2001 From: Dario Teixeira Date: Fri, 20 Sep 2019 16:53:00 +0200 Subject: [PATCH] Miscelaneous cleanup of OPAM files --- pgocaml.opam | 1 - pgocaml_ppx.opam | 27 +++++++++------------------ 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/pgocaml.opam b/pgocaml.opam index 036bce8..90bc809 100644 --- a/pgocaml.opam +++ b/pgocaml.opam @@ -25,4 +25,3 @@ depends: [ "ocaml" {>= "4.05"} "re" ] -flags: light-uninstall diff --git a/pgocaml_ppx.opam b/pgocaml_ppx.opam index a6a28ba..9130f4e 100644 --- a/pgocaml_ppx.opam +++ b/pgocaml_ppx.opam @@ -1,12 +1,11 @@ opam-version: "2.0" -synopsis: "Interface to PostgreSQL databases" +synopsis: "PPX extension for PGOCaml" description: """ PGOCaml provides an interface to PostgreSQL databases for OCaml applications. -It includes a PPX syntax extension enabling one to directly embed SQL -statements inside the OCaml code. The syntax extension uses the 'describe' -feature of PostgreSQL to obtain type information about the database. This -allows PGOCaml to check at compile-time if the program is indeed consistent -with the database structure. +This PPX syntax extension enables one to directly embed SQL statements inside +the OCaml code. The extension uses the 'describe' feature of PostgreSQL to +obtain type information about the database. This allows PGOCaml to check at +compile-time if the program is indeed consistent with the database structure. """ maintainer: "dario.teixeira@nleyten.com" authors: ["Richard W.M. Jones "] @@ -14,22 +13,14 @@ homepage: "https://github.com/darioteixeira/pgocaml" bug-reports: "https://github.com/darioteixeira/pgocaml/issues" dev-repo: "git+https://github.com/darioteixeira/pgocaml.git" license: "LGPL-2.0 with OCaml linking exception" -build: [ - ["dune" "build" "-p" name "-j" jobs] -] +build: [["dune" "build" "-p" name "-j" jobs]] install: [["dune" "install"]] depends: [ - "base-bytes" - "calendar" - "csv" "dune" {build} - "hex" "ocaml" {>= "4.05"} - "pgocaml" {= version} - "ppx_tools" {build} - "re" - "rresult" {build} "ocaml-migrate-parsetree" + "pgocaml" {= version} + "ppx_tools" "ppx_tools_versioned" + "rresult" ] -flags: light-uninstall