diff options
-rw-r--r-- | dev-lua/luacheck/Manifest | 1 | ||||
-rw-r--r-- | dev-lua/luacheck/luacheck-0.20.0-r1.ebuild | 49 |
2 files changed, 0 insertions, 50 deletions
diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest index f22c82aeba84..926e7bc8573a 100644 --- a/dev-lua/luacheck/Manifest +++ b/dev-lua/luacheck/Manifest @@ -1,2 +1 @@ -DIST luacheck-0.20.0.tar.gz 132693 BLAKE2B d485ef841c00241023a9cb9bd0e1f994da3b5e79dad01281e0203e1561f788f8d1e8db97910d3a82ab3daafb3dceef1fe2897beee9f16e71350fdff27eba7fe0 SHA512 08b1a64849b329e6ad71b1d7011fac0833de068641270adaa009e9a17139968ab73add3786a508a8787ce1fcfe1f028a35b5434221e4f1f62bea56833e0e65dd DIST luacheck-0.23.0.tar.gz 158201 BLAKE2B c0780143a335b1deb7725819dbdac03446742fd459eed5a6de0cf3de5576f3be5379ff7086348b8880eba70dd5f7a1e719e9a09fdcc70abc293e1636f575ad57 SHA512 d76e4b22f1e9d868a8531ad51fb98607e5bfb1fbbd55053105d9978ba6c0455de99202c53d4e199733ea997863b26527fb84e7e9717209fd588f1d02db9db028 diff --git a/dev-lua/luacheck/luacheck-0.20.0-r1.ebuild b/dev-lua/luacheck/luacheck-0.20.0-r1.ebuild deleted file mode 100644 index 857d9ef215df..000000000000 --- a/dev-lua/luacheck/luacheck-0.20.0-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs - -DESCRIPTION="A tool for linting and static analysis of Lua code" -HOMEPAGE="https://github.com/mpeterv/luacheck" -SRC_URI="https://github.com/mpeterv/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm ppc ppc64 x86" -IUSE="doc luajit test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-lua/luafilesystem[luajit(-)=] - !luajit? ( >=dev-lang/lua-5.1:0= ) - luajit? ( dev-lang/luajit:2 )" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( dev-python/sphinx ) - test? ( dev-lua/busted )" - -DOCS=( CHANGELOG.md README.md ) - -src_compile() { - if use doc; then - sphinx-build docsrc html || die - fi -} - -src_test() { - busted -o gtest || die -} - -src_install() { - local instdir - instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" - insinto "${instdir#${EPREFIX}}" - doins -r src/luacheck - - newbin bin/luacheck.lua luacheck - - use doc && HTML_DOCS+=( html/. ) - - einstalldocs -} |