summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-01-29 20:37:19 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-01-29 20:37:19 +0100
commit67ef6a50447d11cc2e1d2357873d78ff94c5ef34 (patch)
tree181bb85020be68c3973a464b3894cf2b37c3f364 /dev-ml
parentdev-ml/reason: restrict to ocaml <4.13; bump to EAPI 8 (diff)
downloadgentoo-67ef6a50447d11cc2e1d2357873d78ff94c5ef34.tar.gz
gentoo-67ef6a50447d11cc2e1d2357873d78ff94c5ef34.tar.bz2
gentoo-67ef6a50447d11cc2e1d2357873d78ff94c5ef34.zip
dev-ml/dune-configurator: 2.9.3 bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/dune-configurator/Manifest1
-rw-r--r--dev-ml/dune-configurator/dune-configurator-2.9.3.ebuild116
2 files changed, 117 insertions, 0 deletions
diff --git a/dev-ml/dune-configurator/Manifest b/dev-ml/dune-configurator/Manifest
index 730aae6dcc88..2a6ad22bf4b2 100644
--- a/dev-ml/dune-configurator/Manifest
+++ b/dev-ml/dune-configurator/Manifest
@@ -2,3 +2,4 @@ DIST dune-2.8.2.tar.gz 1369417 BLAKE2B d846d35675a18abc3ccc57a52574d81a8fb4f082d
DIST dune-2.8.4.tar.gz 1372925 BLAKE2B 5b6d6738a0dc701d852e6cc59a1998f64c006d233f43a804b0b9b677a6eadda25aa20f52799c90910d361e4bc565636a50d218ad5d0a9927239adc5be36b3889 SHA512 13b36eb6a943f9513987a23dab467b2e449cc3a4de35227f8323c3c724b27f19daac500602141ab22a04579243333c8484ce27a7f73e46a72e796d30fb1c3253
DIST dune-2.9.0.tar.gz 1385143 BLAKE2B c973e4b2c5780a3e4902c31c030b2560fe5be313338a5188edc9b7ff97b63968baba267966d095076bed4f1527a8b8b5a0f980e74f53476d70ec53f20dc661a6 SHA512 1c3b64746b00215cd97b36c0f1c6e2416c9d15c795265634240e9da37e2c2fce02ab3c309a0cb967f9f20a5c6df14e943c3c2942c1a8f4743c3a19c699f4eb24
DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d SHA512 4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77
+DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152 SHA512 df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494
diff --git a/dev-ml/dune-configurator/dune-configurator-2.9.3.ebuild b/dev-ml/dune-configurator/dune-configurator-2.9.3.ebuild
new file mode 100644
index 000000000000..66dae42d7036
--- /dev/null
+++ b/dev-ml/dune-configurator/dune-configurator-2.9.3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2022 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="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ~dev-ml/dune-private-libs-${PV}:=[ocamlopt=]
+ dev-ml/csexp:=[ocamlopt=]
+ dev-ml/result:=[ocamlopt=]
+"
+DEPEND="${RDEPEND}
+ test? (
+ dev-ml/core_bench
+ dev-ml/menhir
+ dev-ml/opam
+ dev-ml/ppx_expect
+ )
+"
+# 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-private-libs
+ 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
+
+ # Strange failures about opam not being initialised
+ test/blackbox-tests/test-cases/merlin/merlin-from-subdir.t
+ test/blackbox-tests/test-cases/merlin/symlinks.t
+ test/blackbox-tests/test-cases/merlin/src-dirs-of-deps.t
+ test/blackbox-tests/test-cases/merlin/per-module-pp.t
+ test/blackbox-tests/test-cases/merlin/server.t
+ test/blackbox-tests/test-cases/github1946.t
+ test/blackbox-tests/test-cases/github759.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() {
+ :
+}