mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lua/busted: drop 2.1.1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST busted-2.1.1.tar.gz 62594 BLAKE2B 3afd49dd70b27243e32f69d5d5a0a0ee13e46fdbe46fe6921e1b854abddaa45dba098f19c5994d5656eca871beacd654cac20abe0662c21f6e7efaff19984753 SHA512 80a362094398b85f2783ca11adfae1f7ead38b9de7d11d2c2f8234f2d8f1289dc853f58c11c375b8edd6ea87807a65cc8bce01ebcf7cdf75701796ee528a75a0
|
||||
DIST busted-2.1.2.tar.gz 63587 BLAKE2B e88ad47753e2343a98a4d06eff3ec92bc029ac49a33712beeec56776e1e3340e43135206ff24317065fcebaaa045f6c7e3ebc61d713dbd167d19adf9859b65fe SHA512 87aa9bf36c946b22940b2f3361d66fc59af7042deaa695c576f80602f825d5c9334b91edce4fb297098deb3edb574a10aebfd552866f039a1fb640978e022f18
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2022 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 ~ia64 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