From e90b3d58e51a4b03d6e289555219f47a82392425 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Tue, 18 Feb 2025 22:18:37 -0500 Subject: [PATCH] ghidra: slightly more correct python usage --- dev-util/ghidra/ghidra-11.3-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-util/ghidra/ghidra-11.3-r1.ebuild b/dev-util/ghidra/ghidra-11.3-r1.ebuild index fe687e0343..0b05eef2be 100644 --- a/dev-util/ghidra/ghidra-11.3-r1.ebuild +++ b/dev-util/ghidra/ghidra-11.3-r1.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit java-pkg-2 desktop +PYTHON_COMPAT=( python3_{11..13} ) +inherit java-pkg-2 desktop python-single-r1 GRADLE_DEP_VER="20250212" GRADLE_VER="8.5" @@ -60,8 +61,10 @@ KEYWORDS="amd64" # * /usr/share/ghidra/Ghidra/Features/FileFormats/data/sevenzipnativelibs/Linux-amd64/lib7-Zip-JBinding.so # * /usr/share/ghidra/Ghidra/Features/FileFormats/os/linux_x86_64/lzfse +REQUIRED_USE=${PYTHON_REQUIRED_USE} #java-pkg-2 sets java based on RDEPEND so the java slot in rdepend is used to build -RDEPEND=">=virtual/jre-21:*" +RDEPEND=">=virtual/jre-21:* + ${PYTHON_DEPS}" DEPEND="${RDEPEND} >=virtual/jdk-21:* sys-devel/bison