pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/ocaml-time_now Added time/ocaml-time_now, to repo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d35e2042d31
branches:  trunk
changeset: 331162:1d35e2042d31
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed Mar 13 11:50:24 2019 +0000

description:
Added time/ocaml-time_now, to report the time in ns since the Unix epoch

diffstat:

 time/ocaml-time_now/DESCR         |   2 ++
 time/ocaml-time_now/Makefile      |  22 ++++++++++++++++++++++
 time/ocaml-time_now/PLIST         |  18 ++++++++++++++++++
 time/ocaml-time_now/buildlink3.mk |  13 +++++++++++++
 time/ocaml-time_now/distinfo      |   6 ++++++
 5 files changed, 61 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r 828fbf1eb060 -r 1d35e2042d31 time/ocaml-time_now/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-time_now/DESCR Wed Mar 13 11:50:24 2019 +0000
@@ -0,0 +1,2 @@
+Provides a single function to report the current time in nanoseconds
+since the start of the Unix epoch.
diff -r 828fbf1eb060 -r 1d35e2042d31 time/ocaml-time_now/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-time_now/Makefile      Wed Mar 13 11:50:24 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/03/13 11:50:24 jaapb Exp $
+
+GITHUB_PROJECT=        time_now
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-0.12.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    time
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/time_now/
+COMMENT=       Library that reports the current time
+LICENSE=       mit
+
+OCAML_USE_DUNE=        yes
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-jane-street-headers/buildlink3.mk"
+.include "../../devel/ocaml-jst-config/buildlink3.mk"
+.include "../../devel/ocaml-ppx_base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_optcomp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 828fbf1eb060 -r 1d35e2042d31 time/ocaml-time_now/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-time_now/PLIST Wed Mar 13 11:50:24 2019 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/13 11:50:24 jaapb Exp $
+${OCAML_SITELIB}/stublibs/dlltime_now_stubs.so
+${OCAML_SITELIB}/time_now/META
+${OCAML_SITELIB}/time_now/dune-package
+${OCAML_SITELIB}/time_now/libtime_now_stubs.a
+${OCAML_SITELIB}/time_now/opam
+${OCAML_SITELIB}/time_now/runtime.js
+${PLIST.ocaml-opt}${OCAML_SITELIB}/time_now/time_now.a
+${OCAML_SITELIB}/time_now/time_now.cma
+${OCAML_SITELIB}/time_now/time_now.cmi
+${OCAML_SITELIB}/time_now/time_now.cmt
+${OCAML_SITELIB}/time_now/time_now.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/time_now/time_now.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/time_now/time_now.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/time_now/time_now.cmxs
+${OCAML_SITELIB}/time_now/time_now.ml
+${OCAML_SITELIB}/time_now/time_now.mli
+share/doc/time_now/LICENSE.md
diff -r 828fbf1eb060 -r 1d35e2042d31 time/ocaml-time_now/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-time_now/buildlink3.mk Wed Mar 13 11:50:24 2019 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/03/13 11:50:24 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-time_now
+
+.if !defined(OCAML_TIME_NOW_BUILDLINK3_MK)
+OCAML_TIME_NOW_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-time_now+= ocaml-time_now>=0.12.0
+BUILDLINK_PKGSRCDIR.ocaml-time_now?=   ../../time/ocaml-time_now
+
+.endif # OCAML_TIME_NOW_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-time_now
diff -r 828fbf1eb060 -r 1d35e2042d31 time/ocaml-time_now/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-time_now/distinfo      Wed Mar 13 11:50:24 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/13 11:50:24 jaapb Exp $
+
+SHA1 (time_now-0.12.0.tar.gz) = 31e2325992c1138c2912da3273ab8cc2911efcb5
+RMD160 (time_now-0.12.0.tar.gz) = 89367348f088122e6e5108d37cbc01443328bea4
+SHA512 (time_now-0.12.0.tar.gz) = 71523cf4a5b2b1a3944ce5e9e7d4efc1fa4bc6446d7bada046e83d478ed1049895952342defc91a7a63f51602f497caced8e4731440a47bb410196db050c4dcc
+Size (time_now-0.12.0.tar.gz) = 3674 bytes



Home | Main Index | Thread Index | Old Index