commit:     c136fc7e637924777738dd329548975e49f5e5e1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 21:30:46 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 21:30:46 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c136fc7e

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 <sam <AT> gentoo.org>

 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"

Reply via email to