summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-12-06 15:54:55 +0100
committerMarek Szuba <marecki@gentoo.org>2020-12-06 16:03:02 +0100
commit007c50206d790f4593156fea91b372f76b04d337 (patch)
treeda660f6f47f9c79ef820cb05582955037b02d2bf
parentnet-p2p/airdcpp-webclient: remove old (diff)
downloadgentoo-007c50206d790f4593156fea91b372f76b04d337.tar.gz
gentoo-007c50206d790f4593156fea91b372f76b04d337.tar.bz2
gentoo-007c50206d790f4593156fea91b372f76b04d337.zip
app-eselect/eselect-lua: do not PDEPEND on Lua implementations
Does not actually depend on Lua, makes it necessary to have every new implementation added to the list, redundant (dev-lang/lua slots already depend on app-eselect/eselect-lua), inconsistent with how other "select your implementation" eselect modules handle dependencies, the LuaJIT alternative was not entirely correct. Closes: https://bugs.gentoo.org/752546 Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--app-eselect/eselect-lua/eselect-lua-2.ebuild22
1 files changed, 4 insertions, 18 deletions
diff --git a/app-eselect/eselect-lua/eselect-lua-2.ebuild b/app-eselect/eselect-lua/eselect-lua-2.ebuild
index 82abd3207ea4..e4f9797b0179 100644
--- a/app-eselect/eselect-lua/eselect-lua-2.ebuild
+++ b/app-eselect/eselect-lua/eselect-lua-2.ebuild
@@ -11,24 +11,10 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-DEPEND="
- !dev-lang/lua:0
- >=app-admin/eselect-1.2.4
-"
-RDEPEND="${DEPEND}"
-PDEPEND="
- || (
- dev-lang/lua:5.1
- dev-lang/lua:5.2
- dev-lang/lua:5.3
- (
- dev-lang/luajit:2
- app-eselect/eselect-luajit
- )
- )
-"
-# dev-lang/lua:5.4
-# TODO: ^
+DEPEND="!dev-lang/lua:0"
+RDEPEND="${DEPEND}
+ >=app-admin/eselect-1.2.4"
+
S="${WORKDIR}"
src_install() {