pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-bigarray-compat Added devel/ocaml-bigarray...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b384818be2d6
branches:  trunk
changeset: 422347:b384818be2d6
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Fri Jan 24 16:20:47 2020 +0000

description:
Added devel/ocaml-bigarray-compat 1.0.0, a bigarray compatibility library

diffstat:

 devel/ocaml-bigarray-compat/DESCR         |   2 ++
 devel/ocaml-bigarray-compat/Makefile      |  19 +++++++++++++++++++
 devel/ocaml-bigarray-compat/PLIST         |  13 +++++++++++++
 devel/ocaml-bigarray-compat/buildlink3.mk |  12 ++++++++++++
 devel/ocaml-bigarray-compat/distinfo      |   6 ++++++
 5 files changed, 52 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r e70737612b88 -r b384818be2d6 devel/ocaml-bigarray-compat/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigarray-compat/DESCR Fri Jan 24 16:20:47 2020 +0000
@@ -0,0 +1,2 @@
+A library that exposes Stdlib.Bigarray when possible (in OCaml >= 4.07)
+but can fallback to Bigarray.
diff -r e70737612b88 -r b384818be2d6 devel/ocaml-bigarray-compat/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigarray-compat/Makefile      Fri Jan 24 16:20:47 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/01/24 16:20:47 jaapb Exp $
+
+VERSION=       1.0.0
+GITHUB_PROJECT=        bigarray-compat
+DISTNAME=      ocaml-${GITHUB_PROJECT}-${VERSION}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mirage/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mirage/bigarray-compat/
+COMMENT=       Compatibility package for the BigArray library in OCaml
+LICENSE=       isc
+
+OCAML_USE_OPAM=        yes
+OCAML_USE_DUNE=        yes
+
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e70737612b88 -r b384818be2d6 devel/ocaml-bigarray-compat/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigarray-compat/PLIST Fri Jan 24 16:20:47 2020 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/24 16:20:47 jaapb Exp $
+${OCAML_SITELIB}/bigarray-compat/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigarray-compat/bigarray_compat.a
+${OCAML_SITELIB}/bigarray-compat/bigarray_compat.cma
+${OCAML_SITELIB}/bigarray-compat/bigarray_compat.cmi
+${OCAML_SITELIB}/bigarray-compat/bigarray_compat.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigarray-compat/bigarray_compat.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigarray-compat/bigarray_compat.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/bigarray-compat/bigarray_compat.cmxs
+${OCAML_SITELIB}/bigarray-compat/bigarray_compat.ml
+${OCAML_SITELIB}/bigarray-compat/dune-package
+${OCAML_SITELIB}/bigarray-compat/opam
+share/doc/bigarray-compat/README.md
diff -r e70737612b88 -r b384818be2d6 devel/ocaml-bigarray-compat/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigarray-compat/buildlink3.mk Fri Jan 24 16:20:47 2020 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/24 16:20:47 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-bigarray-compat
+
+.if !defined(OCAML_BIGARRAY_COMPAT_BUILDLINK3_MK)
+OCAML_BIGARRAY_COMPAT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-bigarray-compat+=  ocaml-bigarray-compat>=1.0.0
+BUILDLINK_PKGSRCDIR.ocaml-bigarray-compat?=    ../../devel/ocaml-bigarray-compat
+.endif # OCAML_BIGARRAY_COMPAT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-bigarray-compat
diff -r e70737612b88 -r b384818be2d6 devel/ocaml-bigarray-compat/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-bigarray-compat/distinfo      Fri Jan 24 16:20:47 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/24 16:20:47 jaapb Exp $
+
+SHA1 (ocaml-bigarray-compat-1.0.0.tar.gz) = 707a41889ee659dd1dfa2c64d820b71513a48a52
+RMD160 (ocaml-bigarray-compat-1.0.0.tar.gz) = a2ce35b2596c19244868484fc3835e0001cc5cd3
+SHA512 (ocaml-bigarray-compat-1.0.0.tar.gz) = c365fee15582aca35d7b05268cde29e54774ad7df7be56762b4aad78ca1409d4326ad3b34af0f1cc2c7b872837290a9cd9ff43b47987c03bba7bba32fe8a030f
+Size (ocaml-bigarray-compat-1.0.0.tar.gz) = 1385 bytes



Home | Main Index | Thread Index | Old Index