From e3263ba66c9e9e3d6148687cc266ceb7257aa019 Mon Sep 17 00:00:00 2001 From: Anton Bolshakov Date: Mon, 16 Feb 2026 08:57:02 +0800 Subject: [PATCH] rehex: fix lua deps --- app-editors/rehex/rehex-0.63.3.ebuild | 12 ++++++++---- app-editors/rehex/rehex-0.63.4.ebuild | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app-editors/rehex/rehex-0.63.3.ebuild b/app-editors/rehex/rehex-0.63.3.ebuild index c76a49b80..9f04a5689 100644 --- a/app-editors/rehex/rehex-0.63.3.ebuild +++ b/app-editors/rehex/rehex-0.63.3.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 WX_GTK_VER="3.2-gtk3" -LUA_COMPAT=(lua5-{1..4} ) -inherit wxwidgets xdg lua-single +LUA_COMPAT=( lua5-{3,4} ) +inherit wxwidgets lua-single xdg DESCRIPTION="Reverse Engineers' Hex Editor" HOMEPAGE="https://github.com/solemnwarning/rehex" @@ -23,6 +23,8 @@ LICENSE="GPL-2" SLOT="0" IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RESTRICT="test" RDEPEND="${LUA_DEPS} @@ -37,7 +39,9 @@ DEPEND="${RDEPEND}" # )" BDEPEND="virtual/pkgconfig - dev-lua/busted + $(lua_gen_cond_dep ' + dev-lua/busted[${LUA_USEDEP}] + ') doc? ( dev-perl/Template-Toolkit )" src_configure() { diff --git a/app-editors/rehex/rehex-0.63.4.ebuild b/app-editors/rehex/rehex-0.63.4.ebuild index c76a49b80..9f04a5689 100644 --- a/app-editors/rehex/rehex-0.63.4.ebuild +++ b/app-editors/rehex/rehex-0.63.4.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 WX_GTK_VER="3.2-gtk3" -LUA_COMPAT=(lua5-{1..4} ) -inherit wxwidgets xdg lua-single +LUA_COMPAT=( lua5-{3,4} ) +inherit wxwidgets lua-single xdg DESCRIPTION="Reverse Engineers' Hex Editor" HOMEPAGE="https://github.com/solemnwarning/rehex" @@ -23,6 +23,8 @@ LICENSE="GPL-2" SLOT="0" IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" + RESTRICT="test" RDEPEND="${LUA_DEPS} @@ -37,7 +39,9 @@ DEPEND="${RDEPEND}" # )" BDEPEND="virtual/pkgconfig - dev-lua/busted + $(lua_gen_cond_dep ' + dev-lua/busted[${LUA_USEDEP}] + ') doc? ( dev-perl/Template-Toolkit )" src_configure() {