From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F3421382C5 for ; Mon, 10 May 2021 15:20:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55BEFE07A7; Mon, 10 May 2021 15:20:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34070E07A7 for ; Mon, 10 May 2021 15:20:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E621335C34 for ; Mon, 10 May 2021 15:20:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B2934A0 for ; Mon, 10 May 2021 15:20:17 +0000 (UTC) From: "Alfredo Tupone" 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" Message-ID: <1620659995.9c224ffba495bb0d8543c1c5769087e7d7cee31d.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/opam-installer-2.0.8-r2.ebuild X-VCS-Directories: dev-ml/opam-installer/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 9c224ffba495bb0d8543c1c5769087e7d7cee31d X-VCS-Branch: master Date: Mon, 10 May 2021 15:20:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6dba4f52-2046-48c4-853a-efed68f62190 X-Archives-Hash: c3535481eb3910cbdcd4e0c2f33fa362 commit: 9c224ffba495bb0d8543c1c5769087e7d7cee31d Author: Alfredo Tupone gentoo org> AuthorDate: Mon May 10 15:19:29 2021 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon May 10 15:19:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c224ffb dev-ml/opam-installer: remove building ext library (already in tree) Closes: https://bugs.gentoo.org/787212 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfredo Tupone gentoo.org> .../opam-installer/opam-installer-2.0.8-r2.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-ml/opam-installer/opam-installer-2.0.8-r2.ebuild b/dev-ml/opam-installer/opam-installer-2.0.8-r2.ebuild new file mode 100644 index 00000000000..fa67d1f64af --- /dev/null +++ b/dev-ml/opam-installer/opam-installer-2.0.8-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# We are opam +OPAM_INSTALLER_DEP=" " +OPAM_SKIP_VALIDATION=yes +inherit opam + +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-full-${PV}.tar.gz" +S="${WORKDIR}/opam-full-${PV/_/-}" +OPAM_INSTALLER="${S}/opam-installer" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + >=dev-lang/ocaml-4.02.3 + dev-ml/cmdliner:= + ~dev-ml/opam-format-${PV} +" +DEPEND="${RDEPEND} + dev-ml/findlib" + +src_configure() { + econf \ + --prefix="${EPREFIX}/usr" \ + --with-mccs \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --mandir="${EPREFIX}/usr/share/man" +} + +src_compile() { + sed -e 's/DUNE = .*$/DUNE = /' -i Makefile.config + #passing -jX to the dune build leads to errors + #see: https://github.com/ocaml/opam/issues/3585 + emake DUNE_PROMOTE_ARG="" -j1 +}