summaryrefslogtreecommitdiff
path: root/dev-lua/luacov
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/luacov')
-rw-r--r--dev-lua/luacov/Manifest7
-rw-r--r--dev-lua/luacov/luacov-0.14.0-r100.ebuild53
-rw-r--r--dev-lua/luacov/luacov-0.14.0.ebuild46
-rw-r--r--dev-lua/luacov/luacov-0.8.ebuild4
-rw-r--r--dev-lua/luacov/metadata.xml4
5 files changed, 110 insertions, 4 deletions
diff --git a/dev-lua/luacov/Manifest b/dev-lua/luacov/Manifest
index 6350be172825..e7b2773ed31e 100644
--- a/dev-lua/luacov/Manifest
+++ b/dev-lua/luacov/Manifest
@@ -1,4 +1,7 @@
AUX luacov-0.8-fix-makefile.patch 681 BLAKE2B b3f81e28207a97a774a4da75723d006ab043bc4363757ffee44e7b456b44e5ce31e8dcea5dc6f5989595ebef98f4c546c5ae64dc52be7dbc3e2243f9bcad597b SHA512 603ac926108e30d511ac0fba66576fbbf7b98b468bed1a0026addf6f0361b38e41b9d967f983b3a8147b853055538e2ec2f87efc896542e87b73073bc0a881ba
+DIST luacov-0.14.0.tar.gz 49571 BLAKE2B 2248fc00e1af0a1cdec923bbe6150ae682cc1ba814c77f21bc86269d723ea80542fb48fe62980de2527040598b7b9c87f92f146d6c62abde06651fa6733c75c5 SHA512 44ea158ce597f705d80b9768676e401804daea91b9c2afb146a8d25aae612e895e4f42a29c4b7b3438659c596fa500af5d23b66b7f3477459747ad06ca9b7ffa
DIST luacov-0.8.tar.gz 33613 BLAKE2B 942c47de25dbd53de445e1ed1fa924f1be278da4c3b134e4a603f4a5ab5090f87d762c48163cf82ed9bab585e35b0528c330b3dc849e0043ccc96532107c8a94 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11
-EBUILD luacov-0.8.ebuild 747 BLAKE2B e10a473a15575943822d8991d1e3a1181f28cfa49e4fdcf433fef147ff412214685fdcd209b6da9eef7e677ad15002a22e1755454a0c86d6213a2ced860bd232 SHA512 e81255d4b67320c740e3365d06d2bd5e4f3325f01a294f65b6dcfc3af4ec07a8538870729f612178239659904566e2274995ee8fe613db57c3353f7ac81711e5
-MISC metadata.xml 333 BLAKE2B 44004b691534cc3e6c3c15893c4072e1d6f6b75efcb60e4b878623905bfe4f58f2d0937dda4d0a390e0cf1180888110a95e8d73dd6c49e12c403127be1ec80f5 SHA512 def342f3921b136c3707595b1fd7065a439c682afc0f26e8cf5074bfad07436e35e7cbe572f1d87d911916991263545348d8c68e9e035789fa3f241710ef7431
+EBUILD luacov-0.14.0-r100.ebuild 926 BLAKE2B ae2b4f00201d9a4d17ffabd7ea0d070fded35bc937a8104a4fd9c197911be780cb1c1026498bc9f5d02e4d85b1c4014ea6fa9b4ea4013bbe9bdf9839289672ca SHA512 85d48dead19eca935b1953c3765ef71095a59c05bb3dfee2ee1d4c024e68e9312fb47c343ea0834ac6adab6e8278e0f0f9daba055c10a3f49808a6e6356742ca
+EBUILD luacov-0.14.0.ebuild 918 BLAKE2B ba1ac686f6c27cd20c60305d033871a32ced04a14568d964c0e0218ded7bdde382bd21c3dd27708518f3d7a5394305c369313830f59d56c9c597d2a751dcf28e SHA512 dffd8fe81badd34b30f934f920db250d5de56ce9ae4c41d3ce79b1ce0a0e588f0394dbc13c5210bd5edeb581984ba71f5a08ed14a0127ab9b698d00a3a092a84
+EBUILD luacov-0.8.ebuild 745 BLAKE2B bd3cdbb5949c1b5c1d56f44e3011cbca14bf3b44214e204fdcbf070e6afdb04b17bb381dc1c3a6835e8effff35d1708cea79be1055441660ab89f491f94e97a2 SHA512 57a4527d75deb98a74215538ebdee6ab17731c3884191f68d8556f1714187b61e5f7e4528b6d9b86526f8fa4a68e44ad261d551f65ae50a9c78c5950a4d6f278
+MISC metadata.xml 444 BLAKE2B df7d267a7898a881b15602c91495029c54b064d8a3415ed44d404cad9425ed78269470f632df654291838bfa10e0f34a3dc0deec6f3bae979d6495ea4b4b14c1 SHA512 d9238e357035e46dbb66af1ff1a7a5e1c552b31f5c9cc526183dea163637fb94058a1345cdf73682d49494d9eb9995d802c4b7bcbac54787dbbe6c2a5de42ae1
diff --git a/dev-lua/luacov/luacov-0.14.0-r100.ebuild b/dev-lua/luacov/luacov-0.14.0-r100.ebuild
new file mode 100644
index 000000000000..9f9d91d40d6d
--- /dev/null
+++ b/dev-lua/luacov/luacov-0.14.0-r100.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..3} 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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~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}]
+ ${RDEPEND}
+ )
+"
+
+HTML_DOCS=( "doc/." )
+
+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
+}
diff --git a/dev-lua/luacov/luacov-0.14.0.ebuild b/dev-lua/luacov/luacov-0.14.0.ebuild
new file mode 100644
index 000000000000..ab0c2bbc60d2
--- /dev/null
+++ b/dev-lua/luacov/luacov-0.14.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A simple coverage analyzer for Lua scripts"
+HOMEPAGE="https://github.com/keplerproject/luacov"
+SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="luajit test"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( dev-lang/lua:0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-lua/busted
+ ${RDEPEND}
+ )
+"
+
+HTML_DOCS=( "doc/." )
+
+src_test() {
+ busted --lua="$(usex luajit 'luajit' 'lua')" || die
+}
+
+src_install() {
+ dobin src/bin/luacov
+
+ insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
+ doins src/luacov.lua
+ doins -r src/luacov
+
+ einstalldocs
+}
diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild
index 280c33a87c1f..97c531edf6c9 100644
--- a/dev-lua/luacov/luacov-0.8.ebuild
+++ b/dev-lua/luacov/luacov-0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-COMMON_DEPEND=">=dev-lang/lua-5.1:="
+COMMON_DEPEND=">=dev-lang/lua-5.1:0="
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}"
diff --git a/dev-lua/luacov/metadata.xml b/dev-lua/luacov/metadata.xml
index 772969c18c24..09de5599f7cc 100644
--- a/dev-lua/luacov/metadata.xml
+++ b/dev-lua/luacov/metadata.xml
@@ -5,6 +5,10 @@
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
<upstream>
<remote-id type="github">keplerproject/luacov</remote-id>
</upstream>