1 |
commit: b37980b216ccda5d87884f0075dfcbdf03f22973 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 01:54:18 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 01:57:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37980b2 |
7 |
|
8 |
dev-ml/batteries: bump to 3.5.1 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
dev-ml/batteries/Manifest | 1 + |
13 |
dev-ml/batteries/batteries-3.5.1.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/batteries/Manifest b/dev-ml/batteries/Manifest |
17 |
index 6f2029dda661..1b62bb6f9c84 100644 |
18 |
--- a/dev-ml/batteries/Manifest |
19 |
+++ b/dev-ml/batteries/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST batteries-3.4.0.tar.gz 827778 BLAKE2B 569ce623ceb4272de784400540969a08d569a9b42e281f8001f046733a0fab6f50f4c195b8a8eec7f2e63209a1b882d6703843f76ec9adbfeb42d11e09b31f81 SHA512 e7a6e258430ec5bb97a1e83c7eb666c970db8bce82de4bf809797cf5e330ea987fe685008c4adb0ac4787c4cc6a1be06f6eae5a7ca856a1a0f83aa35716c23bd |
22 |
+DIST batteries-3.5.1.tar.gz 835112 BLAKE2B 29602093e5d3789a2b80e1c36e2d5b29d9c286c1bcd272f84d71660eb2014b7dea82c25543c17656987f5d0870628a4af83eaace30f7edef960f8956b26eeb91 SHA512 36c8561079aa9fefc864c2f03bd8ae20aa05987bb67e7a9beac3ab4f440dbf7d44f141c172b05fddb1a5b618fc55a27962bb45fc39bd7b3a15d56e0ed3ff3870 |
23 |
|
24 |
diff --git a/dev-ml/batteries/batteries-3.5.1.ebuild b/dev-ml/batteries/batteries-3.5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3ba6fc834d33 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/batteries/batteries-3.5.1.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit findlib |
36 |
+ |
37 |
+DESCRIPTION="A community-maintained standard library extension" |
38 |
+HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/" |
39 |
+SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz |
40 |
+ -> ${P}.tar.gz" |
41 |
+S="${WORKDIR}"/batteries-included-${PV} |
42 |
+ |
43 |
+LICENSE="LGPL-2.1-with-linking-exception" |
44 |
+SLOT="0/${PV}" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+RESTRICT="test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ ${DEPEND} |
50 |
+ dev-ml/num:= |
51 |
+" |
52 |
+BDEPEND="dev-ml/ocamlbuild" |
53 |
+ |
54 |
+src_compile() { |
55 |
+ emake BATTERIES_NATIVE=$(usex ocamlopt yes no) |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ findlib_src_install BATTERIES_NATIVE=$(usex ocamlopt yes no) |
60 |
+} |