diff options
author | 2020-01-24 14:58:32 -0800 | |
---|---|---|
committer | 2020-03-15 17:13:03 -0700 | |
commit | cd013a269b98dc27e3f9f69fce40279010131fcc (patch) | |
tree | dd2823787c2e90d903fea8113bfd438989c7007d /dev-lua/busted/busted-2.0.0.ebuild | |
parent | dev-lua/penlight: version bump to 1.7.0 (diff) | |
download | gentoo-cd013a269b98dc27e3f9f69fce40279010131fcc.tar.gz gentoo-cd013a269b98dc27e3f9f69fce40279010131fcc.tar.bz2 gentoo-cd013a269b98dc27e3f9f69fce40279010131fcc.zip |
dev-lua/busted: version bump to 2.0.0
Signed-off-by: Victor Payno <vpayno+gentoo@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14478
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lua/busted/busted-2.0.0.ebuild')
-rw-r--r-- | dev-lua/busted/busted-2.0.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-lua/busted/busted-2.0.0.ebuild b/dev-lua/busted/busted-2.0.0.ebuild new file mode 100644 index 000000000000..72b120bd9650 --- /dev/null +++ b/dev-lua/busted/busted-2.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Elegant Lua unit testing" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/lua-5.1:= + >=dev-lua/lua_cliargs-3.0 + >=dev-lua/luafilesystem-1.5.0 + >=dev-lua/luasystem-0.2.0 + >=dev-lua/dkjson-2.1.0 + >=dev-lua/say-1.3 + >=dev-lua/luassert-1.7.8 + >=dev-lua/lua-term-0.1_p1 + >=dev-lua/penlight-1.3.2 + >=dev-lua/mediator_lua-1.1.1_p0 +" +BDEPEND=" + virtual/pkgconfig + test? ( + ${RDEPEND} + >=dev-lua/busted-2.0.0 + ) +" +DEPEND="${RDEPEND}" + +src_test() { + busted ./spec || die +} + +src_install() { + dobin bin/busted + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN} + doins -r busted/* + dodoc *.md +} |