From 16ce4c09d99921e83e9f69aa518498a22469624b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Avila?= Date: Sat, 27 Oct 2018 22:56:22 +0200 Subject: [PATCH] switch to opam 2.0 --- kicadsch.opam | 16 +++++++++------- plotkicadsch.opam | 11 ++++++++--- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/kicadsch.opam b/kicadsch.opam index 61f3302..14d2c06 100644 --- a/kicadsch.opam +++ b/kicadsch.opam @@ -1,22 +1,24 @@ -opam-version: "1.2" +opam-version: "2.0" maintainer: "Jean-Noel Avila " author: "Jean-Noel Avila " homepage: "https://jnavila.github.io/plotkicadsch/" doc: "https://jnavila.github.io/plotkicadsch/index" synopsis: "Library to read and convert Kicad Sch files" +description: """ +Library able to read Kicad libraries and sch file and +drive a painter to paint the schematics. +""" bug-reports: "https://github.com/jnavila/plotkicadsch/issues" license: "ISC" -dev-repo: "https://github.com/jnavila/plotkicadsch.git" +dev-repo: "git+https://github.com/jnavila/plotkicadsch.git" build: [ [ "dune" "subst" ] {pinned} [ "dune" "build" "-p" name "-j" jobs ] -] -build-test: [ - ["dune" "runtest" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ "dune" {build} "dune-release" {build} - "ounit" {test} + "ounit" {with-test} + "ocaml" {>="4.05"} ] -available: [ ocaml-version >= "4.05" ] diff --git a/plotkicadsch.opam b/plotkicadsch.opam index 4b52b2c..7a29e21 100644 --- a/plotkicadsch.opam +++ b/plotkicadsch.opam @@ -1,12 +1,17 @@ -opam-version: "1.2" +opam-version: "2.0" maintainer: "Jean-Noel Avila " author: "Jean-Noel Avila " homepage: "https://jnavila.github.io/plotkicadsch/" bug-reports: "https://github.com/jnavila/plotkicadsch/issues" doc: "https://jnavila.github.io/plotkicadsch/index" -synopsis: "Utilities to print and compare version of kicad schematics" +synopsis: "Utilities to print and compare version of Kicad schematics" +description: """ +Two utilities: + * plotkicadsch is able to plot schematic sheets to SVG files + * plotgitsch is able to compare git revisions of schematics +""" license: "ISC" -dev-repo: "https://github.com/jnavila/plotkicadsch.git" +dev-repo: "git+https://github.com/jnavila/plotkicadsch.git" build: [ [ "dune" "subst" ] {pinned} [ "dune" "build" "-p" name "-j" jobs ]