pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_ast Added package devel/ocaml-ppx_ast, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5962bd23b5e
branches:  trunk
changeset: 365597:c5962bd23b5e
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Fri Jul 21 10:32:25 2017 +0000

description:
Added package devel/ocaml-ppx_ast, an AST used in ppx_core/ppx_driver
rewriters. Prerequisite for an update of devel/ocaml-ppx_tools.

diffstat:

 devel/ocaml-ppx_ast/DESCR         |   8 ++++
 devel/ocaml-ppx_ast/Makefile      |  23 +++++++++++++
 devel/ocaml-ppx_ast/PLIST         |  65 +++++++++++++++++++++++++++++++++++++++
 devel/ocaml-ppx_ast/buildlink3.mk |  12 +++++++
 devel/ocaml-ppx_ast/distinfo      |   6 +++
 5 files changed, 114 insertions(+), 0 deletions(-)

diffs (134 lines):

diff -r 7ae255f1adfb -r c5962bd23b5e devel/ocaml-ppx_ast/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_ast/DESCR Fri Jul 21 10:32:25 2017 +0000
@@ -0,0 +1,8 @@
+Ppx_ast selects a specific version of the OCaml Abstract Syntax Tree from the
+migrate-parsetree project that is not necessarily the same one as the one
+being used by the compiler.
+
+It also snapshots the corresponding parser and pretty-printer from the OCaml
+compiler, to create a full frontend independent of the version of OCaml.
+
+This AST is used in all Ppx_core/Ppx_driver based ppx rewriters.
diff -r 7ae255f1adfb -r c5962bd23b5e devel/ocaml-ppx_ast/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_ast/Makefile      Fri Jul 21 10:32:25 2017 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2017/07/21 10:32:25 jaapb Exp $
+
+VERSION=       0.9.1
+GITHUB_PROJECT=        ppx_ast
+GITHUB_TAG=    v${VERSION}
+DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/ppx_ast/
+COMMENT=       AST used in ppx_core/ppx_driver PPX rewriters
+LICENSE=       apache-2.0
+
+USE_LANGUAGES= # none
+OCAML_USE_FINDLIB=     yes
+OCAML_USE_JBUILDER=    yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-compiler-libs/buildlink3.mk"
+.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7ae255f1adfb -r c5962bd23b5e devel/ocaml-ppx_ast/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_ast/PLIST Fri Jul 21 10:32:25 2017 +0000
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/21 10:32:25 jaapb Exp $
+${OCAML_SITELIB}/ppx_ast/META
+${OCAML_SITELIB}/ppx_ast/ast.ml
+${OCAML_SITELIB}/ppx_ast/ast_helper.mli
+${OCAML_SITELIB}/ppx_ast/docstrings.mli
+${OCAML_SITELIB}/ppx_ast/import.ml
+${OCAML_SITELIB}/ppx_ast/lexer.ml
+${OCAML_SITELIB}/ppx_ast/opam
+${OCAML_SITELIB}/ppx_ast/parse.mli
+${OCAML_SITELIB}/ppx_ast/parser.mli
+${OCAML_SITELIB}/ppx_ast/pprintast.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast.a
+${OCAML_SITELIB}/ppx_ast/ppx_ast.cma
+${OCAML_SITELIB}/ppx_ast/ppx_ast.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast.cmxs
+${OCAML_SITELIB}/ppx_ast/ppx_ast.ml
+${OCAML_SITELIB}/ppx_ast/ppx_ast__.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__.ml-gen
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast_helper.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast_helper.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast_helper.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Ast_helper.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Docstrings.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Docstrings.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Docstrings.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Docstrings.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Import.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Import.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Import.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Lexer.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Lexer.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Lexer.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Parse.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Parse.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Parse.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Parse.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Parser.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Parser.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Parser.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Parser.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Pprintast.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Pprintast.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Pprintast.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Pprintast.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Syntaxerr.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Syntaxerr.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Syntaxerr.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Syntaxerr.cmx
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Warn.cmi
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Warn.cmt
+${OCAML_SITELIB}/ppx_ast/ppx_ast__Warn.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_ast/ppx_ast__Warn.cmx
+${OCAML_SITELIB}/ppx_ast/syntaxerr.mli
+${OCAML_SITELIB}/ppx_ast/warn.mli
+share/doc/ppx_ast/CHANGES.md
+share/doc/ppx_ast/LICENSE.txt
+share/doc/ppx_ast/README.org
diff -r 7ae255f1adfb -r c5962bd23b5e devel/ocaml-ppx_ast/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_ast/buildlink3.mk Fri Jul 21 10:32:25 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/07/21 10:32:25 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_ast
+
+.if !defined(OCAML_PPX_AST_BUILDLINK3_MK)
+OCAML_PPX_AST_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_ast+=  ocaml-ppx_ast>=0.9.1
+BUILDLINK_PKGSRCDIR.ocaml-ppx_ast?=    ../../devel/ocaml-ppx_ast
+.endif # OCAML_PPX_AST_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_ast
diff -r 7ae255f1adfb -r c5962bd23b5e devel/ocaml-ppx_ast/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_ast/distinfo      Fri Jul 21 10:32:25 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/21 10:32:25 jaapb Exp $
+
+SHA1 (ppx_ast-0.9.1.tar.gz) = 4e4ee22f40e8dca59cad5eadff8a3c6081fc8f1e
+RMD160 (ppx_ast-0.9.1.tar.gz) = 9b970bedef3c5cc81bd1348c1f6e6a7da1e36b59
+SHA512 (ppx_ast-0.9.1.tar.gz) = 4a5a9fb47282877763ecf9638e67bcd1b57110c1acfcf446703ed335b9fa5aaa1521c55a75fce6025f91e715f9c4522b695444dde4d3ffa7feed79560e399ad7
+Size (ppx_ast-0.9.1.tar.gz) = 86802 bytes



Home | Main Index | Thread Index | Old Index