commit: 82b295674fb4dfc0bfaba3a7cbaa48ff5423e6a1 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sun Apr 13 20:03:39 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sun Apr 13 20:04:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b29567
dev-ml/cinaps: fix test Bug: https://bugs.gentoo.org/905097 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> .../{cinaps-0.15.1-r1.ebuild => cinaps-0.15.1-r2.ebuild} | 12 +++++------- dev-ml/cinaps/files/cinaps-0.15.1-test.patch | 13 +++++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/dev-ml/cinaps/cinaps-0.15.1-r1.ebuild b/dev-ml/cinaps/cinaps-0.15.1-r2.ebuild similarity index 77% rename from dev-ml/cinaps/cinaps-0.15.1-r1.ebuild rename to dev-ml/cinaps/cinaps-0.15.1-r2.ebuild index 6835b84aef60..05c8aca5c7b5 100644 --- a/dev-ml/cinaps/cinaps-0.15.1-r1.ebuild +++ b/dev-ml/cinaps/cinaps-0.15.1-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune @@ -17,8 +17,6 @@ RESTRICT="!test? ( test )" DEPEND="dev-ml/re:=" RDEPEND="${DEPEND}" -BDEPEND=" - test? ( - dev-ml/ppx_jane:0/0.14.0 - ) -" +BDEPEND="test? ( dev-ml/ppx_jane )" + +PATCHES=( "${FILESDIR}"/${P}-test.patch ) diff --git a/dev-ml/cinaps/files/cinaps-0.15.1-test.patch b/dev-ml/cinaps/files/cinaps-0.15.1-test.patch new file mode 100644 index 000000000000..d3b50c05d73e --- /dev/null +++ b/dev-ml/cinaps/files/cinaps-0.15.1-test.patch @@ -0,0 +1,13 @@ +--- a/test/dune 2025-04-13 21:58:20.175375148 +0200 ++++ b/test/dune 2025-04-13 21:58:28.498274736 +0200 +@@ -3,7 +3,7 @@ + + (executables (names test_staged_gen) (modules test_staged_gen) + (libraries cinaps.runtime) +- (preprocess (pps ppx_jane -allow-toplevel-expression))) ++ (preprocess (pps ppx_jane))) + + (alias (name runtest) (deps test_staged_gen.exe) +- (action (bash ./test_staged_gen.exe))) +\ No newline at end of file ++ (action (bash ./test_staged_gen.exe)))
