pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-ppx_driver Updated package to unreleased v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78723dffe86d
branches:  trunk
changeset: 351269:78723dffe86d
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Thu Aug 18 11:11:51 2016 +0000

description:
Updated package to unreleased version 113.45.68, based on a GitHub tag.
This was necessary beacuse the latest released version does not compile
with pkgsrc (and an update is needed to make devel/ocaml-ppx_type_conv
compile)to make devel/ocaml-ppx_type_conv
compile).

Changes include:
* Update for the new context free API

diffstat:

 devel/ocaml-ppx_driver/Makefile               |  18 ++++++++------
 devel/ocaml-ppx_driver/PLIST                  |   6 ++++-
 devel/ocaml-ppx_driver/distinfo               |  12 ++++----
 devel/ocaml-ppx_driver/patches/patch-Makefile |  23 ------------------
 devel/ocaml-ppx_driver/patches/patch-_oasis   |  33 +++++++++++++++++++++++++++
 5 files changed, 54 insertions(+), 38 deletions(-)

diffs (158 lines):

diff -r 8dac7e728a69 -r 78723dffe86d devel/ocaml-ppx_driver/Makefile
--- a/devel/ocaml-ppx_driver/Makefile   Thu Aug 18 11:07:40 2016 +0000
+++ b/devel/ocaml-ppx_driver/Makefile   Thu Aug 18 11:11:51 2016 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2016/06/20 18:52:40 jaapb Exp $
+# $NetBSD: Makefile,v 1.5 2016/08/18 11:11:51 jaapb Exp $
 
-VERSION=       113.33.01
+VERSION=       113.45.68
 GITHUB_PROJECT=        ppx_driver
-GITHUB_TAG=    ${VERSION}+4.03
+GITHUB_TAG=    f77579e
 DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
 PKGNAME=       ocaml-${DISTNAME}
+#PKGREVISION=  1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=janestreet/}
 
@@ -13,14 +14,15 @@
 COMMENT=       Feature-full driver for OCaml AST transformers
 LICENSE=       apache-2.0
 
-WRKSRC=                ${WRKDIR}/${DISTNAME}-4.03
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-f77579efe402258608bd8dd7174e71b7333db775
 HAS_CONFIGURE= yes
 USE_LANGUAGES= # none
-OCAML_USE_FINDLIB=     yes
+OCAML_USE_OASIS_DYNRUN=        yes
 
-.include "../../devel/ocaml-oasis/buildlink3.mk"
+post-extract:
+       ${MV} ${WRKSRC}/META.ab ${WRKSRC}/src
+
+.include "../../mk/ocaml.mk"
 .include "../../devel/ocaml-ppx_optcomp/buildlink3.mk"
 .include "../../devel/ocamlbuild/buildlink3.mk"
-.include "../../misc/ocaml-opam/buildlink3.mk"
-.include "../../mk/ocaml.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8dac7e728a69 -r 78723dffe86d devel/ocaml-ppx_driver/PLIST
--- a/devel/ocaml-ppx_driver/PLIST      Thu Aug 18 11:07:40 2016 +0000
+++ b/devel/ocaml-ppx_driver/PLIST      Thu Aug 18 11:11:51 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2016/06/20 18:52:40 jaapb Exp $
+@comment $NetBSD: PLIST,v 1.3 2016/08/18 11:11:51 jaapb Exp $
 ${OCAML_SITELIB}/ppx_driver/META
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.a
 ${OCAML_SITELIB}/ppx_driver/ppx_driver.annot
