pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_compare New package devel/ocaml-ppx_co...
details: https://anonhg.NetBSD.org/pkgsrc/rev/169f84016f73
branches: trunk
changeset: 370096:169f84016f73
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Wed Oct 11 13:51:55 2017 +0000
description:
New package devel/ocaml-ppx_compare
This is an OCaml library to generate comparison functions from type
definitions. It's needed as a dependency of ocaml-ppx_base.
diffstat:
devel/ocaml-ppx_compare/DESCR | 7 +++++++
devel/ocaml-ppx_compare/Makefile | 28 ++++++++++++++++++++++++++++
devel/ocaml-ppx_compare/PLIST | 32 ++++++++++++++++++++++++++++++++
devel/ocaml-ppx_compare/buildlink3.mk | 12 ++++++++++++
devel/ocaml-ppx_compare/distinfo | 6 ++++++
5 files changed, 85 insertions(+), 0 deletions(-)
diffs (105 lines):
diff -r 5e4ec43a25a2 -r 169f84016f73 devel/ocaml-ppx_compare/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_compare/DESCR Wed Oct 11 13:51:55 2017 +0000
@@ -0,0 +1,7 @@
+Generation of fast comparison functions from type expressions and definitions.
+
+Ppx_compare is a ppx rewriter that derives comparison functions from type
+representations. The scaffolded functions are usually much faster than ocaml's
+Pervasives.compare. Scaffolding functions also gives you more flexibility by
+allowing you to override them for a specific type and more safety by making
+sure that you only compare comparable values.
diff -r 5e4ec43a25a2 -r 169f84016f73 devel/ocaml-ppx_compare/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_compare/Makefile Wed Oct 11 13:51:55 2017 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2017/10/11 13:51:55 jaapb Exp $
+
+VERSION= 0.9.0
+GITHUB_PROJECT= ppx_compare
+GITHUB_TAG= v${VERSION}
+DISTNAME= ${GITHUB_PROJECT}-${VERSION}
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME}
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER= jaapb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/janestreet/ppx_compare/
+COMMENT= Generation of comparison functions from types
+LICENSE= apache-2.0
+
+USE_LANGUAGES= # none
+
+OCAML_USE_JBUILDER= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_core/buildlink3.mk"
+.include "../../devel/ocaml-ppx_driver/buildlink3.mk"
+.include "../../devel/ocaml-ppx_metaquot/buildlink3.mk"
+.include "../../devel/ocaml-ppx_type_conv/buildlink3.mk"
+.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5e4ec43a25a2 -r 169f84016f73 devel/ocaml-ppx_compare/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_compare/PLIST Wed Oct 11 13:51:55 2017 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/11 13:51:55 jaapb Exp $
+${OCAML_SITELIB}/ppx_compare/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.a
+${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cma
+${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cmi
+${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cmt
+${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.cmxs
+${OCAML_SITELIB}/ppx_compare/expander/ppx_compare_expander.mli
+${OCAML_SITELIB}/ppx_compare/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/ppx_compare.a
+${OCAML_SITELIB}/ppx_compare/ppx_compare.cma
+${OCAML_SITELIB}/ppx_compare/ppx_compare.cmi
+${OCAML_SITELIB}/ppx_compare/ppx_compare.cmt
+${OCAML_SITELIB}/ppx_compare/ppx_compare.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/ppx_compare.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/ppx_compare.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/ppx_compare.cmxs
+${OCAML_SITELIB}/ppx_compare/ppx_compare.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.a
+${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.cma
+${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.cmi
+${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.cmxs
+${OCAML_SITELIB}/ppx_compare/runtime-lib/ppx_compare_lib.ml
+share/doc/ppx_compare/CHANGES.md
+share/doc/ppx_compare/LICENSE.txt
+share/doc/ppx_compare/README.md
diff -r 5e4ec43a25a2 -r 169f84016f73 devel/ocaml-ppx_compare/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_compare/buildlink3.mk Wed Oct 11 13:51:55 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/10/11 13:51:55 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-ppx_compare
+
+.if !defined(OCAML_PPX_COMPARE_BUILDLINK3_MK)
+OCAML_PPX_COMPARE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_compare+= ocaml-ppx_compare>=0.9.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_compare?= ../../devel/ocaml-ppx_compare
+.endif # OCAML_PPX_COMPARE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-ppx_compare
diff -r 5e4ec43a25a2 -r 169f84016f73 devel/ocaml-ppx_compare/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_compare/distinfo Wed Oct 11 13:51:55 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/11 13:51:55 jaapb Exp $
+
+SHA1 (ppx_compare-0.9.0.tar.gz) = 7ab8fcb7a98e58cbdb2df5f8d26607b1f688726f
+RMD160 (ppx_compare-0.9.0.tar.gz) = b7a150054f72f9cbfd2e6962c66e75297303bbd5
+SHA512 (ppx_compare-0.9.0.tar.gz) = 4f154bb67c2241712986247f8b3ed04b4ba874424171989f0421193a15cea45dedbf1c546408421bf33839ea45b85a45ec1cb43c034373fd80198ddb5d9045fe
+Size (ppx_compare-0.9.0.tar.gz) = 11760 bytes
Home |
Main Index |
Thread Index |
Old Index