mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lua/luacov: add 0.17.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST luacov-0.16.0.tar.gz 481029 BLAKE2B 7a5aee3b6b0f24636ea4bf8dddd5d3e1fc51c24f04e3db02b55737d193e9408e6e0fba7d99e95f184d47c5152c3eefc34ecbdc0ad2376903b6e228d666f4320d SHA512 a28112e7c0527246dc83edbb33d5dd072729ccfe8ade697830ba074426853e76edde3e0b58eb3f1dafba08749788f7058eaccb3f6d8f47caede41db11c4a779f
|
||||
DIST luacov-0.17.0.tar.gz 481574 BLAKE2B f72df094b7f90dc72f4e87f985a02e6d359e8aeef06235b7c381de91baa07c2c1b4685d8069ed6ac5b9a453eab1e5dab3af97194bf5cb47c01494b2d02c544bb SHA512 f7a6b997bf242cdb4ee4589492243641e156f6f443f47c66021babd449f517ea5d9c480cbeeedc5268d9921953043e0463d5db949bb702efcf644da27b1fd3eb
|
||||
|
||||
54
dev-lua/luacov/luacov-0.17.0.ebuild
Normal file
54
dev-lua/luacov/luacov-0.17.0.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2026 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 simple coverage analyzer for Lua scripts"
|
||||
HOMEPAGE="https://github.com/keplerproject/luacov"
|
||||
SRC_URI="https://github.com/keplerproject/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${LUA_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-lua/busted[${LUA_USEDEP}]
|
||||
dev-lua/lua_cliargs[${LUA_USEDEP}]
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
HTML_DOCS=( "docs/." )
|
||||
|
||||
lua_src_test() {
|
||||
busted --lua=${ELUA} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua_foreach_impl lua_src_test
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
insinto "$(lua_get_lmod_dir)"
|
||||
doins src/luacov.lua
|
||||
doins -r src/luacov
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
|
||||
dobin src/bin/luacov
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user