@@ -9,6 +9,7 @@
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.cmx
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver.cmxs
+${OCAML_SITELIB}/ppx_driver/ppx_driver.mli
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.a
 ${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.annot
 ${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.cma
@@ -18,6 +19,7 @@
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.cmx
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.cmxs
+${OCAML_SITELIB}/ppx_driver/ppx_driver_ocamlbuild.mli
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.a
 ${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.annot
 ${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.cma
@@ -26,6 +28,7 @@
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.cmx
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.cmxs
+${OCAML_SITELIB}/ppx_driver/ppx_driver_runner.ml
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.a
 ${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.annot
 ${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.cma
@@ -34,3 +37,4 @@
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.cmx
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.cmxa
 ${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.cmxs
+${OCAML_SITELIB}/ppx_driver/ppx_driver_runner_as_ppx.ml
diff -r 8dac7e728a69 -r 78723dffe86d devel/ocaml-ppx_driver/distinfo
--- a/devel/ocaml-ppx_driver/distinfo   Thu Aug 18 11:07:40 2016 +0000
+++ b/devel/ocaml-ppx_driver/distinfo   Thu Aug 18 11:11:51 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2016/06/20 18:52:40 jaapb Exp $
+$NetBSD: distinfo,v 1.3 2016/08/18 11:11:51 jaapb Exp $
 
-SHA1 (ppx_driver-113.33.01.tar.gz) = 5542d2bae51847a751e1e874b89f512a65d708cc
-RMD160 (ppx_driver-113.33.01.tar.gz) = 846c7a04c6788667e8b76188af58e4ae8885e9bc
-SHA512 (ppx_driver-113.33.01.tar.gz) = 6c7bd5f5e03ac455dd505f7956e8102055c5647d00afeda388eb68b79690f1b776ecf9aaa1accde11855e85f8aac0cc7545c4340c7fe53d25d39f2e499e43203
-Size (ppx_driver-113.33.01.tar.gz) = 16096 bytes
-SHA1 (patch-Makefile) = 0ca746d76725a5250b4eff099a24b26d66fc3e8d
+SHA1 (ppx_driver-113.45.68-f77579e.tar.gz) = c4a2bd3bb29debd0954e65d39dbbf279ddf48083
+RMD160 (ppx_driver-113.45.68-f77579e.tar.gz) = d9ef5064a92c18dbd9d3d85ee05e54d4cb0326c3
+SHA512 (ppx_driver-113.45.68-f77579e.tar.gz) = a8195a5d411784dd8202ccd1c0dc54d445e098aed6ea74ca2d183b004e7bcdf2724df2be67e665ce6e215aae44602b35e0c5402ac3b067c906ad225f2997a9f8
+Size (ppx_driver-113.45.68-f77579e.tar.gz) = 18518 bytes
+SHA1 (patch-_oasis) = af75313cc01f696c0f87bf80f4e58ac91adbc2cf
diff -r 8dac7e728a69 -r 78723dffe86d devel/ocaml-ppx_driver/patches/patch-Makefile
--- a/devel/ocaml-ppx_driver/patches/patch-Makefile     Thu Aug 18 11:07:40 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-Makefile,v 1.1 2016/06/20 18:52:40 jaapb Exp $
-
-Install into the correct location
---- Makefile.orig      2016-04-18 10:12:27.000000000 +0000
-+++ Makefile
-@@ -2,7 +2,7 @@
- 
- SETUP := setup.exe
- NAME := ppx_driver
--PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
-+#PREFIX = $(shell grep ^prefix= setup.data | cut -d\" -f 2)
- 
- # Default rule
- default: build
-@@ -30,7 +30,7 @@ $(NAME).install: js-utils/gen_install.ml
-       ocaml -I js-utils js-utils/gen_install.ml
- 
- install: $(NAME).install
--      opam-installer -i --prefix $(PREFIX) $(NAME).install
-+      opam-installer -i --prefix ${DESTDIR}$(PREFIX) --libdir ${OCAML_SITELIBDIR} $(NAME).install
- 
- uninstall: $(NAME).install
-       opam-installer -u --prefix $(PREFIX) $(NAME).install
diff -r 8dac7e728a69 -r 78723dffe86d devel/ocaml-ppx_driver/patches/patch-_oasis
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-ppx_driver/patches/patch-_oasis       Thu Aug 18 11:11:51 2016 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-_oasis,v 1.1 2016/08/18 11:11:51 jaapb Exp $
+
+Properly detect and generate META files
+--- _oasis.orig        2016-06-03 08:10:50.000000000 +0000
++++ _oasis
+@@ -17,7 +17,7 @@ BuildTools:            ocamlbuild
+ BetaFeatures:          section_object
+ AlphaFeatures:         ocamlbuild_more_args
+ XOCamlbuildPluginTags: package(js-build-tools.ocamlbuild_goodies)
+-FilesAB:               META.ab
++FilesAB:               src/META.ab
+ Description:
+   Part of the Jane Street's PPX rewriters collection.
+ 
+@@ -34,15 +34,18 @@ Library ppx_driver_ocamlbuild
+   Pack:         false
+   Modules:      Ppx_driver_ocamlbuild
+   BuildDepends: ocamlbuild
++  FindlibContainers: ppx_driver
+ 
+ Library ppx_driver_runner
+   Path:         runner
+   Pack:         false
+   Modules:      Ppx_driver_runner
+   BuildDepends: ppx_driver
++  FindlibContainers: ppx_driver
+ 
+ Library ppx_driver_runner_as_ppx
+   Path:         runner_as_ppx
+   Pack:         false
+   Modules:      Ppx_driver_runner_as_ppx
+   BuildDepends: ppx_driver
++  FindlibContainers: ppx_driver



Home | Main Index | Thread Index | Old Index