1 |
commit: 5efeceefb4335c346b2645d72e89c1baf51afffe |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 16 21:29:19 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 16 21:29:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5efeceef |
7 |
|
8 |
dev-lua/luacheck: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
dev-lua/luacheck/Manifest | 1 - |
14 |
dev-lua/luacheck/luacheck-0.23.0-r100.ebuild | 65 ---------------------------- |
15 |
2 files changed, 66 deletions(-) |
16 |
|
17 |
diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest |
18 |
index 569a64237db..c45ea5927c7 100644 |
19 |
--- a/dev-lua/luacheck/Manifest |
20 |
+++ b/dev-lua/luacheck/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST luacheck-0.23.0.tar.gz 158201 BLAKE2B c0780143a335b1deb7725819dbdac03446742fd459eed5a6de0cf3de5576f3be5379ff7086348b8880eba70dd5f7a1e719e9a09fdcc70abc293e1636f575ad57 SHA512 d76e4b22f1e9d868a8531ad51fb98607e5bfb1fbbd55053105d9978ba6c0455de99202c53d4e199733ea997863b26527fb84e7e9717209fd588f1d02db9db028 |
23 |
DIST luacheck-0.24.0.tar.gz 162474 BLAKE2B 6ec2b35deb2f0e5dacbe00e9d5adda7a1d66ee55475adf2b40cfff4d876cd44c9aec762e52bf02bb6f65cccc7c42203d94d3c9ed7a9f2311b3b7ae7bf8ab09e0 SHA512 759079d4a033c8af1d7c314f39bb75398b8ad89b627eaf8b60cf0a878c3ea86bd5e8993ad3d564746614b06b93b4100f016fdcb805d02b226e8e1e5b4c81c6d2 |
24 |
|
25 |
diff --git a/dev-lua/luacheck/luacheck-0.23.0-r100.ebuild b/dev-lua/luacheck/luacheck-0.23.0-r100.ebuild |
26 |
deleted file mode 100644 |
27 |
index c6355186b78..00000000000 |
28 |
--- a/dev-lua/luacheck/luacheck-0.23.0-r100.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,65 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-LUA_COMPAT=( lua5-{1..3} luajit ) |
37 |
- |
38 |
-inherit lua toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="A tool for linting and static analysis of Lua code" |
41 |
-HOMEPAGE="https://github.com/mpeterv/luacheck" |
42 |
-SRC_URI="https://github.com/mpeterv/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="MIT" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" |
47 |
-IUSE="doc test" |
48 |
-RESTRICT="!test? ( test )" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- dev-lua/lua-argparse[${LUA_USEDEP}] |
52 |
- dev-lua/lua-utf8[${LUA_USEDEP}] |
53 |
- dev-lua/luafilesystem[${LUA_USEDEP}] |
54 |
-" |
55 |
- |
56 |
-DEPEND="${RDEPEND}" |
57 |
- |
58 |
-BDEPEND=" |
59 |
- virtual/pkgconfig |
60 |
- doc? ( dev-python/sphinx ) |
61 |
- test? ( |
62 |
- >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] |
63 |
- ${RDEPEND} |
64 |
- ) |
65 |
-" |
66 |
- |
67 |
-PATCHES=( "${FILESDIR}/${PN}-0.23.0-disable-measuring-performance-test.patch" ) |
68 |
- |
69 |
-src_compile() { |
70 |
- if use doc; then |
71 |
- sphinx-build docsrc html || die |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
-lua_src_test() { |
76 |
- busted --lua=${ELUA} || die |
77 |
-} |
78 |
- |
79 |
-src_test() { |
80 |
- lua_foreach_impl lua_src_test |
81 |
-} |
82 |
- |
83 |
-lua_src_install() { |
84 |
- insinto "$(lua_get_lmod_dir)" |
85 |
- doins -r src/luacheck |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- lua_foreach_impl lua_src_install |
90 |
- |
91 |
- newbin bin/luacheck.lua luacheck |
92 |
- |
93 |
- use doc && local -a HTML_DOCS=( "html/." ) |
94 |
- einstalldocs |
95 |
-} |