pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-batteries Updated package to latest versio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f4c685aac834
branches: trunk
changeset: 367529:f4c685aac834
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Sun Sep 03 11:59:15 2017 +0000
description:
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)
diffstat:
devel/ocaml-batteries/Makefile | 4 ++--
devel/ocaml-batteries/buildlink3.mk | 4 ++--
devel/ocaml-batteries/distinfo | 10 +++++-----
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (46 lines):
diff -r 50dbd3e25c87 -r f4c685aac834 devel/ocaml-batteries/Makefile
--- a/devel/ocaml-batteries/Makefile Sun Sep 03 11:57:43 2017 +0000
+++ b/devel/ocaml-batteries/Makefile Sun Sep 03 11:59:15 2017 +0000
@@ -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}
diff -r 50dbd3e25c87 -r f4c685aac834 devel/ocaml-batteries/buildlink3.mk
--- a/devel/ocaml-batteries/buildlink3.mk Sun Sep 03 11:57:43 2017 +0000
+++ b/devel/ocaml-batteries/buildlink3.mk Sun Sep 03 11:59:15 2017 +0000
@@ -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 @@
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
diff -r 50dbd3e25c87 -r f4c685aac834 devel/ocaml-batteries/distinfo
--- a/devel/ocaml-batteries/distinfo Sun Sep 03 11:57:43 2017 +0000
+++ b/devel/ocaml-batteries/distinfo Sun Sep 03 11:59:15 2017 +0000
@@ -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