pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-ppx_base



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Sat Oct 14 10:17:52 UTC 2017

Added Files:
        pkgsrc/devel/ocaml-ppx_base: DESCR Makefile PLIST buildlink3.mk
            distinfo
        pkgsrc/devel/ocaml-ppx_base/patches: patch-ppx_base.opam
            patch-src_jbuild

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


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

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_base/DESCR
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/DESCR:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/DESCR   Sat Oct 14 10:17:52 2017
@@ -0,0 +1 @@
+ppx_base is the set of ppx rewriters used for Base.
Index: pkgsrc/devel/ocaml-ppx_base/Makefile
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/Makefile:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/Makefile        Sat Oct 14 10:17:52 2017
@@ -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"
Index: pkgsrc/devel/ocaml-ppx_base/PLIST
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/PLIST:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/PLIST   Sat Oct 14 10:17:52 2017
@@ -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
Index: pkgsrc/devel/ocaml-ppx_base/buildlink3.mk
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/buildlink3.mk:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/buildlink3.mk   Sat Oct 14 10:17:52 2017
@@ -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
Index: pkgsrc/devel/ocaml-ppx_base/distinfo
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/distinfo:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/distinfo        Sat Oct 14 10:17:52 2017
@@ -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

Index: pkgsrc/devel/ocaml-ppx_base/patches/patch-ppx_base.opam
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/patches/patch-ppx_base.opam:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/patches/patch-ppx_base.opam     Sat Oct 14 10:17:52 2017
@@ -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"}
Index: pkgsrc/devel/ocaml-ppx_base/patches/patch-src_jbuild
diff -u /dev/null pkgsrc/devel/ocaml-ppx_base/patches/patch-src_jbuild:1.1
--- /dev/null   Sat Oct 14 10:17:52 2017
+++ pkgsrc/devel/ocaml-ppx_base/patches/patch-src_jbuild        Sat Oct 14 10:17:52 2017
@@ -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