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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A4BD15808B for ; Sun, 20 Feb 2022 20:53:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92607E0857; Sun, 20 Feb 2022 20:53:27 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 7992EE0857 for ; Sun, 20 Feb 2022 20:53:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 4DDFA3439C3 for ; Sun, 20 Feb 2022 20:53:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A535C250 for ; Sun, 20 Feb 2022 20:53:24 +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: <1645390382.2c0448a2eaaf845e8a35ee2a3e2782525a8bcc0e.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/opam-format/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/opam-format/opam-format-2.1.2-r1.ebuild X-VCS-Directories: dev-ml/opam-format/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 2c0448a2eaaf845e8a35ee2a3e2782525a8bcc0e X-VCS-Branch: master Date: Sun, 20 Feb 2022 20:53:24 +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: 4f0f487b-a17a-4732-9e78-335946370291 X-Archives-Hash: bd766985e6c69db0ff8cff9b64bfd571 commit: 2c0448a2eaaf845e8a35ee2a3e2782525a8bcc0e Author: Alfredo Tupone gentoo org> AuthorDate: Sun Feb 20 20:53:02 2022 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Sun Feb 20 20:53:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0448a2 dev-ml/opam-format: add dev-ml/mccs to rdep Closes: https://bugs.gentoo.org/833615 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone gentoo.org> dev-ml/opam-format/opam-format-2.1.2-r1.ebuild | 53 ++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/dev-ml/opam-format/opam-format-2.1.2-r1.ebuild b/dev-ml/opam-format/opam-format-2.1.2-r1.ebuild new file mode 100644 index 000000000000..caed3309bce2 --- /dev/null +++ b/dev-ml/opam-format/opam-format-2.1.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# We are opam +OPAM_INSTALLER_DEP=" " +inherit dune + +DESCRIPTION="Core libraries for opam" +HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" +SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz" +S="${WORKDIR}/opam-${PV}" +OPAM_INSTALLER="${S}/opam-installer" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ~dev-ml/opam-core-${PV}:= + dev-ml/re:= + dev-ml/opam-file-format:= + >=dev-ml/dose3-6.0:= + dev-ml/mccs:= +" +DEPEND="${RDEPEND} + dev-ml/cppo" +BDEPEND="test? ( + sys-apps/bubblewrap +)" + +PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) + +src_prepare() { + default + cat <<- EOF >> "${S}/dune" + (env + (dev + (flags (:standard -warn-error -3-9-33))) + (release + (flags (:standard -warn-error -3-9-33)))) + EOF + sed -i \ + -e '/wrap-build-commands/d' \ + -e '/wrap-install-commands/d' \ + -e '/wrap-remove-commands/d' \ + tests/reftests/opamroot-versions.test \ + || die +}