update opam metadata to 2.0 format

This commit is contained in:
Anil Madhavapeddy 2019-01-14 18:53:10 +00:00 committed by Jérémie Dimino
parent 93408e5cfc
commit 5f3eb3134d
3 changed files with 21 additions and 19 deletions

View File

@ -2,6 +2,7 @@ dev
--- ---
* Port build to dune from jbuilder (@avsm) * Port build to dune from jbuilder (@avsm)
* Upgrade local opam metadata to opam 2.0 format (@avsm)
2.2.0 (2018-07-15) 2.2.0 (2018-07-15)
------------------ ------------------

View File

@ -1,6 +0,0 @@
Universal toplevel for OCaml
utop is an improved toplevel (i.e., Read-Eval-Print Loop or REPL) for
OCaml. It can run in a terminal or in Emacs. It supports line
edition, history, real-time and context sensitive completion, colors,
and more. It integrates with the Tuareg mode in Emacs.

View File

@ -1,15 +1,11 @@
opam-version: "1.2" opam-version: "2.0"
maintainer: "jeremie@dimino.org" maintainer: "jeremie@dimino.org"
authors: ["Jérémie Dimino"] authors: "Jérémie Dimino"
license: "BSD3" license: "BSD3"
homepage: "https://github.com/ocaml-community/utop" homepage: "https://github.com/ocaml-community/utop"
bug-reports: "https://github.com/ocaml-community/utop/issues" bug-reports: "https://github.com/ocaml-community/utop/issues"
dev-repo: "https://github.com/ocaml-community/utop.git"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]
depends: [ depends: [
"ocaml" {>= "4.03.0"}
"base-unix" "base-unix"
"base-threads" "base-threads"
"ocamlfind" {>= "1.7.2"} "ocamlfind" {>= "1.7.2"}
@ -21,5 +17,16 @@ depends: [
"cppo" {build & >= "1.1.2"} "cppo" {build & >= "1.1.2"}
"dune" {build} "dune" {build}
] ]
build-test: [["dune" "runtest" "-p" name "-j" jobs]] build: [
available: [ocaml-version >= "4.03.0"] ["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/ocaml-community/utop.git"
synopsis: "Universal toplevel for OCaml"
description: """
utop is an improved toplevel (i.e., Read-Eval-Print Loop or REPL) for
OCaml. It can run in a terminal or in Emacs. It supports line
edition, history, real-time and context sensitive completion, colors,
and more. It integrates with the Tuareg mode in Emacs.
"""