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: Tue, 31 Jan 2023 15:17:48
Message-Id: 1675178129.2b84d8f039483e85d39e745c3451bb8744dbab3a.conikost@gentoo
1 commit: 2b84d8f039483e85d39e745c3451bb8744dbab3a
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 31 03:17:51 2023 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 15:15:29 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b84d8f0
7
8 dev-lua/luacheck: drop 0.25.0, 1.0.0
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 dev-lua/luacheck/Manifest | 2 -
13 dev-lua/luacheck/luacheck-0.25.0.ebuild | 66 ---------------------------------
14 dev-lua/luacheck/luacheck-1.0.0.ebuild | 66 ---------------------------------
15 3 files changed, 134 deletions(-)
16
17 diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest
18 index c019ca4a72d3..4244f06164f4 100644
19 --- a/dev-lua/luacheck/Manifest
20 +++ b/dev-lua/luacheck/Manifest
21 @@ -1,3 +1 @@
22 -DIST luacheck-0.25.0.tar.gz 162675 BLAKE2B 143de767f004cb485abc4952eafc4d02c16ca4d421397d0179113ddaeacc2cd7ba2b4b8eed48f9a05169c5e20ae53aaef8c5253ab1d7c7e4b178218fab0e03d6 SHA512 7f9f02464cb40462c321dd23e32263913ead2bf4eace6907d51a5b570a6a19a378b12660c98e63ca447cfc507dfb491d54b093af3962f12596a7c6088c8dc867
23 -DIST luacheck-1.0.0.tar.gz 177029 BLAKE2B f56315663f571c71944e4739956eb45600cfc324cbc6914a65ac45a6923f49cba7201bde18390d7ce7a374aa561680de05988c3a283c936658d1cda18f8f6b24 SHA512 f6703fb1b72b8ff8dd4b15bb1e5f7fa81607ee13505fd927e427f0b1043949c5dbc014020759dd8b63ec2013698b4086e773625bc925568970787c8e40e282cd
24 DIST luacheck-1.1.0.tar.gz 178588 BLAKE2B 9e1946cc3c88d7690d3cdb8e70be3dde1b863d1c55a6b5bef755715456671c13c862686f888098b878d10a2c1ec1b83ed6b26b01ebc884047c9908fa6bc2ead7 SHA512 aca1145b64070468ce8e3de1130f0cadba0dbef14ce61fef0a234ef5e890e69f1bd9dfebaa30c38a8e62405d08e1f0319748e00fc403ba093c5945ca438e0c40
25
26 diff --git a/dev-lua/luacheck/luacheck-0.25.0.ebuild b/dev-lua/luacheck/luacheck-0.25.0.ebuild
27 deleted file mode 100644
28 index 7825bede27ac..000000000000
29 --- a/dev-lua/luacheck/luacheck-0.25.0.ebuild
30 +++ /dev/null
31 @@ -1,66 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -LUA_COMPAT=( lua5-{1..4} luajit )
38 -
39 -inherit lua
40 -
41 -DESCRIPTION="A tool for linting and static analysis of Lua code"
42 -HOMEPAGE="https://github.com/lunarmodules/luacheck"
43 -SRC_URI="https://github.com/lunarmodules/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86"
48 -IUSE="doc test"
49 -RESTRICT="!test? ( test )"
50 -
51 -RDEPEND="
52 - dev-lua/lua-argparse[${LUA_USEDEP}]
53 - dev-lua/lua-utf8[${LUA_USEDEP}]
54 - dev-lua/luafilesystem[${LUA_USEDEP}]
55 -"
56 -
57 -DEPEND="${RDEPEND}"
58 -
59 -BDEPEND="
60 - virtual/pkgconfig
61 - doc? ( dev-python/sphinx )
62 - test? (
63 - dev-lua/busted[${LUA_USEDEP}]
64 - dev-lua/lua_cliargs[${LUA_USEDEP}]
65 - ${RDEPEND}
66 - )
67 -"
68 -
69 -PATCHES=( "${FILESDIR}/${PN}-0.23.0-disable-measuring-performance-test.patch" )
70 -
71 -src_compile() {
72 - if use doc; then
73 - sphinx-build docsrc html || die
74 - fi
75 -}
76 -
77 -lua_src_test() {
78 - busted --lua=${ELUA} || die
79 -}
80 -
81 -src_test() {
82 - lua_foreach_impl lua_src_test
83 -}
84 -
85 -lua_src_install() {
86 - insinto "$(lua_get_lmod_dir)"
87 - doins -r src/luacheck
88 -}
89 -
90 -src_install() {
91 - lua_foreach_impl lua_src_install
92 -
93 - newbin bin/luacheck.lua luacheck
94 -
95 - use doc && local -a HTML_DOCS=( "html/." )
96 - einstalldocs
97 -}
98
99 diff --git a/dev-lua/luacheck/luacheck-1.0.0.ebuild b/dev-lua/luacheck/luacheck-1.0.0.ebuild
100 deleted file mode 100644
101 index 19c86f745198..000000000000
102 --- a/dev-lua/luacheck/luacheck-1.0.0.ebuild
103 +++ /dev/null
104 @@ -1,66 +0,0 @@
105 -# Copyright 1999-2022 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=8
109 -
110 -LUA_COMPAT=( lua5-{1..4} luajit )
111 -
112 -inherit lua
113 -
114 -DESCRIPTION="A tool for linting and static analysis of Lua code"
115 -HOMEPAGE="https://github.com/lunarmodules/luacheck"
116 -SRC_URI="https://github.com/lunarmodules/luacheck/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
117 -
118 -LICENSE="MIT"
119 -SLOT="0"
120 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
121 -IUSE="doc test"
122 -RESTRICT="!test? ( test )"
123 -
124 -RDEPEND="
125 - dev-lua/lua-argparse[${LUA_USEDEP}]
126 - dev-lua/lua-utf8[${LUA_USEDEP}]
127 - dev-lua/luafilesystem[${LUA_USEDEP}]
128 -"
129 -
130 -DEPEND="${RDEPEND}"
131 -
132 -BDEPEND="
133 - virtual/pkgconfig
134 - doc? ( dev-python/sphinx )
135 - test? (
136 - dev-lua/busted[${LUA_USEDEP}]
137 - dev-lua/lua_cliargs[${LUA_USEDEP}]
138 - ${RDEPEND}
139 - )
140 -"
141 -
142 -PATCHES=( "${FILESDIR}/${PN}-0.23.0-disable-measuring-performance-test.patch" )
143 -
144 -src_compile() {
145 - if use doc; then
146 - sphinx-build docsrc html || die
147 - fi
148 -}
149 -
150 -lua_src_test() {
151 - busted --lua=${ELUA} || die
152 -}
153 -
154 -src_test() {
155 - lua_foreach_impl lua_src_test
156 -}
157 -
158 -lua_src_install() {
159 - insinto "$(lua_get_lmod_dir)"
160 - doins -r src/luacheck
161 -}
162 -
163 -src_install() {
164 - lua_foreach_impl lua_src_install
165 -
166 - newbin bin/luacheck.lua luacheck
167 -
168 - use doc && local -a HTML_DOCS=( "html/." )
169 - einstalldocs
170 -}