From ac2174fec66121ba3a6047f6d1630b0e477671ae Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 4 Feb 2021 19:22:23 +0100 Subject: app-editors/vis: Make test depend on dev-lua/lpeg Closes: https://bugs.gentoo.org/768558 Signed-off-by: Haelwenn (lanodan) Monnier Closes: https://github.com/gentoo/gentoo/pull/19328 Signed-off-by: Sam James --- app-editors/vis/vis-0.7.ebuild | 6 ++++-- app-editors/vis/vis-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'app-editors') diff --git a/app-editors/vis/vis-0.7.ebuild b/app-editors/vis/vis-0.7.ebuild index 4d2ac5754f60..c9d0b3047ab2 100644 --- a/app-editors/vis/vis-0.7.ebuild +++ b/app-editors/vis/vis-0.7.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 MY_PTV=0.5 -LUA_COMPAT=( lua5-2 lua5-3 lua5-4 ) +LUA_COMPAT=( lua5-2 lua5-3 ) inherit lua-single optfeature @@ -26,6 +26,8 @@ DEPEND="dev-libs/libtermkey tre? ( dev-libs/tre:= )" RDEPEND="${DEPEND} app-eselect/eselect-vi" +# https://github.com/martanne/vis-test/issues/28 +BDEPEND="test? ( $(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]') )" pkg_setup() { use lua && lua-single_pkg_setup diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild index bb8d1be8d88a..9f919a60fc33 100644 --- a/app-editors/vis/vis-9999.ebuild +++ b/app-editors/vis/vis-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -LUA_COMPAT=( lua5-2 lua5-3 lua5-4 ) +LUA_COMPAT=( lua5-2 lua5-3 ) inherit lua-single git-r3 optfeature @@ -23,6 +23,8 @@ DEPEND="dev-libs/libtermkey tre? ( dev-libs/tre:= )" RDEPEND="${DEPEND} app-eselect/eselect-vi" +# https://github.com/martanne/vis-test/issues/28 +BDEPEND="test? ( $(lua_gen_cond_dep 'dev-lua/lpeg[${LUA_USEDEP}]') )" pkg_setup() { use lua && lua-single_pkg_setup -- cgit v1.2.3-65-gdbad