pkgsrc-Changes archive

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

CVS commit: pkgsrc/time/ocaml-time_now



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Wed Mar 13 11:50:24 UTC 2019

Added Files:
        pkgsrc/time/ocaml-time_now: DESCR Makefile PLIST buildlink3.mk distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/time/ocaml-time_now/DESCR \
    pkgsrc/time/ocaml-time_now/Makefile pkgsrc/time/ocaml-time_now/PLIST \
    pkgsrc/time/ocaml-time_now/buildlink3.mk \
    pkgsrc/time/ocaml-time_now/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/time/ocaml-time_now/DESCR
diff -u /dev/null pkgsrc/time/ocaml-time_now/DESCR:1.1
--- /dev/null   Wed Mar 13 11:50:24 2019
+++ pkgsrc/time/ocaml-time_now/DESCR    Wed Mar 13 11:50:24 2019
@@ -0,0 +1,2 @@
+Provides a single function to report the current time in nanoseconds
+since the start of the Unix epoch.
Index: pkgsrc/time/ocaml-time_now/Makefile
diff -u /dev/null pkgsrc/time/ocaml-time_now/Makefile:1.1
--- /dev/null   Wed Mar 13 11:50:24 2019
+++ pkgsrc/time/ocaml-time_now/Makefile Wed Mar 13 11:50:24 2019
@@ -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"
Index: pkgsrc/time/ocaml-time_now/PLIST
diff -u /dev/null pkgsrc/time/ocaml-time_now/PLIST:1.1
--- /dev/null   Wed Mar 13 11:50:24 2019
+++ pkgsrc/time/ocaml-time_now/PLIST    Wed Mar 13 11:50:24 2019
@@ -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
Index: pkgsrc/time/ocaml-time_now/buildlink3.mk
diff -u /dev/null pkgsrc/time/ocaml-time_now/buildlink3.mk:1.1
--- /dev/null   Wed Mar 13 11:50:24 2019
+++ pkgsrc/time/ocaml-time_now/buildlink3.mk    Wed Mar 13 11:50:24 2019
@@ -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
Index: pkgsrc/time/ocaml-time_now/distinfo
diff -u /dev/null pkgsrc/time/ocaml-time_now/distinfo:1.1
--- /dev/null   Wed Mar 13 11:50:24 2019
+++ pkgsrc/time/ocaml-time_now/distinfo Wed Mar 13 11:50:24 2019
@@ -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