This update of yojson is one step on the way to updating devel/dune to the
2.x series.
ocaml-yojson is the only consumer of ocaml-biniou and ocaml-easy-format
which don't work with dune 2.x and are blockers for updating devel/dune.
Now there hasn't been a release of yojson in a few years, but work has
been done on the main git branch to remove dependencies on these 2 ports.
The only consumer of yojson itself is frama-c which still builds following
this update.
After this update goes in we can then remove the ocaml-biniou and
ocaml-easy-format ports.
p.s. updating dune to the 2.x series is needed for my main goal which is
updating ocaml-menhir to a newer version.
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ocaml-yojson/Makefile,v
retrieving revision 1.6
diff -u -p -u -r1.6 Makefile
--- Makefile 9 Jun 2020 17:34:14 -0000 1.6
+++ Makefile 30 Nov 2021 03:22:55 -0000
@@ -3,10 +3,11 @@
COMMENT = optimized parsing and printing library for the JSON format
CATEGORIES = devel
+V = 1.7.0.20211122
GH_ACCOUNT = ocaml-community
GH_PROJECT = yojson
-GH_TAGNAME = 1.7.0
-REVISION = 3
+GH_COMMIT = 187132277170a30c5c3b0672c548c82fc372e43a
+DISTNAME = ${GH_PROJECT}-${V}
PKGNAME = ocaml-${DISTNAME}
# 3-clause BSD
@@ -15,9 +16,6 @@ PERMIT_PACKAGE = Yes
WANTLIB = c m
MODULES = lang/ocaml
-
-RUN_DEPENDS = devel/ocaml-easy-format \
- devel/ocaml-biniou
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/dune \
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/ocaml-yojson/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo 4 Aug 2019 19:07:43 -0000 1.1.1.1
+++ distinfo 30 Nov 2021 03:22:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (yojson-1.7.0.tar.gz) = /I04j79wfiWVmTJLb+2/R/dvraG3VfHsKFoIsrWmi9M=
-SIZE (yojson-1.7.0.tar.gz) = 29704
+SHA256 (yojson-1.7.0.20211122-18713227.tar.gz) =
4doMVugVXi7432oPxVY3I+7yb1XPEJ/utoQICtFvhRk=
+SIZE (yojson-1.7.0.20211122-18713227.tar.gz) = 42998
Index: pkg/PFRAG.native
===================================================================
RCS file: /cvs/ports/devel/ocaml-yojson/pkg/PFRAG.native,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PFRAG.native
--- pkg/PFRAG.native 4 Aug 2019 19:07:43 -0000 1.1.1.1
+++ pkg/PFRAG.native 30 Nov 2021 03:22:55 -0000
@@ -3,4 +3,3 @@
lib/ocaml/yojson/yojson.a
lib/ocaml/yojson/yojson.cmx
lib/ocaml/yojson/yojson.cmxa
-lib/ocaml/yojson/yojson_biniou.cmx
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/ocaml-yojson/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST 4 Aug 2019 19:07:43 -0000 1.1.1.1
+++ pkg/PLIST 30 Nov 2021 03:22:55 -0000
@@ -11,11 +11,6 @@ lib/ocaml/yojson/yojson.cmt
lib/ocaml/yojson/yojson.cmti
lib/ocaml/yojson/yojson.ml
lib/ocaml/yojson/yojson.mli
-lib/ocaml/yojson/yojson_biniou.cmi
-lib/ocaml/yojson/yojson_biniou.cmt
-lib/ocaml/yojson/yojson_biniou.cmti
-lib/ocaml/yojson/yojson_biniou.ml
-lib/ocaml/yojson/yojson_biniou.mli
share/doc/ocaml-yojson/
share/doc/ocaml-yojson/yojson/
share/doc/ocaml-yojson/yojson/CHANGES.md