summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Payno <vpayno+gentoo@gmail.com>2020-01-24 16:05:06 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-04-06 18:31:48 -0700
commit8124faba9e574864d3204b8db1363dee13de527a (patch)
tree7e3db6015d4d0be31ba6f77862f39f2b4f40526e /dev-lua
parentsys-boot/syslinux: tweak for gcc-10, bug #705730 (diff)
downloadgentoo-8124faba9e574864d3204b8db1363dee13de527a.tar.gz
gentoo-8124faba9e574864d3204b8db1363dee13de527a.tar.bz2
gentoo-8124faba9e574864d3204b8db1363dee13de527a.zip
dev-lua/luassert: version bump to 1.8.0
Signed-off-by: Victor Payno <vpayno+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14439 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luassert/Manifest1
-rw-r--r--dev-lua/luassert/luassert-1.8.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-lua/luassert/Manifest b/dev-lua/luassert/Manifest
index 4e2859d2cf3..1ad020a3037 100644
--- a/dev-lua/luassert/Manifest
+++ b/dev-lua/luassert/Manifest
@@ -1,2 +1,3 @@
DIST luassert-1.7.10.tar.gz 35789 BLAKE2B c9aaca445272957a5d67d09700f6dc4c1c6c191d3ea274b97afe874f2f5ea1dfda051bd5674d33b9c040e55aed05f2c7baf01431d762223db57cd05b1c4a68a5 SHA512 2d5ca354b5f7b971f0d3420c305d921143cd7f9e1a6f4559cb466b833886a00a045e7b7c594bd9ec3c929b3d5bb8a7a4a6de75a6599e5cba7614b7652061bf05
DIST luassert-1.7.9.tar.gz 34803 BLAKE2B bcaacff85ddd1c85b39241dbd2c7eef28f3697318e2a942521dd60eade5dfc9da9f0c69d570f5a9556b49609f1bb79250cec9ba39a98e4a65627d6479f9e2f2a SHA512 4e1257bf7adaa9002af7c6ac15f2d042c9094ceeae9ce065c51296c663a99fa239ac8d37f106151100478cde8c68d3290b42588553ac681d183e7edef288414b
+DIST luassert-1.8.0.tar.gz 38874 BLAKE2B ebc4aab1de5dc830d0b9266726ca6bf361e03000f3a8acd27c04805a6c963373755c8e163b187714f64178acc5d755c05493d745b55c785e3254dd41aa4bef31 SHA512 18b296fececa6b0d5950b2a20c4d30da3bbf9b0932c568bbb8ca212b5c82a1047b73c52ee72b4505a41a393d41dd21321189367e038dd029152d177e11bafc93
diff --git a/dev-lua/luassert/luassert-1.8.0.ebuild b/dev-lua/luassert/luassert-1.8.0.ebuild
new file mode 100644
index 00000000000..a0544d7aa06
--- /dev/null
+++ b/dev-lua/luassert/luassert-1.8.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Lua Assertions Extension"
+HOMEPAGE="http://olivinelabs.com/busted/"
+SRC_URI="https://github.com/Olivine-Labs/luassert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="luajit test"
+RESTRICT="test" # Requires same version to be installed or busted will fail.
+
+RDEPEND="
+ >=dev-lua/say-1.3_p1[luajit(-)=]
+ !luajit? ( >=dev-lang/lua-5.1:= )
+ luajit? ( dev-lang/luajit:2 )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ ${RDEPEND}
+ dev-lua/busted
+ )
+"
+
+DEPEND="${RDEPEND}"
+
+src_test() {
+ busted -o gtest || die
+}
+
+src_install() {
+ local instdir
+ instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"/${PN}
+ insinto "${instdir#${EPREFIX}}"
+ doins -r src/*
+ local -a DOCS=( CONTRIBUTING.md LICENSE README.md )
+ einstalldocs
+}