public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luacheck/
Date: Fri, 24 May 2024 23:35:44 +0000 (UTC)	[thread overview]
Message-ID: <1716593717.76409c5ee79689fdbcb569e9657cd1c97c9f36c2.conikost@gentoo> (raw)

commit:     76409c5ee79689fdbcb569e9657cd1c97c9f36c2
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri May 24 22:11:13 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri May 24 23:35:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76409c5e

dev-lua/luacheck: add 1.2.0

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/luacheck/Manifest              |  1 +
 dev-lua/luacheck/luacheck-1.2.0.ebuild | 66 ++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest
index 96122383debe..e8199aa650b6 100644
--- a/dev-lua/luacheck/Manifest
+++ b/dev-lua/luacheck/Manifest
@@ -1 +1,2 @@
 DIST luacheck-1.1.2.tar.gz 179240 BLAKE2B 52fdf895e14ec42f86078c9a0be3adc91b0d51c525281ec19cc41671437ca2a29a79c1a826026de11b433368b306ddf2b21473b90975d1de1c13b160d208a25b SHA512 38b22cc0fd00905572859092c4138081c5be434b6e3314bc6cee14b859b0fa1dbb078c6474588891ec3e75b378a7be9a09ee164a4ef9291378193f3bdda10365
+DIST luacheck-1.2.0.tar.gz 183209 BLAKE2B 5c1260d87c523a2094071c674a71dce362be5ad65ca52094564b93d02c6ef7e662631769cbdbafe9c0cb4d2bcb61c5e46cbbc1a8fc9ed287043aafc2ebae9c90 SHA512 2bfe38056bab71cdaa8377212cc92048e3178f2deb1da8d61b9cefc400a9b5691772805f8bc1c4b4584c9530751103a2feeca41187c2d9496e975df5be373ff0

diff --git a/dev-lua/luacheck/luacheck-1.2.0.ebuild b/dev-lua/luacheck/luacheck-1.2.0.ebuild
new file mode 100644
index 000000000000..485692d5a5de
--- /dev/null
+++ b/dev-lua/luacheck/luacheck-1.2.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua
+
+DESCRIPTION="A tool for linting and static analysis of Lua code"
+HOMEPAGE="https://github.com/lunarmodules/luacheck"
+SRC_URI="https://github.com/lunarmodules/luacheck/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-lua/lua-argparse[${LUA_USEDEP}]
+	dev-lua/lua-utf8[${LUA_USEDEP}]
+	dev-lua/luafilesystem[${LUA_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+	virtual/pkgconfig
+	doc? ( dev-python/sphinx )
+	test? (
+		dev-lua/busted[${LUA_USEDEP}]
+		dev-lua/lua_cliargs[${LUA_USEDEP}]
+		${RDEPEND}
+	)
+"
+
+PATCHES=( "${FILESDIR}/${PN}-0.23.0-disable-measuring-performance-test.patch" )
+
+src_compile() {
+	if use doc; then
+		sphinx-build docsrc html || die
+	fi
+}
+
+lua_src_test() {
+	busted --lua=${ELUA} || die
+}
+
+src_test() {
+	lua_foreach_impl lua_src_test
+}
+
+lua_src_install() {
+	insinto "$(lua_get_lmod_dir)"
+	doins -r src/luacheck
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+
+	newbin bin/luacheck.lua luacheck
+
+	use doc && local -a HTML_DOCS=( "html/." )
+	einstalldocs
+}


             reply	other threads:[~2024-05-24 23:35 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 23:35 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-27 15:40 [gentoo-commits] repo/gentoo:master commit in: dev-lua/luacheck/ Conrad Kostecki
2024-06-27 15:40 Conrad Kostecki
2024-01-14  2:39 Conrad Kostecki
2024-01-14  2:39 Conrad Kostecki
2023-12-12 22:16 Conrad Kostecki
2023-12-12 22:16 Conrad Kostecki
2023-07-26  0:55 Sam James
2023-06-24 21:36 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2022-12-20 22:03 Conrad Kostecki
2022-12-20 22:03 Conrad Kostecki
2022-11-25 17:59 Conrad Kostecki
2022-03-12 11:54 Conrad Kostecki
2022-03-12 11:54 Conrad Kostecki
2021-09-18 12:29 Marek Szuba
2021-05-25 16:21 Georgy Yakovlev
2021-04-22 19:31 Sergei Trofimovich
2021-04-21 21:03 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-04-16 21:29 Conrad Kostecki
2021-04-16 21:29 Conrad Kostecki
2021-04-16 21:29 Conrad Kostecki
2021-03-16 17:37 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-11  8:01 Sam James
2021-01-09 16:22 Sam James
2020-12-17 14:17 Conrad Kostecki
2020-12-17 13:53 Conrad Kostecki
2020-12-17 13:09 Conrad Kostecki
2020-12-17 13:09 Conrad Kostecki
2020-12-17 12:48 Sam James
2020-12-03 13:50 Marek Szuba
2020-12-03  5:04 Sam James
2020-11-30 13:33 Conrad Kostecki
2020-11-29 17:11 Sergei Trofimovich
2020-11-29  1:37 Conrad Kostecki
2020-11-29  1:33 Conrad Kostecki
2020-11-29  1:33 Conrad Kostecki
2020-11-29  1:33 Conrad Kostecki
2020-11-29  1:33 Conrad Kostecki
2020-09-04 23:31 Sam James
2020-03-15 23:36 Georgy Yakovlev
2020-03-15 23:31 Georgy Yakovlev
2020-03-15 23:31 Georgy Yakovlev
2019-07-29 14:41 Mikle Kolyada
2019-05-24 22:51 Sergei Trofimovich
2019-05-24 22:08 Sergei Trofimovich
2019-05-12 20:56 Thomas Deutschmann
2018-07-07 12:15 Jonas Stein
2018-04-21 22:56 Aaron Bauman
2018-04-21 16:00 Mikle Kolyada
2018-04-01 11:48 Mikle Kolyada
2018-03-27  8:06 Sergei Trofimovich
2018-03-27  7:31 Sergei Trofimovich
2017-09-02  8:45 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1716593717.76409c5ee79689fdbcb569e9657cd1c97c9f36c2.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox