summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-08-06 10:23:35 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-08-06 10:24:09 +0200
commitd6bda120bdd93d9ff136bd8fb3e90349124dc371 (patch)
tree9aafeb0d6682d984b8887784ab799b9a30fc7389 /dev-ml/batteries
parentwww-client/firefox-bin: drop 116.0 (diff)
downloadgentoo-d6bda120bdd93d9ff136bd8fb3e90349124dc371.tar.gz
gentoo-d6bda120bdd93d9ff136bd8fb3e90349124dc371.tar.bz2
gentoo-d6bda120bdd93d9ff136bd8fb3e90349124dc371.zip
dev-ml/batteries: add 3.6.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/batteries')
-rw-r--r--dev-ml/batteries/Manifest1
-rw-r--r--dev-ml/batteries/batteries-3.6.1.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/batteries/Manifest b/dev-ml/batteries/Manifest
index 580b32ebb4c3..c807f7055817 100644
--- a/dev-ml/batteries/Manifest
+++ b/dev-ml/batteries/Manifest
@@ -1,3 +1,4 @@
DIST batteries-3.4.0.tar.gz 827778 BLAKE2B 569ce623ceb4272de784400540969a08d569a9b42e281f8001f046733a0fab6f50f4c195b8a8eec7f2e63209a1b882d6703843f76ec9adbfeb42d11e09b31f81 SHA512 e7a6e258430ec5bb97a1e83c7eb666c970db8bce82de4bf809797cf5e330ea987fe685008c4adb0ac4787c4cc6a1be06f6eae5a7ca856a1a0f83aa35716c23bd
DIST batteries-3.5.1.tar.gz 835112 BLAKE2B 29602093e5d3789a2b80e1c36e2d5b29d9c286c1bcd272f84d71660eb2014b7dea82c25543c17656987f5d0870628a4af83eaace30f7edef960f8956b26eeb91 SHA512 36c8561079aa9fefc864c2f03bd8ae20aa05987bb67e7a9beac3ab4f440dbf7d44f141c172b05fddb1a5b618fc55a27962bb45fc39bd7b3a15d56e0ed3ff3870
DIST batteries-3.6.0.tar.gz 796298 BLAKE2B a8d9b6f57019ff80367047393fb53014bd32bdcc87d93650eae2939210d90fe4a7977b3502d0ffed25e0e0cb4aa072b8174f01f08c6728d0536589b9abff0f35 SHA512 2a56611b09a5f1cba6457539f8b6bc87a5f2a5454b36cdb39f6e0d6a5dac6db179aab1ba87c74dd49cc41df31a9a96feb349028ea41df7371ecb47f4d9dfafc4
+DIST batteries-3.6.1.tar.gz 797562 BLAKE2B e50ffa073ee4bf0028f4fbe4eac1bfcc0bbbc43fbe17d711350c7ae403a3943a3a8a79356323eb0f3bb0e0b4d2b589dcd33ecb8ba0768f0ac9895d425caa95b1 SHA512 16fd3b541f2b9504d26e1387b1d8b7279746221136391857c90193d3cc5b2814535d87ce54abfa2f50856a26f69e1a7a67f9574d208ba2f8a39630de59bf3a64
diff --git a/dev-ml/batteries/batteries-3.6.1.ebuild b/dev-ml/batteries/batteries-3.6.1.ebuild
new file mode 100644
index 000000000000..620523f69008
--- /dev/null
+++ b/dev-ml/batteries/batteries-3.6.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib
+
+DESCRIPTION="A community-maintained standard library extension"
+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"
+S="${WORKDIR}"/batteries-included-${PV}
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
+RDEPEND="
+ dev-ml/camlp-streams:=
+ dev-ml/num:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ml/ocamlbuild"
+
+src_compile() {
+ emake BATTERIES_NATIVE=$(usex ocamlopt yes no)
+}
+
+src_install() {
+ findlib_src_install BATTERIES_NATIVE=$(usex ocamlopt yes no)
+}