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 6A09D1382C5 for ; Sun, 24 Jan 2021 16:06:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C6EAE0A63; Sun, 24 Jan 2021 16:06:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 224C4E0A63 for ; Sun, 24 Jan 2021 16:06:20 +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 968D3340DF4 for ; Sun, 24 Jan 2021 16:06:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 272714AD for ; Sun, 24 Jan 2021 16:06:16 +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: <1611504369.ca1ffe8c3b13c290f4a47be17522d126ca5847cc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/dune-private-libs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/dune-private-libs/Manifest dev-ml/dune-private-libs/dune-private-libs-2.8.2.ebuild X-VCS-Directories: dev-ml/dune-private-libs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ca1ffe8c3b13c290f4a47be17522d126ca5847cc X-VCS-Branch: master Date: Sun, 24 Jan 2021 16:06:16 +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: ca57c0d9-8be9-4282-aa36-fc456e8fe4ea X-Archives-Hash: 483c9aeb4c85b9ae76a1bbbe3efd6470 commit: ca1ffe8c3b13c290f4a47be17522d126ca5847cc Author: Sam James gentoo org> AuthorDate: Fri Jan 22 06:40:57 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 24 16:06:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca1ffe8c dev-ml/dune-private-libs: bump to 2.8.2 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-ml/dune-private-libs/Manifest | 1 + .../dune-private-libs-2.8.2.ebuild | 108 +++++++++++++++++++++ 2 files changed, 109 insertions(+) diff --git a/dev-ml/dune-private-libs/Manifest b/dev-ml/dune-private-libs/Manifest index 3a2231dc56b..5bd42517a4f 100644 --- a/dev-ml/dune-private-libs/Manifest +++ b/dev-ml/dune-private-libs/Manifest @@ -1 +1,2 @@ DIST dune-2.7.1.tar.gz 1290915 BLAKE2B 85a2dee92d1ead03b43b80742c291f4470dd9e1d843fdb257754c567e2329c101d11b42573da19de537f0d8591ebdacfcaab1099e0f46bdeebcd8421eb1bbcb2 SHA512 b77d0e207263107365e5a6e94423e8ab4ddbab1f920872d915e4014b7cc69915274b53fe946bb4b29dfe3de2bf5573ab3b2bffb4db8eb50b472e7dfb6cab88b7 +DIST dune-2.8.2.tar.gz 1369417 BLAKE2B d846d35675a18abc3ccc57a52574d81a8fb4f082d9935912f035061c1107b47be8752daeb9c49bb2af4877e419a6c8bc30f846db6d773cf5267d3d761272a872 SHA512 fcbe45ea59492517e0868bf1f801c2bd2f3b1b30234e36d789c33e7ee48bd724726beb211697f3820609bbc27923c8c37d7be89dcbd059558014743360f2d0b7 diff --git a/dev-ml/dune-private-libs/dune-private-libs-2.8.2.ebuild b/dev-ml/dune-private-libs/dune-private-libs-2.8.2.ebuild new file mode 100644 index 00000000000..2c25f9e6fb7 --- /dev/null +++ b/dev-ml/dune-private-libs/dune-private-libs-2.8.2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="A composable build system for OCaml" +HOMEPAGE="https://github.com/ocaml/dune" +SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" +S="${WORKDIR}/dune-${PV}" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ~dev-ml/dune-2.8.2 + test? ( + dev-ml/menhir + dev-ml/opam + dev-ml/ppx_expect + ) +" +DEPEND=" + dev-ml/csexp:= + dev-ml/findlib:= +" +RDEPEND="${DEPEND}" + +# TODO for test deps: +# Add cram? +# Add dev-ml/js_of_ocaml once dev-ml/ocaml-base64 is ported to Dune +# Add coq? + +src_prepare() { + default + + # Keep this list in sync with dev-ml/dune-configurator + local bad_tests=( + # List of tests calling git, mercurial, etc + test/blackbox-tests/test-cases/dune-project-meta/main.t + test/blackbox-tests/test-cases/meta-template-version-bug.t + test/blackbox-tests/test-cases/subst/project-name-restriction.t + test/blackbox-tests/test-cases/subst/with-opam-file.t + test/blackbox-tests/test-cases/subst.t + test/blackbox-tests/test-cases/subst/unicode.t + test/blackbox-tests/test-cases/subst/from-project-file.t + test/blackbox-tests/test-cases/trace-file.t + otherlibs/build-info/test/run.t + test/expect-tests/vcs_tests.ml + + # Strange failures, seemingly from newer versions of deps + test/blackbox-tests/test-cases/merlin/allow_approximate_merlin_warn.t + test/blackbox-tests/test-cases/merlin/merlin-tests.t + test/blackbox-tests/test-cases/merlin/github4125.t + test/blackbox-tests/test-cases/install-dry-run.t + test/blackbox-tests/test-cases/c-flags.t + test/blackbox-tests/test-cases/install-libdir.t + test/blackbox-tests/test-cases/dune-cache/trim.t + + # Wants nodejs! + test/blackbox-tests/test-cases/jsoo/simple.t + test/blackbox-tests/test-cases/jsoo/inline-tests.t + test/blackbox-tests/test-cases/jsoo/github3622.t + # Wants js_of_ocaml (can't include yet b/c of ocaml-base64 porting) + test/blackbox-tests/test-cases/jsoo/explicit-js-mode-specified.t + + # Wants coq which doesn't build for me right now + test/blackbox-tests/test-cases/coq/rec-module.t + test/blackbox-tests/test-cases/coq/compose-sub-theory.t + test/blackbox-tests/test-cases/coq/native-compose.t + test/blackbox-tests/test-cases/coq/base-unsound.t + test/blackbox-tests/test-cases/coq/base.t + test/blackbox-tests/test-cases/coq/native-single.t + test/blackbox-tests/test-cases/coq/compose-simple.t + test/blackbox-tests/test-cases/coq/ml-lib.t + test/blackbox-tests/test-cases/coq/extract.t + test/blackbox-tests/test-cases/coq/compose-plugin.t + + # Unpackaged dependencies (a rabbit hole for now) + # utop -> lambda-term, zed + test/blackbox-tests/test-cases/utop/github3188.t + test/blackbox-tests/test-cases/utop/utop-simple.t + test/blackbox-tests/test-cases/utop/utop-default.t + test/blackbox-tests/test-cases/utop/utop-default-implementation.t + test/blackbox-tests/test-cases/utop/utop-ppx-rewriters.t + # ocamlformat + test/blackbox-tests/test-cases/formatting.t + # mdx + test/blackbox-tests/test-cases/mdx-stanza.t + # odoc + test/blackbox-tests/test-cases/odoc/odoc-simple.t + test/blackbox-tests/test-cases/odoc/odoc-package-mld-link.t + test/blackbox-tests/test-cases/odoc/multiple-private-libs.t + test/blackbox-tests/test-cases/odoc/odoc-unique-mlds.t + test/blackbox-tests/test-cases/odoc/github717-odoc-index.t + test/blackbox-tests/test-cases/odoc/warnings.t + ) + + rm -r ${bad_tests[@]} || die "Failed to remove broken/inappropriate tests" +} + +src_configure() { + : +}