From 007c50206d790f4593156fea91b372f76b04d337 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Sun, 6 Dec 2020 15:54:55 +0100 Subject: app-eselect/eselect-lua: do not PDEPEND on Lua implementations Does not actually depend on Lua, makes it necessary to have every new implementation added to the list, redundant (dev-lang/lua slots already depend on app-eselect/eselect-lua), inconsistent with how other "select your implementation" eselect modules handle dependencies, the LuaJIT alternative was not entirely correct. Closes: https://bugs.gentoo.org/752546 Signed-off-by: Marek Szuba --- app-eselect/eselect-lua/eselect-lua-2.ebuild | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/app-eselect/eselect-lua/eselect-lua-2.ebuild b/app-eselect/eselect-lua/eselect-lua-2.ebuild index 82abd3207ea4..e4f9797b0179 100644 --- a/app-eselect/eselect-lua/eselect-lua-2.ebuild +++ b/app-eselect/eselect-lua/eselect-lua-2.ebuild @@ -11,24 +11,10 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" -DEPEND=" - !dev-lang/lua:0 - >=app-admin/eselect-1.2.4 -" -RDEPEND="${DEPEND}" -PDEPEND=" - || ( - dev-lang/lua:5.1 - dev-lang/lua:5.2 - dev-lang/lua:5.3 - ( - dev-lang/luajit:2 - app-eselect/eselect-luajit - ) - ) -" -# dev-lang/lua:5.4 -# TODO: ^ +DEPEND="!dev-lang/lua:0" +RDEPEND="${DEPEND} + >=app-admin/eselect-1.2.4" + S="${WORKDIR}" src_install() { -- cgit v1.2.3-65-gdbad