pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-ppx_compare



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Wed Oct 11 13:51:56 UTC 2017

Added Files:
        pkgsrc/devel/ocaml-ppx_compare: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ocaml-ppx_compare/DESCR \
    pkgsrc/devel/ocaml-ppx_compare/Makefile \
    pkgsrc/devel/ocaml-ppx_compare/PLIST \
    pkgsrc/devel/ocaml-ppx_compare/buildlink3.mk \
    pkgsrc/devel/ocaml-ppx_compare/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ocaml-ppx_compare/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-ppx_compare/DESCR:1.1
--- /dev/null   Wed Oct 11 13:51:56 2017
+++ pkgsrc/devel/ocaml-ppx_compare/DESCR        Wed Oct 11 13:51:55 2017
@@ -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.
Index: pkgsrc/devel/ocaml-ppx_compare/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-ppx_compare/Makefile:1.1
--- /dev/null   Wed Oct 11 13:51:56 2017
+++ pkgsrc/devel/ocaml-ppx_compare/Makefile     Wed Oct 11 13:51:55 2017
@@ -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"
Index: pkgsrc/devel/ocaml-ppx_compare/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-ppx_compare/PLIST:1.1
--- /dev/null   Wed Oct 11 13:51:56 2017
+++ pkgsrc/devel/ocaml-ppx_compare/PLIST        Wed Oct 11 13:51:55 2017
@@ -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
Index: pkgsrc/devel/ocaml-ppx_compare/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-ppx_compare/buildlink3.mk:1.1
--- /dev/null   Wed Oct 11 13:51:56 2017
+++ pkgsrc/devel/ocaml-ppx_compare/buildlink3.mk        Wed Oct 11 13:51:55 2017
@@ -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
Index: pkgsrc/devel/ocaml-ppx_compare/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-ppx_compare/distinfo:1.1
--- /dev/null   Wed Oct 11 13:51:56 2017
+++ pkgsrc/devel/ocaml-ppx_compare/distinfo     Wed Oct 11 13:51:55 2017
@@ -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