pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_base New package devel/ocaml-ppx_base.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b80e4442e2a8
branches:  trunk
changeset: 370287:b80e4442e2a8
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Sat Oct 14 10:17:52 2017 +0000

description:
New package devel/ocaml-ppx_base.

This is a set of rewriters for base. It's needed as a dependency of the
upgraded ocaml-sqlite3.

diffstat:

 devel/ocaml-ppx_base/DESCR                       |   1 +
 devel/ocaml-ppx_base/Makefile                    |  27 ++++++++++++++++++++++++
 devel/ocaml-ppx_base/PLIST                       |  14 ++++++++++++
 devel/ocaml-ppx_base/buildlink3.mk               |  12 ++++++++++
 devel/ocaml-ppx_base/distinfo                    |   8 +++++++
 devel/ocaml-ppx_base/patches/patch-ppx_base.opam |  13 +++++++++++
 devel/ocaml-ppx_base/patches/patch-src_jbuild    |  15 +++++++++++++
 7 files changed, 90 insertions(+), 0 deletions(-)

diffs (118 lines):

diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/DESCR        Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,1 @@
+ppx_base is the set of ppx rewriters used for Base.
diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/Makefile     Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2017/10/14 10:17:52 jaapb Exp $
+
+GITHUB_PROJECT=        ppx_base
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      ${GITHUB_PROJECT}-0.9.0
+PKGNAME=       ocaml-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER=    jaapb%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/janestreet/ppx_base/
+COMMENT=       Base set of PPX rewriters
+LICENSE=       apache-2.0
+
+USE_LANGUAGES= # none
+
+OCAML_USE_JBUILDER=    yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-ppx_compare/buildlink3.mk"
+.include "../../devel/ocaml-ppx_driver/buildlink3.mk"
+.include "../../devel/ocaml-ppx_enumerate/buildlink3.mk"
+.include "../../devel/ocaml-ppx_hash/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
+.include "../../devel/ocaml-ppx_type_conv/buildlink3.mk"
+.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/PLIST        Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/14 10:17:52 jaapb Exp $
+bin/ppx-base
+${OCAML_SITELIB}/ppx_base/META
+${OCAML_SITELIB}/ppx_base/opam
+${OCAML_SITELIB}/ppx_base/ppx.exe
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_base/ppx_base.a
+${OCAML_SITELIB}/ppx_base/ppx_base.cma
+${OCAML_SITELIB}/ppx_base/ppx_base.cmi
+${OCAML_SITELIB}/ppx_base/ppx_base.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_base/ppx_base.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_base/ppx_base.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_base/ppx_base.cmxs
+${OCAML_SITELIB}/ppx_base/ppx_base.ml-gen
+share/doc/ppx_base/LICENSE.txt
diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/buildlink3.mk        Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/10/14 10:17:52 jaapb Exp $
+
+BUILDLINK_TREE+=       ocaml-ppx_base
+
+.if !defined(OCAML_PPX_BASE_BUILDLINK3_MK)
+OCAML_PPX_BASE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_base+= ocaml-ppx_base>=0.9.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_base?=   ../../devel/ocaml-ppx_base
+.endif # OCAML_PPX_BASE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -ocaml-ppx_base
diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/distinfo     Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2017/10/14 10:17:52 jaapb Exp $
+
+SHA1 (ppx_base-0.9.0.tar.gz) = 4e5adcad965de98ef20986974f7022364725612d
+RMD160 (ppx_base-0.9.0.tar.gz) = 6729a0dc4779a538aa47cae0355b8eb316ff07f8
+SHA512 (ppx_base-0.9.0.tar.gz) = 660f6b210eb6d7bd33c279ffa8bbf01c21b9db5d7827cf6fded8c52e8d4f2f5468a76c2eab86c2b868ac859bbc81db7189c71ccc1701bf57030f82d8eda4339e
+Size (ppx_base-0.9.0.tar.gz) = 5255 bytes
+SHA1 (patch-ppx_base.opam) = b86612c45f5483aa9faaabaa9c57fe7a5284e31e
+SHA1 (patch-src_jbuild) = 457645ca0cc517e51daca5922638ce9d9ad2ac1f
diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/patches/patch-ppx_base.opam
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/patches/patch-ppx_base.opam  Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ppx_base.opam,v 1.1 2017/10/14 10:17:52 jaapb Exp $
+
+Remove superfluous dependency
+--- ppx_base.opam.orig 2017-03-16 16:39:36.000000000 +0000
++++ ppx_base.opam
+@@ -15,7 +15,6 @@ depends: [
+   "ppx_driver"              {>= "v0.9" & < "v0.10"}
+   "ppx_enumerate"           {>= "v0.9" & < "v0.10"}
+   "ppx_hash"                {>= "v0.9" & < "v0.10"}
+-  "ppx_js_style"            {>= "v0.9" & < "v0.10"}
+   "ppx_sexp_conv"           {>= "v0.9" & < "v0.10"}
+   "ppx_type_conv"           {>= "v0.9" & < "v0.10"}
+   "ocaml-migrate-parsetree" {>= "0.4"}
diff -r 45c11c5d69b6 -r b80e4442e2a8 devel/ocaml-ppx_base/patches/patch-src_jbuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_base/patches/patch-src_jbuild     Sat Oct 14 10:17:52 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_jbuild,v 1.1 2017/10/14 10:17:52 jaapb Exp $
+
+Remove superfluous dependency
+--- src/jbuild.orig    2017-03-16 16:39:36.000000000 +0000
++++ src/jbuild
+@@ -7,8 +7,7 @@
+     ppx_sexp_conv
+     ppx_compare
+     ppx_enumerate
+-    ppx_hash
+-    ppx_js_style))
++    ppx_hash))
+   (preprocess no_preprocessing)))
+ 
+ (jbuild_version 1)



Home | Main Index | Thread Index | Old Index