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 3514B15800F for ; Sun, 1 Jan 2023 21:07:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A7C5E087A; Sun, 1 Jan 2023 21:07:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 566D7E087A for ; Sun, 1 Jan 2023 21:07:31 +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 8CDE933BDFC for ; Sun, 1 Jan 2023 21:07:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDA757EF for ; Sun, 1 Jan 2023 21:07:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1672607222.fd805dafac9ea98ce4a3e146570d3d451c7aebf5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/uchar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/uchar/uchar-0.0.2-r1.ebuild dev-ml/uchar/uchar-0.0.2.ebuild X-VCS-Directories: dev-ml/uchar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fd805dafac9ea98ce4a3e146570d3d451c7aebf5 X-VCS-Branch: master Date: Sun, 1 Jan 2023 21:07:28 +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: 13faa79f-d04f-4c56-b982-9937a9eea81c X-Archives-Hash: 8d315a05e9d3b102cf32e5e2b1a34c8b commit: fd805dafac9ea98ce4a3e146570d3d451c7aebf5 Author: Sam James gentoo org> AuthorDate: Sun Jan 1 21:07:02 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 1 21:07:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd805daf dev-ml/uchar: EAPI 8 Signed-off-by: Sam James gentoo.org> .../{uchar-0.0.2.ebuild => uchar-0.0.2-r1.ebuild} | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/dev-ml/uchar/uchar-0.0.2.ebuild b/dev-ml/uchar/uchar-0.0.2-r1.ebuild similarity index 73% rename from dev-ml/uchar/uchar-0.0.2.ebuild rename to dev-ml/uchar/uchar-0.0.2-r1.ebuild index b877cb8b70f8..e01cf3ceb62b 100644 --- a/dev-ml/uchar/uchar-0.0.2.ebuild +++ b/dev-ml/uchar/uchar-0.0.2-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit findlib +inherit edo findlib DESCRIPTION="Uchar compatibility library" HOMEPAGE="https://github.com/ocaml/uchar" @@ -14,8 +14,9 @@ SLOT="0/${PV}" KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt" -RDEPEND=">=dev-lang/ocaml-4.03:=" -DEPEND="${RDEPEND} dev-ml/ocamlbuild" +RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]" +DEPEND="${RDEPEND}" +BDEPEND="dev-ml/ocamlbuild" # This is mostly a compat wrapper for older ocaml versions we don't support. No # need to test it, plus it fails when installing for the first time: @@ -23,19 +24,21 @@ DEPEND="${RDEPEND} dev-ml/ocamlbuild" RESTRICT="test" src_compile() { - ocaml pkg/build.ml \ + edo ocaml pkg/build.ml \ "native=$(usex ocamlopt true false)" \ - "native-dynlink=$(usex ocamlopt true false)" || die + "native-dynlink=$(usex ocamlopt true false)" } src_test() { - ocamlbuild -X src -use-ocamlfind -pkg uchar test/testpkg.native || die + edo ocamlbuild -X src -use-ocamlfind -pkg uchar test/testpkg.native } src_install() { # Can't use opam-installer here as it is an opam dep... findlib_src_preinst + mv _build/pkg/META{.empty,} || die ocamlfind install ${PN} _build/pkg/META || die + dodoc README.md CHANGES.md }