From c136fc7e637924777738dd329548975e49f5e5e1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 12 Feb 2021 21:30:46 +0000 Subject: sci-libs/simpleitk: fix incorrect non-slotted Lua dependency * We let the eclass figure out the dependencies on Lua for us via ${LUA_DEPS}. Hardcoding a single Lua version is contradictory. * If we were to depend on a single version, we should still let the Lua eclass do this, but we should depend on the slotted ebuild (e.g. :5.1) if we are to do it at all, not the unslotted :0. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James --- sci-libs/simpleitk/simpleitk-1.2.4.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sci-libs/simpleitk/simpleitk-1.2.4.ebuild b/sci-libs/simpleitk/simpleitk-1.2.4.ebuild index ef20b6629..383d63268 100644 --- a/sci-libs/simpleitk/simpleitk-1.2.4.ebuild +++ b/sci-libs/simpleitk/simpleitk-1.2.4.ebuild @@ -25,17 +25,15 @@ KEYWORDS="~amd64 ~x86" IUSE="python" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +BDEPEND="dev-lang/swig" RDEPEND=" - dev-lang/lua:0 + ${LUA_DEPS} dev-cpp/gtest sci-libs/itk dev-python/virtualenv python? ( ${PYTHON_DEPS} ) " -DEPEND=" - ${RDEPEND} - dev-lang/swig -" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${P}-module.patch" -- cgit v1.2.3