mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lua/busted: drop 2.2.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST busted-2.2.0.tar.gz 65027 BLAKE2B c04d3cc3782b9ac5af42b0cc2619b0265230f0313791d6f06d73998b98440ae0aa3618efdeca055022e4685ee53320513cb39c7dbbd66a546f203525440eac87 SHA512 86789ddb93e1b7958a0a6f447ce17532a60d0af27df21159100d3ee8a98496ae30d5a22939e91cbbfac805df118be1ed571360f90a3b31b81d654e493e77b0b7
|
||||
DIST busted-2.3.0.tar.gz 67008 BLAKE2B c8dac4b12f863196d95afc2f54543b0ba7ee1f2558f920e8930561fc5242509d8a6d75307ad4b1069db648616b238d3c245db9b697f35fe74f498e08074c636a SHA512 5d2079881ea77d4d722016adf0b47937c9304e89924fcb27a4537010a27c1b0bab7c9e30298b1a73f2228a91df32b99089e4dd672c72d80ce3d95fc1f9c3ab05
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit lua
|
||||
|
||||
DESCRIPTION="Elegant Lua unit testing"
|
||||
HOMEPAGE="https://lunarmodules.github.io/busted/"
|
||||
SRC_URI="https://github.com/lunarmodules/${PN}/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="test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lua/lua_cliargs[${LUA_USEDEP}]
|
||||
dev-lua/luafilesystem[${LUA_USEDEP}]
|
||||
dev-lua/luasystem[${LUA_USEDEP}]
|
||||
dev-lua/dkjson[${LUA_USEDEP}]
|
||||
dev-lua/say[${LUA_USEDEP}]
|
||||
dev-lua/luassert[${LUA_USEDEP}]
|
||||
dev-lua/lua-term[${LUA_USEDEP}]
|
||||
dev-lua/penlight[${LUA_USEDEP}]
|
||||
dev-lua/mediator_lua[${LUA_USEDEP}]
|
||||
${LUA_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-lua/busted
|
||||
${RDEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
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 busted
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/busted
|
||||
|
||||
lua_foreach_impl lua_src_install
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user