pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/ocaml-timezone Created package time/ocaml-timezon...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96c08c459ca2
branches:  trunk
changeset: 378737:96c08c459ca2
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Thu May 05 09:19:34 2022 +0000

description:
Created package time/ocaml-timezone version 0.15.0.

This is needed as a depdendency for the new devel/ocaml-core_unix
package; as the name suggests, it is a library for time zone handling.

diffstat:

 time/ocaml-timezone/DESCR         |   2 ++
 time/ocaml-timezone/Makefile      |  22 ++++++++++++++++++++++
 time/ocaml-timezone/PLIST         |  25 +++++++++++++++++++++++++
 time/ocaml-timezone/buildlink3.mk |  14 ++++++++++++++
 time/ocaml-timezone/distinfo      |   5 +++++
 5 files changed, 68 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r 72495947301b -r 96c08c459ca2 time/ocaml-timezone/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-timezone/DESCR Thu May 05 09:19:34 2022 +0000
@@ -0,0 +1,2 @@
+Timezone handles parsing timezone data and creates a Timezone.t that
+can later be used to manipulate time in core_kernel or core.
diff -r 72495947301b -r 96c08c459ca2 time/ocaml-timezone/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-timezone/Makefile      Thu May 05 09:19:34 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/05/05 09:19:34 jaapb Exp $
+
+DISTNAME=      ${GITHUB_PROJECT}-0.15.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    time
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+GITHUB_PROJECT=        timezone
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/timezone/
+COMMENT=       Library for time zone handling
+LICENSE=       mit
+
+USE_TOOLS+=    bash
+
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-core/buildlink3.mk"
+.include "../../devel/ocaml-ppx_jane/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 72495947301b -r 96c08c459ca2 time/ocaml-timezone/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-timezone/PLIST Thu May 05 09:19:34 2022 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/05 09:19:34 jaapb Exp $
+${OCAML_SITELIB}/timezone/META
+${OCAML_SITELIB}/timezone/dune-package
+${OCAML_SITELIB}/timezone/opam
+${OCAML_SITELIB}/timezone/runtime.js
+${PLIST.ocaml-opt}${OCAML_SITELIB}/timezone/timezone.a
+${OCAML_SITELIB}/timezone/timezone.cma
+${OCAML_SITELIB}/timezone/timezone.cmi
+${OCAML_SITELIB}/timezone/timezone.cmt
+${OCAML_SITELIB}/timezone/timezone.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/timezone/timezone.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/timezone/timezone.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/timezone/timezone.cmxs
+${OCAML_SITELIB}/timezone/timezone.ml
+${OCAML_SITELIB}/timezone/timezone.mli
+${OCAML_SITELIB}/timezone/timezone__.cmi
+${OCAML_SITELIB}/timezone/timezone__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/timezone/timezone__.cmx
+${OCAML_SITELIB}/timezone/timezone__.ml
+${OCAML_SITELIB}/timezone/timezone__Timezone_intf.cmi
+${OCAML_SITELIB}/timezone/timezone__Timezone_intf.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/timezone/timezone__Timezone_intf.cmx
+${OCAML_SITELIB}/timezone/timezone_intf.ml
+share/doc/timezone/LICENSE.md
+share/doc/timezone/README.md
diff -r 72495947301b -r 96c08c459ca2 time/ocaml-timezone/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-timezone/buildlink3.mk Thu May 05 09:19:34 2022 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/05/05 09:19:34 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-timezone
+
+.if !defined(OCAML_TIMEZONE_BUILDLINK3_MK)
+OCAML_TIMEZONE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-timezone+= ocaml-timezone>=0.14.0
+BUILDLINK_ABI_DEPENDS.ocaml-timezone+= ocaml-timezone>=0.15.0
+BUILDLINK_PKGSRCDIR.ocaml-timezone?=   ../../time/ocaml-timezone
+
+.endif # OCAML_TIMEZONE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-timezone
diff -r 72495947301b -r 96c08c459ca2 time/ocaml-timezone/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/ocaml-timezone/distinfo      Thu May 05 09:19:34 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/05 09:19:34 jaapb Exp $
+
+BLAKE2s (timezone-0.15.0.tar.gz) = e166d20237e6db4e771ef4984b93dbe4b18c15fc3c32233d4b561acbab0df4bd
+SHA512 (timezone-0.15.0.tar.gz) = d50cd1e8f116f9121383b2d20d5dcbf99b5388a2fed915302f0566c6f2d93bdf1480c2f998fac6b81a636be52b601b38981b3083adaaf405a1154b63c0b0d6da
+Size (timezone-0.15.0.tar.gz) = 9480 bytes



Home | Main Index | Thread Index | Old Index