summaryrefslogtreecommitdiff
path: root/dev-lua/luacheck
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-lua/luacheck
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-lua/luacheck')
-rw-r--r--dev-lua/luacheck/Manifest1
-rw-r--r--dev-lua/luacheck/files/luacheck-0.23.0-disable-measuring-performance-test.patch13
-rw-r--r--dev-lua/luacheck/luacheck-1.2.0.ebuild66
-rw-r--r--dev-lua/luacheck/metadata.xml19
4 files changed, 0 insertions, 99 deletions
diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest
deleted file mode 100644
index 41aaef789053..000000000000
--- a/dev-lua/luacheck/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST luacheck-1.2.0.tar.gz 183209 BLAKE2B 5c1260d87c523a2094071c674a71dce362be5ad65ca52094564b93d02c6ef7e662631769cbdbafe9c0cb4d2bcb61c5e46cbbc1a8fc9ed287043aafc2ebae9c90 SHA512 2bfe38056bab71cdaa8377212cc92048e3178f2deb1da8d61b9cefc400a9b5691772805f8bc1c4b4584c9530751103a2feeca41187c2d9496e975df5be373ff0
diff --git a/dev-lua/luacheck/files/luacheck-0.23.0-disable-measuring-performance-test.patch b/dev-lua/luacheck/files/luacheck-0.23.0-disable-measuring-performance-test.patch
deleted file mode 100644
index 04d40ec958b6..000000000000
--- a/dev-lua/luacheck/files/luacheck-0.23.0-disable-measuring-performance-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/spec/cli_spec.lua
-+++ b/spec/cli_spec.lua
-@@ -68,10 +68,6 @@
- assert.equal(0, get_exitcode "spec/samples/good_code.lua --no-config")
- end)
-
-- it("allows measuring performance", function()
-- assert.equal(0, get_exitcode "spec/samples/good_code.lua --no-config --profile")
-- end)
--
- it("removes ./ in the beginnings of file names", function()
- assert.equal([[
- Checking spec/samples/good_code.lua OK
diff --git a/dev-lua/luacheck/luacheck-1.2.0.ebuild b/dev-lua/luacheck/luacheck-1.2.0.ebuild
deleted file mode 100644
index 9228a8965069..000000000000
--- a/dev-lua/luacheck/luacheck-1.2.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,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 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
-}
diff --git a/dev-lua/luacheck/metadata.xml b/dev-lua/luacheck/metadata.xml
deleted file mode 100644
index 8bc8d9434e33..000000000000
--- a/dev-lua/luacheck/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>conikost@gentoo.org</email>
- <name>Conrad Kostecki</name>
- </maintainer>
- <stabilize-allarches/>
- <longdescription lang="en">
- A tool for linting and static analysis of Lua code.
- Luacheck supports checking Lua files using syntax of
- Lua 5.1, Lua 5.2, Lua 5.3, Lua 5.4 and LuaJIT.
- Luacheck itself is written in Lua and runs on all of mentioned Lua versions.
- </longdescription>
- <upstream>
- <remote-id type="github">lunarmodules/luacheck</remote-id>
- <remote-id type="github">mpeterv/luacheck</remote-id>
- </upstream>
-</pkgmetadata>