diff options
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/Manifest.gz | bin | 7304 -> 7306 bytes | |||
-rw-r--r-- | dev-lua/busted/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/busted/busted-2.0.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-lua/busted/busted-2.1.1.ebuild | 63 | ||||
-rw-r--r-- | dev-lua/luassert/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/luassert/luassert-1.8.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-lua/luassert/luassert-1.9.0.ebuild | 54 |
7 files changed, 125 insertions, 4 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz Binary files differindex 32585a60265b..612ccd79b762 100644 --- a/dev-lua/Manifest.gz +++ b/dev-lua/Manifest.gz diff --git a/dev-lua/busted/Manifest b/dev-lua/busted/Manifest index 9958ef66da42..0d1d3ea23ff2 100644 --- a/dev-lua/busted/Manifest +++ b/dev-lua/busted/Manifest @@ -1,3 +1,5 @@ DIST busted-2.0.0.tar.gz 55002 BLAKE2B 39a3b7bf156911e25f94020f9e56b3f43b9f02b910a9d1c1f288dbdb83e5d53253d5b40d73df655844ed683cff7959d42c330c0d061db918385df07870e16da3 SHA512 3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf -EBUILD busted-2.0.0-r1.ebuild 1184 BLAKE2B 6cfedad1a93e4918b337e76e052d03746363572c719fe07a109ba99787643548ed3a4377a51b602603b5481d71ad737ae95fa4bedc3baeb68cadb1b85fc9f2da SHA512 37a8f0299093528fd5529769d35a55b79253986339bde919ae9abdc659596ae395e8eb1fc9a4e6b11b2e9491b59829455cb9bf78fe56a119b23d0167fcd12e81 +DIST busted-2.1.1.tar.gz 62594 BLAKE2B 3afd49dd70b27243e32f69d5d5a0a0ee13e46fdbe46fe6921e1b854abddaa45dba098f19c5994d5656eca871beacd654cac20abe0662c21f6e7efaff19984753 SHA512 80a362094398b85f2783ca11adfae1f7ead38b9de7d11d2c2f8234f2d8f1289dc853f58c11c375b8edd6ea87807a65cc8bce01ebcf7cdf75701796ee528a75a0 +EBUILD busted-2.0.0-r1.ebuild 1168 BLAKE2B 25f3ea9369b3f4c6f604204ffd8a927fcc2ab784dc19b9556555467d6492cbdbc748409a60d7f43373718af441d73c5e3d4c1efb38d81dcd8f49d8c6177a2948 SHA512 fa624d4e147ee8b684eec6e0997a999ab128739e558bc478807b1976aacb484145e02e4a5f6b72561e680f069ee8a45c92cf6413555cfb5fe05f524dc1330245 +EBUILD busted-2.1.1.ebuild 1163 BLAKE2B 3d33684d832f9dab21066f231660cda1ade3494323c83408d60bc8dec313197a4706de4a58a7d1438e90bc6c71a4835f16b6a27c0b946d198c7fee32f8cd4b07 SHA512 7714c510e5926bd2b4ca9deb0f2089f2f7c6b25633f5dd9bfe365d4a5cde0fb291dcb4bc6285fb96c8707362669dda8efc93b1213a6c08362a46e5d8ccf0f2e7 MISC metadata.xml 778 BLAKE2B eaa8fb83d2207baba024dbca322175de701610881c08ace237aaddc0567861fe6b70f8461ce6c63283b8b43014c4a27c96152e5365ed9f6ece5befed59cb4c94 SHA512 55476c9f7c2028125fb3e2ffe89f586e0409343988031a49adf6ab7cee3936ecc7501fcb1abbed1704fe820cf1e9de7735b93461e04b8622d367daefab93cdfe diff --git a/dev-lua/busted/busted-2.0.0-r1.ebuild b/dev-lua/busted/busted-2.0.0-r1.ebuild index 4629e0305062..1007ee198d62 100644 --- a/dev-lua/busted/busted-2.0.0-r1.ebuild +++ b/dev-lua/busted/busted-2.0.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) -inherit lua toolchain-funcs +inherit lua DESCRIPTION="Elegant Lua unit testing" HOMEPAGE="http://olivinelabs.com/busted/" diff --git a/dev-lua/busted/busted-2.1.1.ebuild b/dev-lua/busted/busted-2.1.1.ebuild new file mode 100644 index 000000000000..ec99171efacc --- /dev/null +++ b/dev-lua/busted/busted-2.1.1.ebuild @@ -0,0 +1,63 @@ +# 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="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 ~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 +} diff --git a/dev-lua/luassert/Manifest b/dev-lua/luassert/Manifest index 8cf258929634..d52ebe1fc0d7 100644 --- a/dev-lua/luassert/Manifest +++ b/dev-lua/luassert/Manifest @@ -1,4 +1,6 @@ AUX luassert-1.8.0-disable-highlightcolor-test.patch 2931 BLAKE2B dcf614b08aa0e89404d18e9bdc77ac5b723d577b8f5694f7fded74275c8ace59e938ddd2ad46b19a9ba7d8a36886d36db384d6fb439a2cccee77cf370e711060 SHA512 0bf9b3877e78183d5db3d33acb977f64e1aa7934f313838ffb5ec9b759283b21f071c619020ca4b8ec8aa36d9ea4e8082e3510d59d800fbd82fef74e0d8b9895 DIST luassert-1.8.0.tar.gz 38874 BLAKE2B ebc4aab1de5dc830d0b9266726ca6bf361e03000f3a8acd27c04805a6c963373755c8e163b187714f64178acc5d755c05493d745b55c785e3254dd41aa4bef31 SHA512 18b296fececa6b0d5950b2a20c4d30da3bbf9b0932c568bbb8ca212b5c82a1047b73c52ee72b4505a41a393d41dd21321189367e038dd029152d177e11bafc93 -EBUILD luassert-1.8.0-r1.ebuild 1024 BLAKE2B cc8bd0f50017a24f5bb9553d8842c4bc2000ef6707dad58d7d49996663d1bd4d394fca710fc07e6e9edba0136751d3cd25642adb70999462fa6db58d8e8117b1 SHA512 63c56717c2358670688074b4321060ba36ea98c954bc4169d8c362bc9195732aad6deddc3a7ab46916f22e85b0d2f25a2d41a1723aea4e50c9887e9c46984e6e +DIST luassert-1.9.0.tar.gz 42645 BLAKE2B 2541184bb5ee7a6a7e0c8e2fead8c4926a5d8384345dc173d60c9b52bb4cffe9f50e90980293465e1e5cadee337823abf77421d1cfc423eb32d9d73a7594a306 SHA512 267d31f0061376a4766c7e978bda9e4a2396c8bf959d4aaa347ad40bd286a3873441e38983e1e86ea07a1be7cf7c92d91248c4ba70d6dd4ec82f02c7f7638e9f +EBUILD luassert-1.8.0-r1.ebuild 1008 BLAKE2B aeea15204616df45d3dd9469f59d50481ff1be4152c25d6e2f50df45ab93175d0fafe49bc2618a7e095b086b46144b513e07415d80e5e3ca3686ebf9131ed776 SHA512 49d8e2f31ccb1cd5a3ab74d3a2aa828b566f0c23fb289413de2aef0509158ad92c0fd75c1ade7494b99bb0115779f4ed359e464e507601e3499259073f7c0228 +EBUILD luassert-1.9.0.ebuild 941 BLAKE2B bf320ce8c7cd4b5d306fc6fd1df7a659004301c3f76c01c4bc98e6b4a403e132fe44c00fdc8f0f7f74729ca0b1a8bd4421c297dc43a570d5d592e565acd4bd92 SHA512 ced15e22247dab1fb37ed0877abde9b02739c4012b6670adfba37db16ae426e755d7eb1f460e712e2c0dbf260e6af8048c4a19dee6678a769efe06a74a2f7d98 MISC metadata.xml 623 BLAKE2B 314b10b15a976e5db10ce4decd9a44157dd14ee49ed61bdf3193df9317b766ef57884e1e501cd3755fba5d686d7bf2d61ee54cd0170bb5d3996e1a49b835a239 SHA512 71e94894fb184314e80af6a4e6f493712aa61f5c8a9c8aabcecd10b9b08f11dff9378d9abcbc40bd0bd9142b3777bebb3e1d896e0b05106a24aa40b83ac66d8f diff --git a/dev-lua/luassert/luassert-1.8.0-r1.ebuild b/dev-lua/luassert/luassert-1.8.0-r1.ebuild index bf708d9813d6..9310edd6efbd 100644 --- a/dev-lua/luassert/luassert-1.8.0-r1.ebuild +++ b/dev-lua/luassert/luassert-1.8.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) -inherit lua toolchain-funcs +inherit lua DESCRIPTION="Assertion library for Lua" HOMEPAGE="http://olivinelabs.com/busted/" diff --git a/dev-lua/luassert/luassert-1.9.0.ebuild b/dev-lua/luassert/luassert-1.9.0.ebuild new file mode 100644 index 000000000000..3bfe540696f0 --- /dev/null +++ b/dev-lua/luassert/luassert-1.9.0.ebuild @@ -0,0 +1,54 @@ +# 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="Assertion library for Lua" +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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lua/say[${LUA_USEDEP}] + ${LUA_DEPS} +" + +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lua/busted[${LUA_USEDEP}] + dev-lua/lua_cliargs[${LUA_USEDEP}] + ${RDEPEND} + ) +" + +DEPEND="${RDEPEND}" + +lua_src_test() { + busted --lua=${ELUA} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir)/luassert + doins -r src/. + + einstalldocs +} + +src_install() { + lua_foreach_impl lua_src_install +} |