* [gentoo-dev] dune eclass changes: dev-lang/ocaml-3 is no more in
@ 2025-09-24 17:01 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2025-09-24 17:01 UTC (permalink / raw
To: gentoo-dev@lists.gentoo.org
My suggestion is to drop
>=dev-lang/ocaml-4:=[ocamlopt?]
in favor of
dev-lang/ocaml:=[ocamlopt?]
ocaml-3 is out of the tree from ages. Please comments!
diff --git a/eclass/dune.eclass b/eclass/dune.eclass
index cfe81433a5bc..8ba7eef72461 100644
--- a/eclass/dune.eclass
+++ b/eclass/dune.eclass
@@ -23,31 +23,31 @@ if [[ -z ${_DUNE_ECLASS} ]]; then
_DUNE_ECLASS=1
# @ECLASS_VARIABLE: DUNE_PKG_NAME
# @PRE_INHERIT
# @DESCRIPTION:
# Sets the actual Dune package name, if different from Gentoo package name.
# Set before inheriting the eclass.
: "${DUNE_PKG_NAME:=${PN}}"
inherit edo multiprocessing
# Do not complain about CFLAGS etc since ml projects do not use them.
QA_FLAGS_IGNORED='.*'
RDEPEND="
- >=dev-lang/ocaml-4:=[ocamlopt?]
+ dev-lang/ocaml:=[ocamlopt?]
dev-ml/dune:=
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/ocaml
dev-ml/dune
"
# @FUNCTION: edune
# @USAGE: <arg> ...
# @DESCRIPTION:
# A thin wrapper for the `dune` command.
# Runs `dune` with given arguments and dies on failure.
#
# Example use:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-24 17:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-24 17:01 [gentoo-dev] dune eclass changes: dev-lang/ocaml-3 is no more in Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox