aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-12 21:30:46 +0000
committerSam James <sam@gentoo.org>2021-02-12 21:30:46 +0000
commitc136fc7e637924777738dd329548975e49f5e5e1 (patch)
tree079285ae45b6a1eb08733b5e8d2c0bd421ffef5c /sci-libs
parentdev-python/snakemake: version bump 5.32.2 (diff)
downloadsci-c136fc7e637924777738dd329548975e49f5e5e1.tar.gz
sci-c136fc7e637924777738dd329548975e49f5e5e1.tar.bz2
sci-c136fc7e637924777738dd329548975e49f5e5e1.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/simpleitk/simpleitk-1.2.4.ebuild8
1 files 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"