Thu May 5 09:19:34 2022 UTC ()
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.


(jaapb)
diff -r0 -r1.1 pkgsrc/time/ocaml-timezone/DESCR
diff -r0 -r1.1 pkgsrc/time/ocaml-timezone/Makefile
diff -r0 -r1.1 pkgsrc/time/ocaml-timezone/PLIST
diff -r0 -r1.1 pkgsrc/time/ocaml-timezone/buildlink3.mk
diff -r0 -r1.1 pkgsrc/time/ocaml-timezone/distinfo

File Added: pkgsrc/time/ocaml-timezone/DESCR
Timezone handles parsing timezone data and creates a Timezone.t that
can later be used to manipulate time in core_kernel or core.

File Added: pkgsrc/time/ocaml-timezone/Makefile
# $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
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"

File Added: pkgsrc/time/ocaml-timezone/PLIST
@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

File Added: pkgsrc/time/ocaml-timezone/buildlink3.mk
# $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

File Added: pkgsrc/time/ocaml-timezone/distinfo
$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