dev-ml/batteries: Remove old
authorAlexis Ballier <aballier@gentoo.org>
Thu, 17 Aug 2017 10:14:53 +0000 (12:14 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 17 Aug 2017 11:46:21 +0000 (13:46 +0200)
Package-Manager: Portage-2.3.7, Repoman-2.3.3

dev-ml/batteries/Manifest
dev-ml/batteries/batteries-2.5.3.ebuild [deleted file]
dev-ml/batteries/batteries-2.6.0.ebuild [deleted file]
dev-ml/batteries/files/ocaml405.patch [deleted file]

index e9def31ac059a92d6b58135631199a7153ca5682..3b7442483a9a6fe9b32f7f2e35bcaebb690545fe 100644 (file)
@@ -1,3 +1 @@
-DIST batteries-2.5.3.tar.gz 756020 SHA256 d437cfc8e65027425c081c8f72c2e4499f539ea5ea574bcabd372bdca45370b9 SHA512 d1b776c82a8a79c2908da5f5c7b7ee335ea8520e05b725910c03f4eb3c6e653619e1ff9fab8811d94a613620a84ec016651d13773e1ceea8830bb8c1ce7b46ba WHIRLPOOL 455a76a73037c5e0a2859699c080f6239158261f854c2bdca23f5fe7f7dcc33a8d6157c954ae207cd8a302643d632946953d2941009093720055ecff50762a23
-DIST batteries-2.6.0.tar.gz 761787 SHA256 9d2f8d7a2526fa9fdb7208845165a67cce677909d49f650c633d06ceebb797d1 SHA512 8267272d4ecfdd52a042d84c023072a87eab6fc238dc00d741bc77c97e413b8ea3a3935d33afaaf9e084d3e0c4a6fb9ab51eab1ade548dbc9f6ed5e94df54d27 WHIRLPOOL 3b84638c8a378e273932e94a3ce573bf51837665878a86dbda094332011c6fb25aa3752d25dc5b41d62324d6db9fd4541ae7933605b9ef8d7ed1e524fd671252
 DIST batteries-2.7.0.tar.gz 768498 SHA256 2ca12ffb9ef5f46530a2efd10d374949f13498f7070d6b6061a9e35ff89f9225 SHA512 ecb973c9cc535fce18db8efb1bfb9dfde73d7a7fc82cb6b0657547b6f7d173e9004015f698065ed5efeb9f89f1fcc1b548745b708139ce0d01eb6f63981421c9 WHIRLPOOL 89e58671cc6f9fc607c9c2cce50febf9fa9fe68906eccae1e9572e70a9ffd8eb21f7473173ed1139e57c34cd231964037ddf6e8d805e4de541140f548c18e281
diff --git a/dev-ml/batteries/batteries-2.5.3.ebuild b/dev-ml/batteries/batteries-2.5.3.ebuild
deleted file mode 100644 (file)
index 3190fe9..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit oasis eutils
-
-DESCRIPTION="The community-maintained foundation library for your OCaml projects"
-HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/"
-SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="test"
-
-RDEPEND="dev-ml/camomile:="
-DEPEND="${RDEPEND}
-       test? ( dev-ml/ounit dev-ml/iTeML )"
-
-DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
-
-S="${WORKDIR}/${PN}-included-${PV}"
-
-src_prepare() {
-       has_version '>=dev-lang/ocaml-4.05_beta' && epatch "${FILESDIR}/ocaml405.patch"
-}
diff --git a/dev-ml/batteries/batteries-2.6.0.ebuild b/dev-ml/batteries/batteries-2.6.0.ebuild
deleted file mode 100644 (file)
index 3190fe9..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit oasis eutils
-
-DESCRIPTION="The community-maintained foundation library for your OCaml projects"
-HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/"
-SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0/${PV}"
-KEYWORDS="~amd64"
-IUSE="test"
-
-RDEPEND="dev-ml/camomile:="
-DEPEND="${RDEPEND}
-       test? ( dev-ml/ounit dev-ml/iTeML )"
-
-DOCS=( "ChangeLog" "FAQ" "README.folders" "README.md" )
-
-S="${WORKDIR}/${PN}-included-${PV}"
-
-src_prepare() {
-       has_version '>=dev-lang/ocaml-4.05_beta' && epatch "${FILESDIR}/ocaml405.patch"
-}
diff --git a/dev-ml/batteries/files/ocaml405.patch b/dev-ml/batteries/files/ocaml405.patch
deleted file mode 100644 (file)
index e5016ee..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-Index: batteries-included-2.5.3/src/batGc.mliv
-===================================================================
---- batteries-included-2.5.3.orig/src/batGc.mliv
-+++ batteries-included-2.5.3/src/batGc.mliv
-@@ -182,7 +182,7 @@ external counters : unit -> float * floa
-     is as fast at [quick_stat]. *)
- 
- ##V>=4.4##external minor_words : unit -> (float [@unboxed])
--##V>=4.4##  = "caml_gc_minor_words" "caml_gc_minor_words_unboxed" [@@noalloc]
-+##V>=4.4##  = "caml_gc_minor_words" "caml_gc_minor_words_unboxed"
- ##V>=4.4##(** Number of words allocated in the minor heap since the program was
- ##V>=4.4##    started. This number is accurate in byte-code programs, but only an
- ##V>=4.4##    approximation in programs compiled to native code.
-@@ -227,7 +227,7 @@ val allocated_bytes : unit -> float
-     started.  It is returned as a [float] to avoid overflow problems
-     with [int] on 32-bit machines. *)
- 
--##V>=4.3##external get_minor_free : unit -> int = "caml_get_minor_free" [@@noalloc]
-+##V>=4.3##external get_minor_free : unit -> int = "caml_get_minor_free"
- (** Return the current size of the free space inside the minor heap.
-     @since 2.5.0 and OCaml 4.03.0 *)
- 
-Index: batteries-included-2.5.3/src/batInnerWeaktbl.ml
-===================================================================
---- batteries-included-2.5.3.orig/src/batInnerWeaktbl.ml
-+++ batteries-included-2.5.3/src/batInnerWeaktbl.ml
-@@ -107,6 +107,7 @@ module Make (H: Hashtbl.HashedType) : Ha
-     try ignore (Stack.pop (W.find tbl (dummy key))) with Not_found -> ()
-   let replace tbl key data = remove tbl key; add tbl key data
-   let mem tbl key = try ignore (find tbl key); true with Not_found -> false
-+  let find_opt tbl key = if mem tbl key then Some(find tbl key) else None
-   let iter f tbl =
-     let f' (bk,v) = match unbox bk with Some k -> f k (obj v) | None -> () in
-     W.iter (Stack.iter f') tbl
-Index: batteries-included-2.5.3/src/batUnix.mliv
-===================================================================
---- batteries-included-2.5.3.orig/src/batUnix.mliv
-+++ batteries-included-2.5.3/src/batUnix.mliv
-@@ -272,6 +272,8 @@ type open_flag = Unix.open_flag =
- ##V>=4.1##                                    descriptor returned by {!openfile}
- ##V>=4.1##
- ##V>=4.1##                                    Since OCaml 4.1 *)
-+##V>=4.5##  | O_KEEPEXEC                  (** Clear the close-on-exec flag.
-+##V>=4.5##                          This is currently the default. *)
- (** The flags to {!Unix.openfile}. *)
- 
- 
-@@ -546,11 +548,11 @@ val access : string -> access_permission
- (** {6 Operations on file descriptors} *)
- 
- 
--val dup : file_descr -> file_descr
-+val dup : ?cloexec:bool -> file_descr -> file_descr
- (** Return a new file descriptor referencing the same file as
-     the given descriptor. *)
- 
--val dup2 : file_descr -> file_descr -> unit
-+val dup2 : ?cloexec:bool -> file_descr -> file_descr -> unit
- (** [dup2 fd1 fd2] duplicates [fd1] to [fd2], closing [fd2] if already
-     opened. *)
- 
-@@ -615,7 +617,7 @@ val closedir : dir_handle -> unit
- 
- (** {6 Pipes and redirections} *)
- 
--val pipe : unit -> file_descr * file_descr
-+val pipe : ?cloexec:bool -> unit -> file_descr * file_descr
- (** Create a pipe. The first component of the result is opened
-     for reading, that's the exit to the pipe. The second component is
-     opened for writing, that's the entrance to the pipe. *)
-@@ -1151,7 +1153,7 @@ type sockaddr = Unix.sockaddr =
-       domain; [addr] is the Internet address of the machine, and
-       [port] is the port number. *)
- 
--val socket : socket_domain -> socket_type -> int -> file_descr
-+val socket : ?cloexec:bool -> socket_domain -> socket_type -> int -> file_descr
- (** Create a new socket in the given domain, and with the
-     given kind. The third argument is the protocol type; 0 selects
-     the default protocol for that kind of sockets. *)
-@@ -1160,10 +1162,10 @@ val domain_of_sockaddr: sockaddr -> sock
- (** Return the socket domain adequate for the given socket address. *)
- 
- val socketpair :
--  socket_domain -> socket_type -> int -> file_descr * file_descr
-+  ?cloexec:bool -> socket_domain -> socket_type -> int -> file_descr * file_descr
- (** Create a pair of unnamed sockets, connected together. *)
- 
--val accept : file_descr -> file_descr * sockaddr
-+val accept : ?cloexec:bool -> file_descr -> file_descr * sockaddr
- (** Accept connections on the given socket. The returned descriptor
-     is a socket connected to the client; the returned address is
-     the address of the connecting client. *)