summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-03-15 16:30:55 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-03-15 16:30:55 -0700
commitd7125ea6203f3d84e832a2aa945d983d9eb51932 (patch)
treed5e82fbbc1ef52c97a44b7342705a72775ee4ad9 /dev-lua
parentdev-lua/lua-argparse: fix installation destination (diff)
downloadgentoo-d7125ea6203f3d84e832a2aa945d983d9eb51932.tar.gz
gentoo-d7125ea6203f3d84e832a2aa945d983d9eb51932.tar.bz2
gentoo-d7125ea6203f3d84e832a2aa945d983d9eb51932.zip
dev-lua/luacheck: QA: fix some issues
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luacheck/luacheck-0.23.0.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-lua/luacheck/luacheck-0.23.0.ebuild b/dev-lua/luacheck/luacheck-0.23.0.ebuild
index 8ef3444c4a7..96cc94e42b2 100644
--- a/dev-lua/luacheck/luacheck-0.23.0.ebuild
+++ b/dev-lua/luacheck/luacheck-0.23.0.ebuild
@@ -10,13 +10,14 @@ SRC_URI="https://github.com/mpeterv/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc64"
IUSE="doc luajit test"
RESTRICT="!test? ( test )"
RDEPEND="
- dev-lua/lua-argparse
+ dev-lua/lua-argparse[luajit=]
dev-lua/luafilesystem[luajit=]
+ dev-lua/lua-utf8[luajit=]
!luajit? ( >=dev-lang/lua-5.1:= )
luajit? ( dev-lang/luajit:2 )"
BDEPEND="
@@ -46,7 +47,7 @@ src_install() {
newbin bin/luacheck.lua luacheck
- use doc && HTML_DOCS=( html/. )
+ use doc && local HTML_DOCS=( html/. )
local -a DOCS=( CHANGELOG.md LICENSE README.md )
einstalldocs