dev-ml/opam: add 2.4.1

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2026-04-16 20:56:42 +02:00
parent 59b73d570b
commit a3dac2f152
2 changed files with 56 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST opam-2.1.6.tar.gz 837526 BLAKE2B 1ee60691f4fcc1011f461505942f00ff5f5cc0f0bbfc97edb8e4c676d1e4cd28fed8b49ef341af51a750848be3110713cc97e93a9e63999e4b92e7c7f68d743e SHA512 f75d81b4eb19ef6603e7a2a18e1a281ea6f5eea47b820ae888593102db5b98ded5b593b176e70235611b63a07f4a406a57fe016386f4e921f51b55eb62b9864d
DIST opam-2.2.1.tar.gz 1089671 BLAKE2B cd6a97c8c19d7866205b49f95bf4215d986b3ad8b5d1fe5c5fd52db9b8b9e0cff8559d478e18d99d89816bbf830910f182e4c1e80719ac29a3cd5c8299450a21 SHA512 17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0
DIST opam-2.3.0.tar.gz 1128521 BLAKE2B 1567dbf9f2a944f2399820a1007a0d0943c54e158a5c371421ede0b59a84dfbcef4a5b8e259d74e053e6ae094a89bf6e4ec8686a076c9216f1c7a9136e3958ed SHA512 596d7b28f0cf9613dc7637aaeac45cc45f411a13286fea1cc81aeb0630c4f8a6dc2095d50db73229a255a3da3d9a08fe0993355a7fc64d3b16fd712789ff5f6e
DIST opam-2.4.1.tar.gz 1191951 BLAKE2B 21c6e5e59741699233be0375e7357ab4f8178f2e80bb347f460ac6e53b7fe3ff63dbfb21aeab6dda51ad937b30050d2eeb55e8b3bd6cacbea9f23fd8321a4646 SHA512 ee1656715f7e03c36ed9aa0a158033bbdb977d3e9017efa0ceddcd7b073e9b587eb6340ddf1916d9da197c7f48766e569221e6d8e43314bf761326329e4be0a6

View File

@@ -0,0 +1,55 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DUNE_PKG_NAME="opam"
inherit dune
DESCRIPTION="A source-based package manager for OCaml"
HOMEPAGE="http://opam.ocaml.org/"
SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
S="${WORKDIR}/opam-${PV/_/-}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"
RESTRICT="test" #see bugs 838658
RDEPEND="
dev-ml/0install:=[ocamlopt?]
<dev-ml/cmdliner-2:=[ocamlopt?]
dev-ml/cudf:=[ocamlopt?]
dev-ml/dose3:=[ocamlopt?]
dev-ml/extlib:=[ocamlopt?]
dev-ml/jsonm:=[ocamlopt?]
dev-ml/ocaml-base64:=[ocamlopt?]
dev-ml/ocamlgraph:=[ocamlopt?]
dev-ml/ocaml-sha:=[ocamlopt?]
dev-ml/opam-0install-cudf:=[ocamlopt?]
~dev-ml/opam-common-${PV}:=[ocamlopt?]
dev-ml/opam-file-format:=[ocamlopt?]
dev-ml/re:=[ocamlopt?]
dev-ml/spdx_licenses:=[ocamlopt?]
dev-ml/stdlib-shims:=[ocamlopt?]
dev-ml/swhid_core:=[ocamlopt?]
dev-ml/uchar:=[ocamlopt?]
dev-ml/uutf:=[ocamlopt?]
"
DEPEND="${RDEPEND}"
BDEPEND="dev-ml/findlib"
src_configure() {
:
}
src_compile() {
dune-compile opam-solver opam-repository opam-state opam-client ${DUNE_PKG_NAME}
}
src_install() {
dune_src_install
mv "${ED}"/usr/share/doc/${PF}/${PN}/* \
"${ED}"/usr/share/doc/${PF} || die
}