pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ocaml-batteries



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Sun Sep  3 11:59:15 UTC 2017

Modified Files:
        pkgsrc/devel/ocaml-batteries: Makefile buildlink3.mk distinfo

Log Message:
Updated package to latest version, 2.7.0. Changes include:

s minor release is the first to support OCaml 4.05.0. As with
previous OCaml versions, we backported new 4.05.0 convenience function
from the compiler stdlib, allowing Batteries user to use them with
older OCaml versions, and thus write backward-compatible code. In
particular, the new *_opt functions returning option values instead of
exceptions are all backported.

- BatNum: fix of_float_string to handle negative numbers properly
  #780
  (Anton Yabchinskiy)

- added BatArray.min_max
  #757
  (Francois Berenger)

- added a Label module to BatVect
  #763
  (Varun Gandhi, review by Francois Berenger, Gabriel Scherer, Thibault Suzanne)

- fix documentation of BatVect.insert to match (correct) implementation
  #766, #767
  (Gabriel Scherer, report by Varun Gandhi)

- avoid using exceptions for internal control-flow
  #768, #769
    This purely internal change should improve performances when using
    js_of_ocaml, which generates much slower code for local exceptions
    raising/catching than the native OCaml backend.
    Internal exceptions (trough the BatReturn label) have been removed
    from the modules BatString, BatSubstring and BatVect.
  (Gabriel Scherer, request and review by Clément Pit-Claudel)

- added `BatVect.find_opt : ('a -> bool) -> 'a t -> 'a option`
  and BatVect.Make.find_opt
  #769
  (Gabriel Scherer)

- Documents exceptions for List.(min, max)
  #770
  (Varun Gandhi)

- BatText: bugfixes in `rindex{,_from}` and `rcontains_from`
  #775
  (Gabriel Scherer)

- Support for the new OCaml release 4.05
  the `*_opt` functions and List.compare_lengths, compare_length_with
  are also backported to older OCaml releases, so code using them from
  Batteries should be backwards-compatible
  #777, #779
  (Tej Chajed, Gabriel Scherer)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/ocaml-batteries/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ocaml-batteries/buildlink3.mk
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/ocaml-batteries/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ocaml-batteries/Makefile
diff -u pkgsrc/devel/ocaml-batteries/Makefile:1.12 pkgsrc/devel/ocaml-batteries/Makefile:1.13
--- pkgsrc/devel/ocaml-batteries/Makefile:1.12  Tue Jul 11 11:34:25 2017
+++ pkgsrc/devel/ocaml-batteries/Makefile       Sun Sep  3 11:59:15 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2017/07/11 11:34:25 jaapb Exp $
+# $NetBSD: Makefile,v 1.13 2017/09/03 11:59:15 jaapb Exp $
 
-VERSION=       2.6.0
+VERSION=       2.7.0
 GITHUB_PROJECT=        batteries-included
 GITHUB_TAG=    v${VERSION}
 DISTNAME=      batteries-${VERSION}

Index: pkgsrc/devel/ocaml-batteries/buildlink3.mk
diff -u pkgsrc/devel/ocaml-batteries/buildlink3.mk:1.2 pkgsrc/devel/ocaml-batteries/buildlink3.mk:1.3
--- pkgsrc/devel/ocaml-batteries/buildlink3.mk:1.2      Tue Jul 11 11:34:25 2017
+++ pkgsrc/devel/ocaml-batteries/buildlink3.mk  Sun Sep  3 11:59:15 2017
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2017/07/11 11:34:25 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2017/09/03 11:59:15 jaapb Exp $
 
 BUILDLINK_TREE+=       ocaml-batteries
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        ocaml-batteries
 OCAML_BATTERIES_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml-batteries+=        ocaml-batteries>=2.0
-BUILDLINK_ABI_DEPENDS.ocaml-batteries+=        ocaml-batteries>=2.6.0
+BUILDLINK_ABI_DEPENDS.ocaml-batteries+=        ocaml-batteries>=2.7.0
 BUILDLINK_PKGSRCDIR.ocaml-batteries?=  ../../devel/ocaml-batteries
 
 .endif # OCAML_BATTERIES_BUILDLINK3_MK

Index: pkgsrc/devel/ocaml-batteries/distinfo
diff -u pkgsrc/devel/ocaml-batteries/distinfo:1.8 pkgsrc/devel/ocaml-batteries/distinfo:1.9
--- pkgsrc/devel/ocaml-batteries/distinfo:1.8   Tue Jul 11 11:34:25 2017
+++ pkgsrc/devel/ocaml-batteries/distinfo       Sun Sep  3 11:59:15 2017
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2017/07/11 11:34:25 jaapb Exp $
+$NetBSD: distinfo,v 1.9 2017/09/03 11:59:15 jaapb Exp $
 
-SHA1 (batteries-2.6.0.tar.gz) = 85c35308f4b887189cd4eb78e223c569de7d12fa
-RMD160 (batteries-2.6.0.tar.gz) = 43d183817e508108d1eba44f185259091c7eaff7
-SHA512 (batteries-2.6.0.tar.gz) = 8267272d4ecfdd52a042d84c023072a87eab6fc238dc00d741bc77c97e413b8ea3a3935d33afaaf9e084d3e0c4a6fb9ab51eab1ade548dbc9f6ed5e94df54d27
-Size (batteries-2.6.0.tar.gz) = 761787 bytes
+SHA1 (batteries-2.7.0.tar.gz) = 63a741d51e768dc24bf6dc17a050df7c49dc5176
+RMD160 (batteries-2.7.0.tar.gz) = a555e52aedf4451d452daf6afa39de2c75ab6365
+SHA512 (batteries-2.7.0.tar.gz) = ecb973c9cc535fce18db8efb1bfb9dfde73d7a7fc82cb6b0657547b6f7d173e9004015f698065ed5efeb9f89f1fcc1b548745b708139ce0d01eb6f63981421c9
+Size (batteries-2.7.0.tar.gz) = 768498 bytes
 SHA1 (patch-Makefile) = 461b36e023fd5d63202edc9a35c242c181e38def



Home | Main Index | Thread Index | Old Index