Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luacheck/
Date: Sun, 29 Nov 2020 01:33:06
Message-Id: 1606613546.5f9219dac9d0235d4d7399f9004461eb248ac162.conikost@gentoo
1 commit: 5f9219dac9d0235d4d7399f9004461eb248ac162
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 01:28:22 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 01:32:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9219da
7
8 dev-lua/luacheck: drop old version
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-lua/luacheck/luacheck-0.23.0.ebuild | 54 ---------------------------------
14 1 file changed, 54 deletions(-)
15
16 diff --git a/dev-lua/luacheck/luacheck-0.23.0.ebuild b/dev-lua/luacheck/luacheck-0.23.0.ebuild
17 deleted file mode 100644
18 index bfdbe93ecb2..00000000000
19 --- a/dev-lua/luacheck/luacheck-0.23.0.ebuild
20 +++ /dev/null
21 @@ -1,54 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -inherit toolchain-funcs
27 -
28 -DESCRIPTION="A tool for linting and static analysis of Lua code"
29 -HOMEPAGE="https://github.com/mpeterv/luacheck"
30 -SRC_URI="https://github.com/mpeterv/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
31 -
32 -LICENSE="MIT"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~arm ~ppc64"
35 -IUSE="doc luajit test"
36 -RESTRICT="!test? ( test )"
37 -
38 -RDEPEND="
39 - dev-lua/lua-argparse[luajit=]
40 - dev-lua/luafilesystem[luajit(-)=]
41 - dev-lua/lua-utf8[luajit=]
42 - !luajit? ( >=dev-lang/lua-5.1:= )
43 - luajit? ( dev-lang/luajit:2 )"
44 -BDEPEND="
45 - virtual/pkgconfig
46 - doc? ( dev-python/sphinx )
47 - test? (
48 - ${RDEPEND}
49 - dev-lua/busted
50 - )"
51 -DEPEND="${RDEPEND}"
52 -
53 -src_compile() {
54 - if use doc; then
55 - sphinx-build docsrc html || die
56 - fi
57 -}
58 -
59 -src_test() {
60 - busted -o gtest || die
61 -}
62 -
63 -src_install() {
64 - local instdir
65 - instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
66 - insinto "${instdir#${EPREFIX}}"
67 - doins -r src/luacheck
68 -
69 - newbin bin/luacheck.lua luacheck
70 -
71 - use doc && local HTML_DOCS=( html/. )
72 -
73 - local -a DOCS=( CHANGELOG.md LICENSE README.md )
74 - einstalldocs
75 -}