From bd3c6f11646b7601637fa3245cf8a363e9fa0034 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 12 Jul 2022 07:32:04 +0100 Subject: gentoo auto-resync : 12:07:2022 - 07:32:03 --- dev-ml/ptime/Manifest | 3 +++ dev-ml/ptime/metadata.xml | 35 +++++++++++++++++++++++++++++++++++ dev-ml/ptime/ptime-1.0.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 dev-ml/ptime/Manifest create mode 100644 dev-ml/ptime/metadata.xml create mode 100644 dev-ml/ptime/ptime-1.0.0.ebuild (limited to 'dev-ml/ptime') diff --git a/dev-ml/ptime/Manifest b/dev-ml/ptime/Manifest new file mode 100644 index 000000000000..0383bed310a9 --- /dev/null +++ b/dev-ml/ptime/Manifest @@ -0,0 +1,3 @@ +DIST ptime-1.0.0.tbz 33749 BLAKE2B 6765924f624a92c69495883accd47c66294f49e2d2841fafc66444369b97b9dceaecac0c00a14cba2e8e710bf85c6d5759f419e83d4d0a7bee56c197d06bb000 SHA512 df2410d9cc25a33083fe968a584b8fb4d68ad5c077f3356da0a20427e6cd8756a5b946b921e5cf8ed4097f2c506e93345d9dca63b113be644d5a7cc0753d1534 +EBUILD ptime-1.0.0.ebuild 558 BLAKE2B ad8ce46853545c04f65e32d3c4a278ac395a2aa1b58737235faf11176704c6644435eca4ff23563ddac9a58c6ab3d2c33602ef9db5340dcc8a92d1e94930591c SHA512 6d6647456a98f8651a3573e0321e6833c744de5c6629a8026e37de1be2975d247a0085147cc932e91456d5b31b1787acf4b4a3fd8bd056e47b9c4cc742082d40 +MISC metadata.xml 1340 BLAKE2B 5658303c39bee6aa4a5629c99c9bf73d6e55eede8b996b41afe3a702454db99149afd968045e494d65d38e9d08bf8bb2a57e75ccf88a68eca80ec102e2891c6a SHA512 121cc3ffc375fd72c8d28fc26c9fb99753cd0a6507e661a3806a78fb3b162c1cb73511587357ae3344fcbcb7155a20b7387d57dcd06bb593c8a18aa9136e4079 diff --git a/dev-ml/ptime/metadata.xml b/dev-ml/ptime/metadata.xml new file mode 100644 index 000000000000..13860735d090 --- /dev/null +++ b/dev-ml/ptime/metadata.xml @@ -0,0 +1,35 @@ + + + + + ml@gentoo.org + ML + + 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. + +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 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 + +Home page: http://erratique.ch/software/ptime + + https://erratique.ch/software/ptime/doc/ + https://github.com/dbuenzli/ptime/issues + dbuenzli/ptime + + Daniel Bünzli + daniel.buenzli@erratique.ch + + + diff --git a/dev-ml/ptime/ptime-1.0.0.ebuild b/dev-ml/ptime/ptime-1.0.0.ebuild new file mode 100644 index 000000000000..49d8a2f7ff44 --- /dev/null +++ b/dev-ml/ptime/ptime-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit opam findlib + +DESCRIPTION="POSIX time for OCaml" +HOMEPAGE=" + https://erratique.ch/software/ptime + https://github.com/dbuenzli/ptime + https://opam.ocaml.org/packages/ptime/ +" +SRC_URI="https://erratique.ch/software/ptime/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="" +DEPEND=" + ${RDEPEND} + dev-ml/topkg +" +BDEPEND="dev-ml/ocamlbuild" + +OPAM_FILE=opam + +src_compile() { + ocaml pkg/pkg.ml build || die +} -- cgit v1.2.3