commit:     30b905f7babf3e665461e77410c96f50bfac30de
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 21 11:16:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 21 11:17:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b905f7

dev-lua/compat53: block older luarocks which installed bundled compat53

Otherwise, if compat53 is upgraded first, you still get a fatal file
collision as nothing acknowledged this. Portage can't know that compat53
is taking over the files from luarocks.

Bug: https://bugs.gentoo.org/966292
Closes: https://bugs.gentoo.org/961755
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../compat53/{compat53-0.14.4.ebuild => compat53-0.14.4-r1.ebuild}   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-lua/compat53/compat53-0.14.4.ebuild 
b/dev-lua/compat53/compat53-0.14.4-r1.ebuild
similarity index 96%
rename from dev-lua/compat53/compat53-0.14.4.ebuild
rename to dev-lua/compat53/compat53-0.14.4-r1.ebuild
index 4a3823b91576..95fc7313bf53 100644
--- a/dev-lua/compat53/compat53-0.14.4.ebuild
+++ b/dev-lua/compat53/compat53-0.14.4-r1.ebuild
@@ -23,7 +23,10 @@ KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 
 DEPEND="${LUA_DEPS}"
-RDEPEND="${DEPEND}"
+RDEPEND="
+       ${DEPEND}
+       !<dev-lua/luarocks-3.12.2-r1
+"
 
 src_prepare() {
        default

Reply via email to