From c64809fff36dddf78af366f6bd34113b968bab7b Mon Sep 17 00:00:00 2001 From: ygrek Date: Tue, 16 Oct 2018 16:59:28 +0200 Subject: [PATCH] upgrade opam to 2.0 --- opam | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/opam b/opam index 31372f5..dd3efee 100644 --- a/opam +++ b/opam @@ -1,15 +1,20 @@ -opam-version: "1.2" +opam-version: "2.0" maintainer: "ygrek@autistici.org" authors: ["ygrek"] homepage: "http://ygrek.org.ua/p/sqlgg/" -dev-repo: "https://github.com/ygrek/sqlgg.git" +dev-repo: "git+https://github.com/ygrek/sqlgg.git" bug-reports: "https://github.com/ygrek/sqlgg/issues" build: [ - ["ocaml" "setup.ml" "-configure" "--enable-tests" "--%{mysql:enable}%-mysql" "--%{sqlite3:enable}%-sqlite3" "--prefix" prefix] + [ "ocaml" + "setup.ml" + "-configure" + "--enable-tests" + "--%{mysql:enable}%-mysql" + "--%{sqlite3:enable}%-sqlite3" + "--prefix" prefix + ] ["ocaml" "setup.ml" "-build"] -] -build-test: [ - ["ocaml" "setup.ml" "-test"] + ["ocaml" "setup.ml" "-test"] {with-test} ] install: [ ["ocaml" "setup.ml" "-install"] @@ -19,6 +24,7 @@ remove: [ ["rm" "-f" "%{bin}%/sqlgg" "%{bin}%/sqlgg.exe"] ] depends: [ + "ocaml" {>= "4.02.0"} "ocamlfind" {build} "ocamlbuild" {build} "mybuild" {build} @@ -32,4 +38,11 @@ depopts: [ "mysql" "sqlite3" ] -available: [ocaml-version >= "4.02.0"] +synopsis: "SQL Guided (code) Generator" +description: """ +sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml. +It starts off with SQL schema and queries, and generates code (or XML, allowing +further code generation for various purposes). Generated code only defines a mapping +of output columns and query parameters to the host language, trying to be as unobtrusive +as possible and leaving the choice of SQL database (and API to access it) to the developer.""" +flags: light-uninstall