Skip to content

Commit

Permalink
Fix opam file field ordering and update it according to v1.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rebours <[email protected]>
  • Loading branch information
NathanReb committed Mar 10, 2022
1 parent 57d3c1a commit b51e7be
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions ptime.opam
Original file line number Diff line number Diff line change
@@ -1,36 +1,34 @@
opam-version: "2.0"
name: "ptime"
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
authors: ["The ptime programmers"]
homepage: "https://github.com/dune-universe/ptime"
dev-repo: "git+https://github.com/dune-universe/ptime.git"
bug-reports: "https://github.com/dbuenzli/ptime/issues"
tags: [ "time" "posix" "system" "org:erratique" ]
license: "ISC"
depends: [
"dune"
"ocaml" {>= "4.01.0"}
"result"
]
depopts: [ "js_of_ocaml" ]
synopsis: "POSIX time for OCaml"
description: """
description: """\
Ptime has platform independent POSIX time support in pure OCaml. It
provides a type to represent a well-defined range of POSIX timestamps
with picosecond precision, conversion with date-time values,
conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to a
human-readable, locale-independent representation.
conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to
a human-readable, locale-independent representation.

The additional Ptime_clock library provides access to a system POSIX
clock and to the system's current time zone offset.

Ptime is not a calendar library.

Ptime depends on the `result` compatibility package. Ptime_clock
depends on your system library. Ptime_clock's optional JavaScript
support depends on [js_of_ocaml][jsoo]. Ptime and its libraries are
distributed under the ISC license.
Ptime has no dependency. Ptime_clock depends on your system library or
JavaScript runtime system. Ptime and its libraries are distributed
under the ISC license.

[rfc3339]: http://tools.ietf.org/html/rfc3339
[jsoo]: http://ocsigen.org/js_of_ocaml/"""

Home page: http://erratique.ch/software/ptime"""
maintainer: "Daniel Bünzli <daniel.buenzl [email protected]>"
authors: ["The ptime programmers"]
license: "ISC"
tags: [ "time" "posix" "system" "org:erratique" ]
homepage: "https://github.com/dune-universe/ptime"
bug-reports: "https://github.com/dbuenzli/ptime/issues"
depends: [
"dune"
"ocaml" {>= "4.08.0"}
]
build: [ "dune" "build" "-p" name "-j" jobs "@install" "@runtest" {with-test} ]
dev-repo: "git+https://github.com/dune-universe/ptime.git"

0 comments on commit b51e7be

Please sign in to comment.