pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-deriving-ocsigen Updated package devel/oca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a308595283c2
branches:  trunk
changeset: 378469:a308595283c2
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Apr 09 07:48:54 2018 +0000

description:
Updated package devel/ocaml-deriving-ocsigen to version 0.8.1.

This adds support for OCaml 4.06 and drops the optcomp dependency.

diffstat:

 devel/ocaml-deriving-ocsigen/Makefile                             |   6 +-
 devel/ocaml-deriving-ocsigen/distinfo                             |  12 +--
 devel/ocaml-deriving-ocsigen/patches/patch-lib_deriving__Dump.ml  |  32 ----------
 devel/ocaml-deriving-ocsigen/patches/patch-syntax_common_utils.ml |  14 ----
 4 files changed, 7 insertions(+), 57 deletions(-)

diffs (97 lines):

diff -r 726ceb66cb66 -r a308595283c2 devel/ocaml-deriving-ocsigen/Makefile
--- a/devel/ocaml-deriving-ocsigen/Makefile     Mon Apr 09 07:37:33 2018 +0000
+++ b/devel/ocaml-deriving-ocsigen/Makefile     Mon Apr 09 07:48:54 2018 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.16 2018/01/10 14:57:34 jaapb Exp $
+# $NetBSD: Makefile,v 1.17 2018/04/09 07:48:54 jaapb Exp $
 #
 
-VERSION=       0.7.1
+VERSION=       0.8.1
 GITHUB_PROJECT=        deriving
 DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
 PKGNAME=       ocaml-${GITHUB_PROJECT}-ocsigen-${VERSION}
-PKGREVISION=   4
 COMMENT=       Extension to OCaml for deriving functions from type declarations
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ocsigen/}
@@ -18,7 +17,6 @@
 OCAML_USE_OASIS_DYNRUN=        yes
 OCAML_FINDLIB_DIRS=    deriving
 
-.include "../../devel/ocaml-optcomp/buildlink3.mk"
 .include "../../lang/camlp4/buildlink3.mk"
 .include "../../math/ocaml-num/buildlink3.mk"
 .include "../../mk/ocaml.mk"
diff -r 726ceb66cb66 -r a308595283c2 devel/ocaml-deriving-ocsigen/distinfo
--- a/devel/ocaml-deriving-ocsigen/distinfo     Mon Apr 09 07:37:33 2018 +0000
+++ b/devel/ocaml-deriving-ocsigen/distinfo     Mon Apr 09 07:48:54 2018 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.7 2018/01/10 14:57:34 jaapb Exp $
+$NetBSD: distinfo,v 1.8 2018/04/09 07:48:54 jaapb Exp $
 
-SHA1 (deriving-0.7.1.tar.gz) = b9c97910225081be8577eabdef798698db406e1d
-RMD160 (deriving-0.7.1.tar.gz) = 7a512dcf8ead03aeb9092b5e8ee4c9b90a13263f
-SHA512 (deriving-0.7.1.tar.gz) = d4c4b38321f2fc5ed1a9ea7910ec4fae15b08485ae9067048a609d5b9d76188da02995cd18a034c561494cdd3aa8dbb57a1a1c69918b1f79d70f89c96a26d342
-Size (deriving-0.7.1.tar.gz) = 68550 bytes
-SHA1 (patch-lib_deriving__Dump.ml) = bc905b5d1c697dcce0e84f359bdb047eb055a3a4
+SHA1 (deriving-0.8.1.tar.gz) = 1f5265bdf178254d6d89162a476716a06e0c3c7b
+RMD160 (deriving-0.8.1.tar.gz) = 893024122d05978a7dd8786ead7af2be7fb279bb
+SHA512 (deriving-0.8.1.tar.gz) = c12eba7044cd28166b02c23f51a3244878a056285ebe7ae00fe4d432675d82fb7a9b630f5f1e5bc96408f928e6ba6ce8de38ca15e9651d89eb80616a3afb1f66
+Size (deriving-0.8.1.tar.gz) = 68596 bytes
 SHA1 (patch-lib_deriving__interned.ml) = f261797e7987bbafdaddfed23002a0c54b3bf7ff
-SHA1 (patch-syntax_common_utils.ml) = ec24c7caa342ea93a7fa445e834848644e9537fb
diff -r 726ceb66cb66 -r a308595283c2 devel/ocaml-deriving-ocsigen/patches/patch-lib_deriving__Dump.ml
--- a/devel/ocaml-deriving-ocsigen/patches/patch-lib_deriving__Dump.ml  Mon Apr 09 07:37:33 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-lib_deriving__Dump.ml,v 1.1 2018/01/10 14:57:35 jaapb Exp $
-
-Patch to compile with safe-string.
---- lib/deriving_Dump.ml.orig  2016-05-25 16:51:52.000000000 +0000
-+++ lib/deriving_Dump.ml
-@@ -142,7 +142,7 @@ module Dump_string = Defaults (
-         for i = 0 to len - 1 do
-           Bytes.unsafe_set s i (Stream.next stream)
-         done;
--        s
-+        Bytes.to_string s
-   end
- )
- 
-@@ -226,8 +226,8 @@ module Dump_alpha(P: sig type a end) = D
-   let from_stream _ = assert false
- end)
- 
--module Dump_undumpable (P : sig type a val tname : string end) = Defaults ( 
--  struct 
-+module Dump_undumpable (P : sig type a val tname : string end) = Defaults (
-+  struct
-     type a = P.a
-     let to_buffer _ _ = failwith ("Dump: attempt to serialise a value of unserialisable type : " ^ P.tname)
-     let from_stream _ = failwith ("Dump: attempt to deserialise a value of unserialisable type : " ^ P.tname)
-@@ -252,5 +252,5 @@ module Dump_via_marshal (P : sig type a 
-       let header = readn Marshal.header_size in
-       let datasize = Marshal.data_size header 0 in
-       let datapart = readn datasize in
--        Marshal.from_string (header ^ datapart) 0
-+        Marshal.from_bytes (Bytes.cat header datapart) 0
-   end)
diff -r 726ceb66cb66 -r a308595283c2 devel/ocaml-deriving-ocsigen/patches/patch-syntax_common_utils.ml
--- a/devel/ocaml-deriving-ocsigen/patches/patch-syntax_common_utils.ml Mon Apr 09 07:37:33 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-syntax_common_utils.ml,v 1.1 2018/01/10 14:57:35 jaapb Exp $
-
-Patch to compile with safe-string.
---- syntax/common/utils.ml.orig        2016-05-25 16:51:52.000000000 +0000
-+++ syntax/common/utils.ml
-@@ -216,7 +216,7 @@ let random_id length =
-     for i = 0 to length - 1 do
-       Bytes.set s i idchars.[Random.int nidchars]
-     done;
--    s
-+    Bytes.to_string s
- 
- (* The function used in OCaml to convert variant labels to their
-    integer representations.  The formula is given in Jacques



Home | Main Index | Thread Index | Old Index