pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_disable_unused_warnings Created packag...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fec09b66221d
branches: trunk
changeset: 378664:fec09b66221d
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Thu May 05 06:36:25 2022 +0000
description:
Created package devel/ocaml-ppx_disable_unused_warnings, v0.15.0.
This is a package that simplifies disabling warnings in OCaml that have
to do with things (not) being used. Needed as a dependency of the new
version of devel/ocaml-ppx_jane.
diffstat:
devel/ocaml-ppx_disable_unused_warnings/DESCR | 4 +++
devel/ocaml-ppx_disable_unused_warnings/Makefile | 21 +++++++++++++++++++
devel/ocaml-ppx_disable_unused_warnings/PLIST | 17 +++++++++++++++
devel/ocaml-ppx_disable_unused_warnings/buildlink3.mk | 13 +++++++++++
devel/ocaml-ppx_disable_unused_warnings/distinfo | 5 ++++
5 files changed, 60 insertions(+), 0 deletions(-)
diffs (80 lines):
diff -r 5a750125ac16 -r fec09b66221d devel/ocaml-ppx_disable_unused_warnings/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_disable_unused_warnings/DESCR Thu May 05 06:36:25 2022 +0000
@@ -0,0 +1,4 @@
+This extension adds an annotation that disables the many
+OCaml compiler warnings that have to do with something
+being used (variable, constructor, declaration, open, rec,
+keyword, etc.)
diff -r 5a750125ac16 -r fec09b66221d devel/ocaml-ppx_disable_unused_warnings/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_disable_unused_warnings/Makefile Thu May 05 06:36:25 2022 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/05/05 06:36:25 jaapb Exp $
+
+DISTNAME= ${GITHUB_PROJECT}-0.15.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
+GITHUB_PROJECT= ppx_disable_unused_warnings
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/janestreet/ppx_disable_unused_warnings/
+COMMENT= Extension to simplify disabling unused warnings
+LICENSE= mit
+
+USE_LANGUAGES= # none
+OCAML_USE_DUNE= yes
+
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppxlib/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5a750125ac16 -r fec09b66221d devel/ocaml-ppx_disable_unused_warnings/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_disable_unused_warnings/PLIST Thu May 05 06:36:25 2022 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/05 06:36:25 jaapb Exp $
+${OCAML_SITELIB}/ppx_disable_unused_warnings/META
+${OCAML_SITELIB}/ppx_disable_unused_warnings/dune-package
+${OCAML_SITELIB}/ppx_disable_unused_warnings/opam
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx.exe
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.a
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cma
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmi
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmt
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.cmxs
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.ml
+${OCAML_SITELIB}/ppx_disable_unused_warnings/ppx_disable_unused_warnings.mli
+share/doc/ppx_disable_unused_warnings/LICENSE.md
+share/doc/ppx_disable_unused_warnings/README.md
diff -r 5a750125ac16 -r fec09b66221d devel/ocaml-ppx_disable_unused_warnings/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_disable_unused_warnings/buildlink3.mk Thu May 05 06:36:25 2022 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/05/05 06:36:25 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-ppx_disable_unused_warnings
+
+.if !defined(OCAML_PPX_DISABLE_UNUSED_WARNINGS_BUILDLINK3_MK)
+OCAML_PPX_DISABLE_UNUSED_WARNINGS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_disable_unused_warnings+= ocaml-ppx_disable_unused_warnings>=0.15.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_disable_unused_warnings?= ../../devel/ocaml-ppx_disable_unused_warnings
+
+.endif # OCAML_PPX_DISABLE_UNUSED_WARNINGS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-ppx_disable_unused_warnings
diff -r 5a750125ac16 -r fec09b66221d devel/ocaml-ppx_disable_unused_warnings/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_disable_unused_warnings/distinfo Thu May 05 06:36:25 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/05 06:36:25 jaapb Exp $
+
+BLAKE2s (ppx_disable_unused_warnings-0.15.0.tar.gz) = e93b970c617080ce5c4171acf4d7f3df9800a66d5cec61b6a70cbf9268d28aaf
+SHA512 (ppx_disable_unused_warnings-0.15.0.tar.gz) = 837bb96b5cc2623205ce778e6100d97a0a029e8c20a945509c06ee44784e67b8e9033b5387681c0f86c07f48ca4541e356ca62e19c1baa8d1b52c813400bb024
+Size (ppx_disable_unused_warnings-0.15.0.tar.gz) = 3966 bytes
Home |
Main Index |
Thread Index |
Old Index