commit:     85427aa66ff11f5630ae5336287a7bd192b1604e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 27 17:59:41 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Aug 27 17:59:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85427aa6

dev-ml/stdcompat: add 21.1

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/stdcompat/Manifest              |  1 +
 dev-ml/stdcompat/stdcompat-21.1.ebuild | 35 ++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-ml/stdcompat/Manifest b/dev-ml/stdcompat/Manifest
index bd3fa2e01ed9..1f6cbf84c99e 100644
--- a/dev-ml/stdcompat/Manifest
+++ b/dev-ml/stdcompat/Manifest
@@ -1 +1,2 @@
 DIST stdcompat-19.tar.gz 530511 BLAKE2B 
4af97c355b98f63366d647a4a375bde43ffbf959a2c02132ab57457db4213b8f98a972bf99667dd53603b28235b4f853470c2117270ce42c6aa579a21dd148fb
 SHA512 
25582731170f2f80eed281c48af4904d1d00ef88a38d1b17853395c19a326d7b11e42c17b69f639402c467ff6f9b83a2e9d4dbab7255ac25d466b85a55674bd0
+DIST stdcompat-21.1.tar.gz 624974 BLAKE2B 
b351696f0aed268cd067e20a7d0917a5580399b43e5de3e60fce0ab30a8093cd1808eda610d5a20eb721033f77c45f9b5c8dabc6d55862b023c363b212a505e8
 SHA512 
b3d93d200aa57a193459c143fafa97b7e96cbed3043ef8c7a2bc359ed385ff7d1ec03561cdab1f28e80055dc1c0bd7647bba827c6300b85a1d1c66a539626189

diff --git a/dev-ml/stdcompat/stdcompat-21.1.ebuild 
b/dev-ml/stdcompat/stdcompat-21.1.ebuild
new file mode 100644
index 000000000000..23d9e8c07a3b
--- /dev/null
+++ b/dev-ml/stdcompat/stdcompat-21.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Compatibility module for OCaml standard library"
+HOMEPAGE="https://github.com/ocamllibs/stdcompat";
+SRC_URI="https://github.com/ocamllibs/stdcompat/archive/refs/tags/${PV}.tar.gz
+       -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">dev-lang/ocaml-4.11:=[ocamlopt]
+       dev-ml/result:=[ocamlopt]
+       dev-ml/uchar:=[ocamlopt]"
+RDEPEND="${DEPEND}"
+BDEPEND="
+       dev-ml/dune
+       dev-ml/findlib[ocamlopt]"
+
+# Do not complain about CFLAGS etc since ml projects do not use them.
+QA_FLAGS_IGNORED='.*'
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure () {
+       econf --libdir="${EPREFIX}"/usr/$(get_libdir)/ocaml
+}

Reply via email to