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:07
Message-Id: 1606613547.6634cdc743b4824d44c9d465d4084ba4c5eb0591.conikost@gentoo
1 commit: 6634cdc743b4824d44c9d465d4084ba4c5eb0591
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 01:31:38 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 01:32:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6634cdc7
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.20.0.ebuild | 49 ---------------------------------
14 1 file changed, 49 deletions(-)
15
16 diff --git a/dev-lua/luacheck/luacheck-0.20.0.ebuild b/dev-lua/luacheck/luacheck-0.20.0.ebuild
17 deleted file mode 100644
18 index 070046152a0..00000000000
19 --- a/dev-lua/luacheck/luacheck-0.20.0.ebuild
20 +++ /dev/null
21 @@ -1,49 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
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 ppc ppc64 x86"
35 -IUSE="doc luajit test"
36 -RESTRICT="!test? ( test )"
37 -
38 -RDEPEND="
39 - dev-lua/luafilesystem[luajit=]
40 - !luajit? ( >=dev-lang/lua-5.1:= )
41 - luajit? ( dev-lang/luajit:2 )"
42 -DEPEND="${RDEPEND}
43 - virtual/pkgconfig
44 - doc? ( dev-python/sphinx )
45 - test? ( dev-lua/busted )"
46 -
47 -DOCS=( CHANGELOG.md README.md )
48 -
49 -src_compile() {
50 - if use doc; then
51 - sphinx-build docsrc html || die
52 - fi
53 -}
54 -
55 -src_test() {
56 - busted -o gtest || die
57 -}
58 -
59 -src_install() {
60 - local instdir
61 - instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
62 - insinto "${instdir#${EPREFIX}}"
63 - doins -r src/luacheck
64 -
65 - newbin bin/luacheck.lua luacheck
66 -
67 - use doc && HTML_DOCS+=( html/. )
68 -
69 - einstalldocs
70 -}