From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1692873-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 308B81581EC
	for <garchives@archives.gentoo.org>; Sat, 23 Nov 2024 12:42:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7B431E077F;
	Sat, 23 Nov 2024 12:42:01 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5DF76E077F
	for <gentoo-commits@lists.gentoo.org>; Sat, 23 Nov 2024 12:42:01 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 67BAC335D0F
	for <gentoo-commits@lists.gentoo.org>; Sat, 23 Nov 2024 12:42:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 00E41AE7
	for <gentoo-commits@lists.gentoo.org>; Sat, 23 Nov 2024 12:41:59 +0000 (UTC)
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" <tupone@gentoo.org>
Message-ID: <1732365705.d98249e8aec7411066dbf0f09d9f1291ae35838c.tupone@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-installer/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-ml/opam-installer/Manifest dev-ml/opam-installer/opam-installer-2.2.1.ebuild
X-VCS-Directories: dev-ml/opam-installer/
X-VCS-Committer: tupone
X-VCS-Committer-Name: Alfredo Tupone
X-VCS-Revision: d98249e8aec7411066dbf0f09d9f1291ae35838c
X-VCS-Branch: master
Date: Sat, 23 Nov 2024 12:41:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: af0eae75-8874-4336-bf5c-f81e80f1642e
X-Archives-Hash: 374e75354f748d5f075ae4f1e473acea

commit:     d98249e8aec7411066dbf0f09d9f1291ae35838c
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 12:40:41 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 12:41:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98249e8

dev-ml/opam-installer: add 2.2.1

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

 dev-ml/opam-installer/Manifest                    |  1 +
 dev-ml/opam-installer/opam-installer-2.2.1.ebuild | 47 +++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest
index 673d716e2db3..3b6747126096 100644
--- a/dev-ml/opam-installer/Manifest
+++ b/dev-ml/opam-installer/Manifest
@@ -1 +1,2 @@
+DIST opam-2.2.1.tar.gz 1089671 BLAKE2B cd6a97c8c19d7866205b49f95bf4215d986b3ad8b5d1fe5c5fd52db9b8b9e0cff8559d478e18d99d89816bbf830910f182e4c1e80719ac29a3cd5c8299450a21 SHA512 17d7d83b9de118332c121b9d3aa2e48f62a6270ea23e730a536b0f4ff060df85238c7c4ab53a89bcc3b3193d52d14358831bd9bed30a4ac699e44e4c3003b8b0
 DIST opam-full-2.1.6.tar.gz 11704198 BLAKE2B 20e74551760cadf1d911e72c34502e1e7e62003f8ebc83f3b9cb46c712e13fb5f85f41421cc74b051c2e348e0c0a17f4ea34bf655f7ec48cfcdab1e0d8a57a11 SHA512 2bb24db05dc39d6e8294c10b5a6bb2dd8f675a4d56e1dc9a2e9bc576f54d14a1709005219c25586df9382897ab7ba5ea0636765410f01c06958ec59be9f14b4c

diff --git a/dev-ml/opam-installer/opam-installer-2.2.1.ebuild b/dev-ml/opam-installer/opam-installer-2.2.1.ebuild
new file mode 100644
index 000000000000..f9d4c4943e8b
--- /dev/null
+++ b/dev-ml/opam-installer/opam-installer-2.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Core installer for opam packages"
+HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
+SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-${PV}.tar.gz"
+S="${WORKDIR}/opam-${PV/_/-}"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+RESTRICT="test" # sandbox not working
+
+RDEPEND="
+	dev-ml/cmdliner:=[ocamlopt?]
+	dev-ml/jsonm:=[ocamlopt?]
+	dev-ml/ocamlgraph:=[ocamlopt?]
+	dev-ml/ocaml-sha:=[ocamlopt?]
+	~dev-ml/opam-common-${PV}:=[ocamlopt?]
+	dev-ml/opam-file-format:=[ocamlopt?]
+	dev-ml/re:=[ocamlopt?]
+	dev-ml/swhid_core:=[ocamlopt?]
+	dev-ml/stdlib-shims:=[ocamlopt?]
+	dev-ml/uchar:=[ocamlopt?]
+	dev-ml/uutf:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ml/findlib"
+
+src_configure() {
+	:
+}
+
+src_compile() {
+	dune-compile ${PN}
+}
+
+src_install() {
+	dune-install ${PN}
+	mv "${ED}"/usr/share/doc/${PF}/${PN}/* \
+		"${ED}"/usr/share/doc/${PF} || die
+}