diff options
Diffstat (limited to 'dev-lua')
43 files changed, 697 insertions, 38 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz Binary files differindex e7fb4cb36634..ffeb354da2e8 100644 --- a/dev-lua/Manifest.gz +++ b/dev-lua/Manifest.gz diff --git a/dev-lua/busted/Manifest b/dev-lua/busted/Manifest index 6d528b6fe2fa..bddf34b58528 100644 --- a/dev-lua/busted/Manifest +++ b/dev-lua/busted/Manifest @@ -1,7 +1,8 @@ DIST busted-2.0.0.tar.gz 55002 BLAKE2B 39a3b7bf156911e25f94020f9e56b3f43b9f02b910a9d1c1f288dbdb83e5d53253d5b40d73df655844ed683cff7959d42c330c0d061db918385df07870e16da3 SHA512 3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf DIST busted-2.0_rc11_p0.tar.gz 48368 BLAKE2B 3e4534795a4d6bd816b9879d447b82e144f738f3601856e5c9fc5419a6b8f3cb57a78a9ce6ad90990c1abe9fe0974b809d10a942b5f4930b4120f98d34de0dbe SHA512 f09cd5ad2be05b37254e9d602433639340b020e0670e8a435f1ee1d312eced37e284c2f5a398d7a0403fac0023851b74dbe659373e495c5354f48baed814c4b8 DIST busted-2.0_rc12_p1.tar.gz 52404 BLAKE2B 51f12aea26d6b0909fdbf8953b316814ff8cd76d39358a26eb785ac7541acddbfde1b19d2e41c9e966a604f8f00b9517181f87264a76a4ac7f9f8d6008c87692 SHA512 0cb1f6a66110514dc3675b2e667cca676e6672e895b57ffba438e89a1e0a7f4f8f941cab54ead905758987be15e9885e1eeb82baabc9d18bf29ea56b832b89b1 -EBUILD busted-2.0.0.ebuild 962 BLAKE2B 91095a86046dcde63aff9aea89ef3733b16413fea337326584e462a8d84475a0895ecd5b7745b6535d34036f92f2ae3ed3ed2b05e075ca12b42b648abdd2f7f1 SHA512 28f990886b3b99253e7dad34b93d8f5328411a1c1a4b2f215a02929f94f8666efce462c46004a3c64e5126b70f75aafb657193faac7f6429f1a8a618b057e9ad +EBUILD busted-2.0.0-r101.ebuild 1298 BLAKE2B f609e4d50f28cdedb8cc7201e20bd335a583f729f4547bf9d43d7aaa4e451148a5e67a17beb556a0535a18ec02fe8a4e502cb9c243e9359544bf3e9b24f0bca6 SHA512 bca19ddadf2ac1d743f2d7b269dd9ca618410e0561fbea3f63df4d82ce7a8bfb4edad37306e5eee3518e9c6a7884d71bdfc1c6b11d5b70028fc734c743269194 +EBUILD busted-2.0.0.ebuild 961 BLAKE2B 36bfd4e16bea39fde179a7da04840a3bd151a95a18041b9c5b83c59547090dded90183e88a546f32bed1c67804a33128231792702a1196445acb9a64ea169ec4 SHA512 3dbe619392c2e60581aafa1811ce7e130f03cbed10fcac6c4c36b5aef0849166d5c8850dbdbeab26f9c2a1bfdbc6cc2da3ac8c60afef39f5858b64d3318cc93a EBUILD busted-2.0_rc11_p0.ebuild 1021 BLAKE2B 6be1c981d3259907dcbd7878c11f6eeb9894ebddd9eda8559881c087bec7e4a1f7d8016765920148defac4644bef46f82b107b4136866e1377c7465f184431cb SHA512 47e1e443cbce25838a3647d2aadcdf244219abff50be7a4cac51906a65ee8dbe2b122145de4c84cd18384c5aa1c4b818d308bb733a4af77e16bff9cf15b16ffe EBUILD busted-2.0_rc12_p1.ebuild 1037 BLAKE2B 51659b876392952b2a23b9dd99cca97e1b7ef48b0e23760206a0f282a4e4892afe93f743b611732a95096431627c4196119115af8fd3f7c3030b3588744ecbf7 SHA512 af2b746bb71fdd39e34d82c6b056919665ae63abbc1d7fbef35610a2b65e0a9300a905771f15cb1b9a512b14737c1c524a3aba19d3b4ab4d4d29c4758ed59657 -MISC metadata.xml 652 BLAKE2B 97daa2438be52bd6aa462673572d6b1efce6331e9dfbfa5d3b2915619661ec2b359c6687c5aa294d66eb089e152e93c24f1c2f00dd8ad9dc9d13934fe8170883 SHA512 7b07510891c5df25357c17f05de4bcbf1ea54f44f9ce06507de70ae9ddd835bfd20d1cb4bd3787ffb9ffeb88b238bc148b5c5ffad7abb1853ed0517b03a7d122 +MISC metadata.xml 753 BLAKE2B cb7d80aca20864ef7d138d3834011f666775dfee6614f6d233675824c1715ef5f893402532b0d8b928cd7aa1ecb53e3216150c22fbc9d6a21abf3251a10905b4 SHA512 3bae03d1b27087507aa3b8b4b4365a607256c1c0b9cfccde4bd42c946674feb5325715c0dea925aebfd941ab62c6a2b4bc4bd7a5f0c0211f49c4e2fb45ead48c diff --git a/dev-lua/busted/busted-2.0.0-r101.ebuild b/dev-lua/busted/busted-2.0.0-r101.ebuild new file mode 100644 index 000000000000..22652c4ffdfc --- /dev/null +++ b/dev-lua/busted/busted-2.0.0-r101.ebuild @@ -0,0 +1,63 @@ +# 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 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 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lua/lua_cliargs-3.0_p2-r100[${LUA_USEDEP}] + >=dev-lua/luafilesystem-1.8.0-r100[${LUA_USEDEP}] + >=dev-lua/luasystem-0.2.1_p0-r100[${LUA_USEDEP}] + >=dev-lua/dkjson-2.5-r100[${LUA_USEDEP}] + >=dev-lua/say-1.3_p1-r100[${LUA_USEDEP}] + >=dev-lua/luassert-1.8.0-r100[${LUA_USEDEP}] + >=dev-lua/lua-term-0.7-r100[${LUA_USEDEP}] + >=dev-lua/penlight-1.7.0-r100[${LUA_USEDEP}] + >=dev-lua/mediator_lua-1.1.2_p0-r100[${LUA_USEDEP}] + ${LUA_DEPS} +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + test? ( + >=dev-lua/busted-2.0.0-r100 + ${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/busted/busted-2.0.0.ebuild b/dev-lua/busted/busted-2.0.0.ebuild index 658a820d2985..1c6f0435f521 100644 --- a/dev-lua/busted/busted-2.0.0.ebuild +++ b/dev-lua/busted/busted-2.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 arm arm64 ~ppc ~ppc64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-lua/busted/metadata.xml b/dev-lua/busted/metadata.xml index e8e32b1eb332..3c09cac56953 100644 --- a/dev-lua/busted/metadata.xml +++ b/dev-lua/busted/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> An elegant, extensible, testing framework. Ships with a large amount of useful asserts, plus the ability to write your own. Output diff --git a/dev-lua/dkjson/Manifest b/dev-lua/dkjson/Manifest index af550fcda671..5c89d0835cd7 100644 --- a/dev-lua/dkjson/Manifest +++ b/dev-lua/dkjson/Manifest @@ -1,3 +1,4 @@ DIST dkjson-2.5.tar.gz 15799 BLAKE2B 25cf9aa3d00d87b367096dc793984766d7777c98ec9e97c5bd72961fb0141bb1ae94682f3719d11bde52104a755636de546fe8aece0fbf7147045175ad8bcea9 SHA512 ec9a226c3a94d7561f8f51bb0e6c92a64385b0d8baf83de862cce7e1c302d900bff723be23e4b5b4c3c2accafaf8d75d4b0842e14b2e41390a3f9761d46a38af -EBUILD dkjson-2.5.ebuild 649 BLAKE2B be740ce1b7fb4e98745a5d74be437554817b7426bf2305358d906c8739472c6d9277abce138037f114c3484d95babafa8eb04f7185b789d0ca62d3808217a8ba SHA512 0081aa2c7417e12b5dc68e09af3534c3b07a279d20b501b4bf8e3f1a942f971f1d0fe64a42dbb0288cf898000f73da3d723f0a32391b5b7a5501b79739be779c -MISC metadata.xml 620 BLAKE2B 4285a62df1f275147f5b5a40d83bd570d2458b8f8bd4c32957b9a52364b6bde7f471e4fd6ab58ed80bdd648e5c28fea4038ae63ced6ed7dc9636ba11d3c44f8c SHA512 e224d3462b86cd9c66705a3ffdce9861c03f3cee050e851c8f9064c19a6257ef1f5f18c125b7349d495a343fb9696b408523cccd09cd99be6ed599d9cb45238f +EBUILD dkjson-2.5-r100.ebuild 902 BLAKE2B 9ddb8a911be85a491e9ecc5d429a78660ff456a635c5db1187c15ca8ad54508bc660cecacd8cd3b96b5dc4e48804648207cb0808be3c32db414b09531cd8cba6 SHA512 f5e74c8bdd4b2551893e95fed020346ac03bd3caf19e656309ba55a3dc671fb5bb98a2e5f0a87632053591067f3a1eed7e1dca87e0b1cec4b0d7cd08eb1ea0fb +EBUILD dkjson-2.5.ebuild 648 BLAKE2B 7fbde9421fab2cdd933a8eda2b095ee832198a350d4fae0dc964d000785f3af1e84f8e9ad4c8c0ee48e8523aac470e1a0b82456e39801f6b8cc42c4c1d9b8112 SHA512 32508645ad71565d249e4579f5121a59cbdd534fb892209336173bafa03e066fe00e254fe3b98a3c960a803f6d3aa956bedbf5caa3231ca9a821361a5ab9fb42 +MISC metadata.xml 721 BLAKE2B db84f905a38fcc1a3b8a19a2fd94dcf66858fe34e0f751bffc0163e4011a3457a8064d36d5cf84366f98e63e2f6b1a0fbe49846412318caed9a37c5c1651910e SHA512 01b562a7ecb7f86455a1934d85ebadd6932f69ae22c642517bbbf6abcd5d6ae28596be99ad4909588d9f22831c834b1c638ba33ec4ec24b4fdeabfe71a215eff diff --git a/dev-lua/dkjson/dkjson-2.5-r100.ebuild b/dev-lua/dkjson/dkjson-2.5-r100.ebuild new file mode 100644 index 000000000000..6c81b1358241 --- /dev/null +++ b/dev-lua/dkjson/dkjson-2.5-r100.ebuild @@ -0,0 +1,48 @@ +# 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 toolchain-funcs + +DESCRIPTION="David Kolf's JSON module for Lua" +HOMEPAGE="http://dkolf.de/src/dkjson-lua.fsl/" +SRC_URI="http://dkolf.de/src/dkjson-lua.fsl/tarball/${P}.tar.gz?uuid=release_2_5 -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${RDEPEND} ) +" + +DOCS=( "readme.txt" ) + +lua_src_test() { + ${ELUA} jsontest.lua || die + ${ELUA} speedtest.lua ${PN} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins dkjson.lua +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/dkjson/dkjson-2.5.ebuild b/dev-lua/dkjson/dkjson-2.5.ebuild index 4a443a7787c2..9a02e01dcbce 100644 --- a/dev-lua/dkjson/dkjson-2.5.ebuild +++ b/dev-lua/dkjson/dkjson-2.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://dkolf.de/src/dkjson-lua.fsl/tarball/${P}.tar.gz?uuid=release_2_5 LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 x86" IUSE="" COMMON_DEPEND=">=dev-lang/lua-5.1:= diff --git a/dev-lua/dkjson/metadata.xml b/dev-lua/dkjson/metadata.xml index dda2ed524394..a5b517b10d3a 100644 --- a/dev-lua/dkjson/metadata.xml +++ b/dev-lua/dkjson/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> dkjson is a module for encoding and decoding JSON data. It supports UTF-8. diff --git a/dev-lua/lua-term/Manifest b/dev-lua/lua-term/Manifest index cb18e1a4c4f5..8251b8cf628b 100644 --- a/dev-lua/lua-term/Manifest +++ b/dev-lua/lua-term/Manifest @@ -1,5 +1,6 @@ DIST lua-term-0.3.tar.gz 3752 BLAKE2B 6d42129b60278a4bf756195bae28529a9a22688945ecf6c5648ea490645de363799e4fe5a188069e3739557c3b45ee83e28e315cdd69e987f022f28e3a673cb2 SHA512 e91585994c0337d4dbdc36f51cec9f66fe7319212e82c56752ed724bbbe273e4dc67977bd13e7963545bb075f23f69a448dfc4cc4d6c3c49e96af99cd3eb59e7 DIST lua-term-0.7.tar.gz 4365 BLAKE2B 8f4080d4cd3b620cb1f261d417744f112d42b776ab3f4cdb0e52d04b6d64fc4a1ddbd634570496c3bc12e6b10efe5af8025d1f124198ebb3946414679a65f7f4 SHA512 2046ba1861ff590c191bb651941c45eb8b6e9a1252b05e78daaeb31837ce1fc7da9ba124aec34dc7842fd304e945754c463ffd75941125ff952e911ba66efa31 EBUILD lua-term-0.3.ebuild 1046 BLAKE2B 77c1acb0eaf7cad9e72c6d4e09e52a60078ffe2e8da1d8d119c5083d6fe3b0c493cee7aba008562dc56997ebda0f1713151354ed633dbd7d27389755bfba841f SHA512 060e77c10f7a78844361be521ffdd0996b090bf7a7413b8c85dcf8f4488cd3cec1c1d61991a64c6f3d64e22c092aa5cbac00b465c91f8b2c06a2791daddc7f39 -EBUILD lua-term-0.7.ebuild 1027 BLAKE2B 99a8152b9b3db85d71f1318d43ba23a592f039f71a4bd2f675c104c4b370d1a8d88614bbcc0ed186fb0128c953d7beb7efbffcf46768f29e462f96fbd28f92d9 SHA512 1953613e17b240c7742bedb8c3aa2808d44754cf18adead116f676568ac78a8dbddcb28eb200431595c92998fd31a75a5e0d9bee2b92c9fc43327c91552ab716 -MISC metadata.xml 329 BLAKE2B 53838f32093f301c09eca7e323feeb35d9ceee5a2a38fe0902bafd8893afed48e8b7f8b4bfebfa183cdcabc63d654b983658ae69c08c640cb97239c5f15ea4b9 SHA512 927fa93e0060fdb183c77425cf3716dde54c4b2a6a4fdbfadf9a8bbeeb186b55ac93589003c8259382d3985075e9ef4239c3a7be359bc704cc6d3febc3c8f89e +EBUILD lua-term-0.7-r100.ebuild 1404 BLAKE2B 538ec3a437ae5c8c6e4b5628aaa0b0358b13ad8497a2a2e8ea6a08e603ee6be9fc65830231accca822be3fff12dbea4e246714a12e1d6eafb6969bab67afeb92 SHA512 cd0dff45ac0674a9173ffab7feb2572dfe17075712de1ef70d6d93abd3c1a436514dca3c9f1906122842026e90dd2e67939f11de766b6b73e177e0aebf97f4aa +EBUILD lua-term-0.7.ebuild 1025 BLAKE2B 6f944135685b719759ea38c09f5edab3b0af7971e344cefec7eaee5cbb0f987a8281a9059e2e2f3938b869e23c54b658ebfe284acac163b4d6c7950c0e685500 SHA512 f32f339a978dac960affffab32db40df7e4dfc62fe811a2b4730ed777f8a750d4d824aa584be41a4b336f182e94ec5077686b230997e2ad047c45fb0752d3efa +MISC metadata.xml 440 BLAKE2B 7578e30f2b7c2b37df1fd563325189efd987df03c42fdb06cfe334a74a7d596b2ef9bb3b1ed2adb9f6aae8aed072cb89df8898d57cab40db23933a54a0963612 SHA512 101ba9221fad8bed21cc6fa169d8063e58cb303f45177a355859e9d3dded2489e22082bfd3104763a5f92fc3d0325b344d4758b5afef7d50d22684fae752de43 diff --git a/dev-lua/lua-term/lua-term-0.7-r100.ebuild b/dev-lua/lua-term/lua-term-0.7-r100.ebuild new file mode 100644 index 000000000000..5ced1bbb4f1a --- /dev/null +++ b/dev-lua/lua-term/lua-term-0.7-r100.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="0.07" +MY_PV_SO="1.0.1" + +inherit lua toolchain-funcs + +DESCRIPTION="Terminal operations for Lua" +HOMEPAGE="https://github.com/hoelzro/lua-term" +SRC_URI="https://github.com/hoelzro/lua-term/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Respect users CFLAGS + sed -e 's/-O3//g' -i Makefile +} + +lua_src_compile() { + # Clean project to compile it for every lua slot + emake clean + + local myemakeargs=( + "CC=$(tc-getCC)" + "CFLAGS=${CFLAGS} ${LDFLAGS} $(lua_get_CFLAGS)" + ) + + emake "${myemakeargs[@]}" all + + # Copy module to match the choosen LUA implementation + cp "core.so.${MY_PV_SO}" "core-${ELUA}.so.${MY_PV_SO}" || die +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + # Use correct module for the choosen LUA implementation + cp "core-${ELUA}.so.${MY_PV_SO}" "core.so.${MY_PV_SO}" || die + + local myemakeargs=( + LUA_LIBDIR="${ED}/$(lua_get_cmod_dir)/term" + LUA_SHARE="${ED}/$(lua_get_lmod_dir)/term" + ) + + emake "${myemakeargs[@]}" install +} + +src_install() { + lua_foreach_impl lua_src_install +} diff --git a/dev-lua/lua-term/lua-term-0.7.ebuild b/dev-lua/lua-term/lua-term-0.7.ebuild index 9a20c97daf95..0bb6b8e50b15 100644 --- a/dev-lua/lua-term/lua-term-0.7.ebuild +++ b/dev-lua/lua-term/lua-term-0.7.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/hoelzro/lua-term/archive/${MY_PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 arm arm64 ppc ~ppc64 x86" IUSE="" BDEPEND="virtual/pkgconfig" diff --git a/dev-lua/lua-term/metadata.xml b/dev-lua/lua-term/metadata.xml index cd082b51556c..a0fd1bd9d692 100644 --- a/dev-lua/lua-term/metadata.xml +++ b/dev-lua/lua-term/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">hoelzro/lua-term</remote-id> </upstream> diff --git a/dev-lua/lua_cliargs/Manifest b/dev-lua/lua_cliargs/Manifest index 217d693deab4..8ed790923bc8 100644 --- a/dev-lua/lua_cliargs/Manifest +++ b/dev-lua/lua_cliargs/Manifest @@ -3,5 +3,6 @@ DIST lua_cliargs-3.0_p1.tar.gz 29904 BLAKE2B 4cb3e33c0d1331cb9c6cef9b8db67c12cfd DIST lua_cliargs-3.0_p2.tar.gz 30435 BLAKE2B 8edf60870e0d91593064876a225ef7fbe638425da13b458d6356eaa0636482ca904f9355fd15314d4893e6f5346a6faa30fb6078d191a29aa14e26aa5d74a4be SHA512 e7a475f1d41249b0a35f021a6ccca46078f5b689c1927a4dd4cab80b2e4d291babaab35cf7d64fad3ebf68d871fb5177f030c7a2b28d9f55fbeb4dd26021d024 EBUILD lua_cliargs-2.5_p5.ebuild 876 BLAKE2B ba627334a770918356cd474f97b7b8f39bad574cd26ecc7de552db033920797a709d78285dbb7940c4800a690133a06d239b618c9635ecde5c2e2367b65c651c SHA512 00571f5fc51ba97a5affd68efa419c47e8646e9cb0ae1d99f085b0a0032dcfcf42b58e4405b7143a7f4bf114b136013ad5e8e5a7986537439a3517a2fc3b98a0 EBUILD lua_cliargs-3.0_p1.ebuild 906 BLAKE2B 8e1c46a73b29fd61fb06a5fa8fcb202d91df30748e6ab0fa24b2e3befb930c051c451aecaff0847f4156c68b82dc26a87c55dc61a25d91eedf84fb3e3dd451ec SHA512 24b3b938bf998a0c12a48854356d6854c40ce06c73f9dad9c276f1cc69cbee7cf9612440ec045e8584bfe0b7908dafdf6c49a216ff2febbd6630c3d2bbb684b2 -EBUILD lua_cliargs-3.0_p2.ebuild 910 BLAKE2B 9d5af5719e4e332bca4e29d38a88c6c3eeb0ee567c0a6ec6c088def98712e7ba3d611b97bf98c2563220ee7a50b3de6d6c193ff0b6193e5e5d2aec7bb3ac5195 SHA512 c26317b487a804ff466229a980bc0cc8d63eb8af9173acca88d8f36f8afaffa820bbb3143e2ab40a87e097e7ea4b9f0487cf6dabb6b94a14849eac3c7ab43703 -MISC metadata.xml 561 BLAKE2B a38b859e36bacd5481ca588a97d39f3353aedeae25b219c7b6e24353979c659407088e9ef16b71d642c19e26ff628f314ec0fab72ebd55a7fa42d0f0f32638d4 SHA512 da9b4c1e00524c0cc7963b0339a18f0b2fe254338269b8fc77e790ad26704ef92f450859838d7e0730cceda34ed34548c367659fae27302fba02252636537c59 +EBUILD lua_cliargs-3.0_p2-r100.ebuild 785 BLAKE2B 44f5b4d3515c9d84f989a4cb9d85d28118697fad315ea588986fcb71dacd41d61648af38c0fc7a9bb90ca976080ca1dff1ea4637a845918909eb793f90ec11b4 SHA512 c0547e4b6fa033cfee5d481af99850aa90edeb5225dd8213993c8347f2396ff0dbc608f31e00beda69b335ac7ad4508221cb72f6d12cacb3e038bc68ca10d04b +EBUILD lua_cliargs-3.0_p2.ebuild 908 BLAKE2B 247ec30f2616cc0a5a043d85c1c8bc8f7c3098baa8554d25603130d5f082368b82cf3ed84cf747c3e670a24a8f0894737f39bdb27d81624526994bed9aefece3 SHA512 54c6ec9f7ba5c9921c4d2c9e578110b4a6e1100e77611fce95bd407030d04046f32bf0756d9f316563a9adac796122084ada7280b916b29d65c85fd59eb95ed5 +MISC metadata.xml 662 BLAKE2B f439daeab6ac235e0f754364c7a54ebb313df50fa96288a4f47f75e259809396c9668b216d2ee0bb930413af44ff181a026247db0be3d6f482e95507c3e5e3cd SHA512 f64fe9598875b158de72f71438193fa3558199f41d5981657481a8dd103d35dcd579cdfd10520e8e30e89a0b030c48ab81d358d5f8e363337d1ac6bedab6357a diff --git a/dev-lua/lua_cliargs/lua_cliargs-3.0_p2-r100.ebuild b/dev-lua/lua_cliargs/lua_cliargs-3.0_p2-r100.ebuild new file mode 100644 index 000000000000..471bebcf2aa6 --- /dev/null +++ b/dev-lua/lua_cliargs/lua_cliargs-3.0_p2-r100.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua toolchain-funcs + +DESCRIPTION="A command-line argument parsing module for Lua" +HOMEPAGE="https://github.com/amireh/lua_cliargs" +SRC_URI="https://github.com/amireh/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="examples" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +RDEPEND="${LUA_DEPS}" +BDEPEND="virtual/pkgconfig" + +HTML_DOCS=( "doc/." ) + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins -r src/. +} + +src_install() { + lua_foreach_impl lua_src_install + + use examples && dodoc -r examples + einstalldocs +} diff --git a/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild b/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild index 73fcadaf0b12..4111aa5165e7 100644 --- a/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild +++ b/dev-lua/lua_cliargs/lua_cliargs-3.0_p2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/amireh/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 arm arm64 ppc ~ppc64 x86" IUSE="doc" BDEPEND="virtual/pkgconfig" diff --git a/dev-lua/lua_cliargs/metadata.xml b/dev-lua/lua_cliargs/metadata.xml index 61ea9ce51390..5574ee57f237 100644 --- a/dev-lua/lua_cliargs/metadata.xml +++ b/dev-lua/lua_cliargs/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> This module adds support for accepting CLI arguments easily using multiple notations and argument types. diff --git a/dev-lua/luadbi/Manifest b/dev-lua/luadbi/Manifest index d1763d331a89..dc48755cf79c 100644 --- a/dev-lua/luadbi/Manifest +++ b/dev-lua/luadbi/Manifest @@ -1,5 +1,5 @@ AUX luadbi-0.7.2-mysql-8.patch 1920 BLAKE2B 5b8f65c9a6966df0bd18487e09effc073fb4ce9ed7913e1b9397ae722a2fe8cc04bcd8f5dce403fc5181fef8f95bdf71bffd00cb5b99932c6cf48e00daa49175 SHA512 436aa613eb420126f158103bc7c36cb3cc2a680c76d32e6239c2b310b7367bd5275c85640645d904ffee059b970095e8176df23dbca8b54aa13f436a619e2f6f DIST luadbi-0.7.2.tar.gz 36462 BLAKE2B 581c7353bfa36b3f6cabed2df78372f8810300bf4525bf8d370e61d469f9daa5a5c40c58916164a8d0a621a61e983e85c67b23ef03f51212be79f09ad8512047 SHA512 891f99cbc8f1b5327ef820641a1608abf41410f2f28584b975cc3cf65154b9bebf6f1b9ca7d1818b9c965738ad700dd17ae042dfd2a7146cf755871ebae535b9 -EBUILD luadbi-0.7.2-r100.ebuild 1769 BLAKE2B 6d5c67dde0eb5a59636789f74e3263cc7ff76dd023cb9c926c449b10e3c4ba89e36e569bda3f47e1dbe1a24ce70dc39e2b08b9c8acb0150b9d9ab95d24e6be13 SHA512 bbb89034fd723046ba26256251df95c5828bf1d73d81b32ba684ee6d8b840676203aa5531373d0dc0c5b27c2f402e3074ae5e27ac4a5783603b980ec83d6a8e6 +EBUILD luadbi-0.7.2-r101.ebuild 1797 BLAKE2B 2bd8f4fa6c4af9cff7520eadc714ae84ffa2ed58133f540ca80071724db3d7ee82497a69ccf647969bc014f6e46501a4444d7432ff3a713c51e46d36c5fe5f18 SHA512 d15563be1d3f6dc22ec444a3988ec83aa73200e9a4e38bf767a72664a2dbad9cadf2cd541f3114f09c64207cb31dfbc8a80e6c15f80e5a7f72ba3b27c999e303 EBUILD luadbi-0.7.2.ebuild 1579 BLAKE2B fa7b1bd1ae6913826966f6687ae8af24f62f3cc4771133ddc17cf72b1b2ff87dfe6a7b0034defe931e7cf5062efcb101609664e6be1a2de04648360141bff7b6 SHA512 923534935b8aa20d437fcf65b62a75853e7c80c00b43f48455ffe9f050cf0fef3e2828afee2b402faa7713c035c484f6dba982357f42a344ba6800cf147e09df MISC metadata.xml 328 BLAKE2B c167ea2fe2bc0e9d84453ad1e1d7b703b862d927ea1ed775b68f6928f35d02f0d5b08ba5a910ae666fd826003dea923de1dfc7970d3a349943b6eb7a977cd137 SHA512 bfed24b1441ac6dad0a42125d1e3077e5f78a080bc6a495b9ef3447f423ea248b794650583a96681e7ad42802517309feabd268eb65af63e1c101503b418c030 diff --git a/dev-lua/luadbi/luadbi-0.7.2-r100.ebuild b/dev-lua/luadbi/luadbi-0.7.2-r101.ebuild index f7f3c1fdcab6..f19a4a0b67ff 100644 --- a/dev-lua/luadbi/luadbi-0.7.2-r100.ebuild +++ b/dev-lua/luadbi/luadbi-0.7.2-r101.ebuild @@ -33,7 +33,7 @@ DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig test? ( - dev-lua/busted + >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] dev-lua/luarocks ) " diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest index af1e0d05d4e3..908f2e8b713d 100644 --- a/dev-lua/luasec/Manifest +++ b/dev-lua/luasec/Manifest @@ -1,5 +1,5 @@ DIST luasec-0.9.tar.gz 52163 BLAKE2B fa95ae63b36f138f923dc412f527ff527e4f7562ad177ca7f450ef889e75c204d1bfec3773523fb68865c3846a0edc583cbf903db5233ff080074147f33bfb30 SHA512 ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933 -EBUILD luasec-0.9-r100.ebuild 1685 BLAKE2B 9c11015228dff2c453c9b5433ec96a751142b01a6cf4c00d51d72c2ff5f34d61a0809fbcafc72619976e1c4e396640621ebd4163e5720597aca451db962b9b90 SHA512 184f598125ac692d389a25c46bcd7c36bd039d1b933cf2afa2d957d0177752ddd6fdf1bf12149d0e64893b7787cd332e6b70a81f4b32f86d49d9bb3fc9b3fa33 +EBUILD luasec-0.9-r101.ebuild 1700 BLAKE2B 9c3c0d01798d56ec9ee4d05c11a2bab66c61223b1c67e56041518de84b5b4a7fa5ceba3bc115703d40ec9bac2462514165717b35e4c8455ae6186a859fbe96d4 SHA512 d454a91b591a2c42d4fea20819c5f21afe1f110f2871eb0208787634b825bed613829f07d102039d71e971672bc238aa5c503818ba1d48467a2b57c6d9fc838c EBUILD luasec-0.9.ebuild 997 BLAKE2B 5e7ce2c2a4a1168fb844890fc586b6ee5a3d87651910b8d5c70bd3309cd8ae8796b1b77f9ea3a6c42accd4c912048b9de7ed320c2e2147ed000d1aa9a70260af SHA512 ca19f37bc58becf4f8b592f223c5588146cec6821f6c5ca0c9689419ca57795b6fa4b636841bf9f44efaec4aa751230a9f695d9faabb20e1e9acc7f7d25764b2 EBUILD luasec-9999.ebuild 1103 BLAKE2B 8d32013bb83b774b57beaeebcdd2687c769c34672be5cbf343155954417850592071591b985fd1771fa7633888a2977c0d92326f5e31732ff7ea141b43f55c3d SHA512 c6c9f13f1b8e62b3f1b4ae06374cdfdd6a99fedbcc61fb4bce8911254e9d295fbdd0f7637ef220a0acc2250a7658e29fb91e0182bc50542e49de51b03bc0cc60 MISC metadata.xml 566 BLAKE2B 2a450b74b0f44833f841b701e215721f4055b44a66e43f649e69a4f1c9757985a09a99f8798e7f219349c190f2614733aad757d81e11f610885dbc0fe08b6e6e SHA512 f02b7d7234f4a6d93cd9c734c1b8a8a09b48fb73998d240925329357a6e9dac590aff6ccde697d18698fdbd6f2c69e4d6f5e983affba91b5a84f4f3108e3d660 diff --git a/dev-lua/luasec/luasec-0.9-r100.ebuild b/dev-lua/luasec/luasec-0.9-r101.ebuild index d908b664a4c5..ee3f8ffb8613 100644 --- a/dev-lua/luasec/luasec-0.9-r100.ebuild +++ b/dev-lua/luasec/luasec-0.9-r101.ebuild @@ -19,7 +19,7 @@ IUSE="libressl" REQUIRED_USE="${LUA_REQUIRED_USE}" RDEPEND=" - >=dev-lua/luasocket-3.0_rc1_p20200328-r100 + >=dev-lua/luasocket-3.0_rc1_p20200328-r100[${LUA_USEDEP}] libressl? ( dev-libs/libressl:= ) !libressl? ( dev-libs/openssl:0= ) ${LUA_DEPS} diff --git a/dev-lua/luassert/Manifest b/dev-lua/luassert/Manifest index ae97f17fdcb7..09bf27745ca3 100644 --- a/dev-lua/luassert/Manifest +++ b/dev-lua/luassert/Manifest @@ -1,7 +1,9 @@ +AUX luassert-1.8.0-disable-highlightcolor-test.patch 2931 BLAKE2B dcf614b08aa0e89404d18e9bdc77ac5b723d577b8f5694f7fded74275c8ace59e938ddd2ad46b19a9ba7d8a36886d36db384d6fb439a2cccee77cf370e711060 SHA512 0bf9b3877e78183d5db3d33acb977f64e1aa7934f313838ffb5ec9b759283b21f071c619020ca4b8ec8aa36d9ea4e8082e3510d59d800fbd82fef74e0d8b9895 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 EBUILD luassert-1.7.10.ebuild 874 BLAKE2B 52842a1da1aa2f7403ad84eb8038361e738f0c54ae5c298a01f5aad4924e79da65464a97674d20974efc7150e20d124fe40693fa285b8ffcee6f91d7cbccab36 SHA512 9bfda9a13d9a1e46e5c04a28905a1341ff7782ec4f22a714470a48d03956ea2864e5ca5effc8bab26115e9d05f153f5300d46e004f35883558a923bdb08acdf8 EBUILD luassert-1.7.9.ebuild 609 BLAKE2B bb29a2069407537bd1e0bb9dc7561951c4615c6405108d11f83fd8132d032e0696f16be288e365a0b4201a41e45dda36e8b360313d58d1b7b0b58628b0c62b59 SHA512 920ca16cdb8eb819218d6eeaf97fcfb18777f68963cc79249622e856b7ef35cc8231e7436c8cb84a673ea50ce20dd95960834be0f19d71c2041e827a3f51bd9d -EBUILD luassert-1.8.0.ebuild 964 BLAKE2B 32f893d6b00623c8a9afe92e0adec313b37f865ed7da3a5d21bd471e1205f0b7eac23bc8c3220d73bcb36b4076e8b4dd53857cfa4f2ecea29ef854edfd0350e1 SHA512 171af919bbe8a5f1a18b1ef61e888baf25aee1e6b73da9fd201785d658a228ffaa50e285595b0f5873bb5cfe992d7ceaf2e0611fc1cf65439e76657ca74c2b7d -MISC metadata.xml 497 BLAKE2B 009bcaf2379e9d29771f83aba63ad50ec2e9e02a328e9605a8d2e171e43e59025aab51ba876206d58f86fd7d0e51a28e9d0d1851f0cc4d87c2cce02e11b048a6 SHA512 8bb0c5cc23259fd9e259620ecde2b377220b3d8062b5229777d811b3827a36d770c2518245009be328f932a5fe6f84ecb719d7e9ff604d7cb4524d9a59811f6b +EBUILD luassert-1.8.0-r101.ebuild 994 BLAKE2B d0a8cab68455d3acef5aaa3890f482c1e7c6980c89026486a31b5b239b0fbff0624ba7cad1dbf0c3300ce3d1d9426ec3d7378b823f28ac85abf4c6bb63e5545a SHA512 bcb03b7f471d304b9a9bf374f1ab405b85950b5eba27836be0a7d27733fc7b6f8aa24b4cab804a6354f235ca0114da2d01a5aed61992459e6fbf8e625422aeb8 +EBUILD luassert-1.8.0.ebuild 962 BLAKE2B 153ecbd4a7d0b0baf03d0f5a2b1237f3cddc870689128cdae95cc5642c3b1f75b787a1e66c26a4f8019640519568baa5479d65ae7bea8477e68013704358c3d5 SHA512 0dce6316060cc9a2afe25450f4e362b2c5f482bb34fce5d32bb7bc70a56d9ce260c46e22e8f8f8f208f3b9fa51ea38b19077f1e99ea10007f26863392fb590a4 +MISC metadata.xml 598 BLAKE2B 44f0ff617e32241bc72db4da50d83f321cae964924c7dd6c12c46b356158d0ca4a99f228042b2c51e7bdbc0e4573b45cdc15814e5cf73e8a4e4fda450df58ab7 SHA512 d5d5330dba6b543ca5ec99235444ead2c736c2319689513767a27cc654837bb645ab60365e2dd96f9e7ffbd3dbc9c4b3ff5029ad59655bf88bec1f7faa50f80a diff --git a/dev-lua/luassert/files/luassert-1.8.0-disable-highlightcolor-test.patch b/dev-lua/luassert/files/luassert-1.8.0-disable-highlightcolor-test.patch new file mode 100644 index 000000000000..fe3f7815a04e --- /dev/null +++ b/dev-lua/luassert/files/luassert-1.8.0-disable-highlightcolor-test.patch @@ -0,0 +1,57 @@ +--- a/spec/formatters_spec.lua ++++ b/spec/formatters_spec.lua +@@ -102,18 +102,6 @@ + assert.is.equal(expected, formatted) + end) + +- it("Checks to see if TableErrorHighlightColor changes error color", function() +- local ok, colors = pcall(require, "term.colors") +- if not ok then pending("lua term.colors not available") end +- +- assert:set_parameter("TableErrorHighlightColor", "red") +- local t = {1,2,3} +- local fmtargs = { {crumbs = {2}} } +- local formatted = assert:format({t, n = 1, fmtargs = fmtargs})[1] +- local expected = string.format("("..tostring(t)..") {\n [1] = 1\n %s[2] = 2\n [3] = 3 }", colors.red("*")) +- assert.is.equal(expected, formatted) +- end) +- + it("Checks to see if self referencing tables can be formatted", function() + local t = {1,2} + t[3] = t +--- a/spec/assertions_spec.lua ++++ b/spec/assertions_spec.lua +@@ -472,17 +472,6 @@ + assert.no_error_matches(t_ok, ".*") + end) + +- it("Checks error_matches compares error strings with pattern", function() +- assert.error_matches(function() error() end, nil) +- assert.no_error_matches(function() end, nil) +- assert.does_error_match(function() error(123) end, "^%d+$") +- assert.error.matches(function() error("string") end, "^%w+$") +- assert.matches.error(function() error("string") end, "str", nil, true) +- assert.matches_error(function() error("123string") end, "^[^0-9]+", 4) +- assert.has_no_error.match(function() error("123string") end, "123", 4, true) +- assert.does_not.match_error(function() error("string") end, "^%w+$", nil, true) +- end) +- + it("Checks error_matches does not compare error objects", function() + local func = function() end + assert.no_error_matches(function() error({ "table" }) end, "table") +@@ -557,15 +546,6 @@ + assert.is_same({}, {assert.has_no_match("%d+", "string", nil, true, "message")}) + end) + +- it("Checks assert.has_error returns thrown error on success", function() +- assert.is_same({"err message", "err message"}, {assert.has_error(function() error("err message") end, "err message")}) +- assert.is_same({"err", "err"}, {assert.has_error(function() error(setmetatable({},{__tostring = function() return "err" end})) end, "err")}) +- assert.is_same({{}, {}}, {assert.has_error(function() error({}) end, {})}) +- assert.is_same({'0', 0}, {assert.has_error(function() error(0) end, 0)}) +- assert.is_same({nil, nil}, {assert.has_error(function() error(nil) end, nil)}) +- assert.is_same({nil, "string"}, {assert.has_no_error(function() end, "string")}) +- end) +- + it("Checks assert.error_matches returns captures of thrown error on success", function() + assert.is_same({"err", "message"}, {assert.error_matches(function() error("err message") end, "(err) (%w+)$")}) + assert.is_same({"err"}, {assert.error_matches(function() error(setmetatable({},{__tostring = function() return "err" end})) end, "err", nil, true)}) diff --git a/dev-lua/luassert/luassert-1.8.0-r101.ebuild b/dev-lua/luassert/luassert-1.8.0-r101.ebuild new file mode 100644 index 000000000000..a5902ef63a15 --- /dev/null +++ b/dev-lua/luassert/luassert-1.8.0-r101.ebuild @@ -0,0 +1,55 @@ +# 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 toolchain-funcs + +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 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lua/say-1.3_p1-r100[${LUA_USEDEP}] + ${LUA_DEPS} +" + +BDEPEND=" + virtual/pkgconfig + test? ( + >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] + ${RDEPEND} + ) +" + +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-1.8.0-disable-highlightcolor-test.patch" ) + +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 +} diff --git a/dev-lua/luassert/luassert-1.8.0.ebuild b/dev-lua/luassert/luassert-1.8.0.ebuild index af01777b7a73..a5f95453c020 100644 --- a/dev-lua/luassert/luassert-1.8.0.ebuild +++ b/dev-lua/luassert/luassert-1.8.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/Olivine-Labs/luassert/archive/v${PV}.tar.gz -> ${P}. LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 arm arm64 ppc ~ppc64 x86" IUSE="luajit test" RESTRICT="test" # Requires same version to be installed or busted will fail. diff --git a/dev-lua/luassert/metadata.xml b/dev-lua/luassert/metadata.xml index 0c230917f9a9..7a9d0e9a4307 100644 --- a/dev-lua/luassert/metadata.xml +++ b/dev-lua/luassert/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> Adds a framework that allows registering new assertions without compromising builtin assertion functionality. </longdescription> diff --git a/dev-lua/luasystem/Manifest b/dev-lua/luasystem/Manifest index 706b5fb0df8b..a6c24510b3dd 100644 --- a/dev-lua/luasystem/Manifest +++ b/dev-lua/luasystem/Manifest @@ -3,5 +3,6 @@ AUX luasystem-0.2.1_p0-fix-makefile.patch 825 BLAKE2B 1732876603d8b5560bda1644de DIST luasystem-0.2.0_p0.tar.gz 8058 BLAKE2B fd29eaec7fe2f49e933932a436be75678400fc55a275e412379e05ab5b9cfe2036dfc9e61f960caa29d3c4ab1d439f9ede7ff3cbe14a61287270cc3707660636 SHA512 b8c7ba30470cbf100cc3f14df31729778cfb0aabebe4d27ce42c19581a2585f878d86a29a2f73fd1bef4e5861e2a604d3c396a73f131fa99ae14a17cba52c336 DIST luasystem-0.2.1_p0.tar.gz 8162 BLAKE2B ad8a6009823ad8202ff3884a3167d0779405c2a6be460b7ef2939622eb4d0fc8edbc6b04aba5dec9dd5e4e38f11ae0dcd582b9c348d5b516aa411858d55c6d71 SHA512 9dc323d4d1914cfa4f278a49ef22e58569d5cd7e369fa17fa6006cd47f9d90c6dfd4404067ea2436aa46a27cfbdf91e4aa26e20b89aeeefdf2aa7252c51fb32b EBUILD luasystem-0.2.0_p0.ebuild 1044 BLAKE2B 09dc31b189eec831c6d464eb802eb29b4846a45efe2c30e692e96c9f578ec71b480f82451e407b7fc36bca90065626090a209e75c761d07ef3f77df5d544d6cf SHA512 4c443043cb0b480975288d596d97af29c570e33f44ad7b634c7d86b5660f6e6d14556065ff15c4ed9990091d3a0d916ec3f4affeb32f763b6530258417a2b71f -EBUILD luasystem-0.2.1_p0.ebuild 1192 BLAKE2B 9bb036f72b3123bacdecee7d7b02544f7561022291a5a4578f51527fd0e92df9fb080d25ebd47647a4f6b31ebc5cc47abb2ca51088e4e35f219a8df92de9e938 SHA512 fd242fdd1fb0966fb04e2b0221f7d7b91c480b85aa5811fc741bd781978a995115d53b9f4deffce66db914c14d2d2318ebc81b742a72bfbd50b86f114c3dd626 -MISC metadata.xml 490 BLAKE2B 59d66fdd8685e01d7b7e928ebb0e43c111062bd7c43ddbbfa070b5af4a5bbc9db1031d0b95f56a05c1b39c35c7aa148e86e6d3761cfc193c5baa6ddffad68639 SHA512 bb9b143436c281ca2664b17b1d1c31ba46befb1139ebd62213dba66003dba43f9d769b65ff8954307faa40690bb31ca7b617628b2feb7c755759b642fc3699ab +EBUILD luasystem-0.2.1_p0-r101.ebuild 1687 BLAKE2B 8a7fca76da37830a8dcd4986837beead2c91d98499e55221d3641e0f8f0be0b9b179c3587162cb8ff3a663c7a489ab858aa961f2424b1f0899dd1ef5bb4a5d9f SHA512 59a6ac5361e8c5c8232b499812a4cda72c54439cae0d050334d8aa5514b73112878dc8ad0210b0f9db8db926148b27b7bbab7cd6a61a2f9d3a17e664e44f3677 +EBUILD luasystem-0.2.1_p0.ebuild 1190 BLAKE2B 3b7990082b8f84302b3a13476600cb3065e9beaea604d4b5c780338b94c08412793d243b42a65207740ea4e82f331f22dbb3bd1eb3a8cca812146ef77f4363f4 SHA512 ef3d0a11177eb5fa2ce12ff74945ee4d7da5ee2e81aaadc5d6db9dc87764403d5f1d4fe26565a6fc231917091e022be0073a199c1cc18c9a62b1444240bb9ecb +MISC metadata.xml 591 BLAKE2B 9e8a3ce4bfe3031b55f3aa5193c124a8aa3da8907e6dfd97e60c59e4bb846a1aec0f1e2319f43178840a9b9e7517362d654a95c2f0871494482a70a20131e535 SHA512 23828de621a5ac7168e256b201af36343de97edbeb898d6d5e4f882bca88fe345914fc98f70d5e997d8b191dcf446f62250e4309cc2d3f84b9830b023088fa0e diff --git a/dev-lua/luasystem/luasystem-0.2.1_p0-r101.ebuild b/dev-lua/luasystem/luasystem-0.2.1_p0-r101.ebuild new file mode 100644 index 000000000000..cbc542df1f37 --- /dev/null +++ b/dev-lua/luasystem/luasystem-0.2.1_p0-r101.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua toolchain-funcs + +DESCRIPTION="Platform independent system calls for Lua" +HOMEPAGE="https://github.com/o-lim/luasystem/" +SRC_URI="https://github.com/o-lim/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( + >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] + ${RDEPEND} + ) +" + +PATCHES=( "${FILESDIR}"/${P}-fix-makefile.patch ) + +lua_src_test() { + busted --lua=${ELUA} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_compile() { + # Clean project, to compile it for every lua slot + emake clean + + local myemakeargs=( + "CC=$(tc-getCC)" + "LD=$(tc-getCC)" + "LUAINC_linux=$(lua_get_include_dir)" + "MYCFLAGS=${CFLAGS}" + "MYLDFLAGS=${LDFLAGS}" + ) + + emake "${myemakeargs[@]}" linux + + # Copy module to match the choosen LUA implementation + cp "src/core.so" "src/core-${ELUA}.so" || die +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install () { + # Use correct module for the choosen LUA implementation + cp "src/core-${ELUA}.so" "src/core.so" || die + + local emakeargs=( + "INSTALL_TOP_CDIR=${ED}/$(lua_get_cmod_dir)" + "INSTALL_TOP_LDIR=${ED}/$(lua_get_lmod_dir)" + "LUA_INC=${ED}/$(lua_get_include_dir)" + ) + + emake "${emakeargs[@]}" install + + insinto $(lua_get_lmod_dir)/system + doins system/init.lua +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild b/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild index 7633f8d98223..bcbec5c1f81b 100644 --- a/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild +++ b/dev-lua/luasystem/luasystem-0.2.1_p0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/LuaDist2/luasystem/archive/${MY_PV}.tar.gz -> LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 arm arm64 ppc ~ppc64 x86" IUSE="luajit test" RESTRICT="!test? ( test )" diff --git a/dev-lua/luasystem/metadata.xml b/dev-lua/luasystem/metadata.xml index 009738e31d63..e98cabab81dd 100644 --- a/dev-lua/luasystem/metadata.xml +++ b/dev-lua/luasystem/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> luasystem is a platform independent system call library for Lua. Supports Lua >= 5.1 and luajit >= 2.0.0. </longdescription> diff --git a/dev-lua/mediator_lua/Manifest b/dev-lua/mediator_lua/Manifest index 1cad91dd40fd..85d368dc5a39 100644 --- a/dev-lua/mediator_lua/Manifest +++ b/dev-lua/mediator_lua/Manifest @@ -1,3 +1,4 @@ DIST mediator_lua-1.1.2_p0.tar.gz 5809 BLAKE2B a14cbe043cef72cdff35f92c5e6e420e94ab9930235ef71c31749f6371ef3a9a55c104ebe0a82ad86a95ddb5913ebe69f600e16393b6c5ff532802ace7bd7597 SHA512 116d08a96fa0bd540ac4d3cac61a529a634cba3621c6f2e917b405462bbc0e2ab5b170dc6819e470105cdedf958a382945819eaff4affa63bc057824c163c8a0 -EBUILD mediator_lua-1.1.2_p0.ebuild 796 BLAKE2B f3731646697ab1c65bb058a856cdbd2c2ec2dc1f62cdcb261ea1b6f26029bb0e225d216b74fa2f246217ebf2722a62c0499d1e2ae7d8f0571c5ced78b5a5e9a8 SHA512 cf1e7536527a28fdf3ee7ecc8ac8e52c151ea17b04154788a54ff68ab13c79e8503215e0e05160f16a17872545417e0f3de1b1d37174092a17afb2a5ba878c1e -MISC metadata.xml 623 BLAKE2B f6e574caf2544132e811d3399dbec685c535e6a9ca63833ecba15d5f3df3faa3f0d585ae5a923aef9455e4d2489a1065e1aad577ee849488b3f982e90beaefd0 SHA512 52bea35c9427c5f7a81b7690447698137215cb1ccfeee60a4733a6a5512f204aef0a258e71701b4565bc2696e491514391c82140507f45ebf72c23a01156b6fb +EBUILD mediator_lua-1.1.2_p0-r101.ebuild 941 BLAKE2B f3336be1aa55cfebdc994ef7ea8b84d22dfe6483a0fd6c00afb70fd333ea5840ace05210d10bef2952b77eebfdb40538ae4b97f850beda0f9eb6bf23ccaa61f7 SHA512 11bdc4fdaa4f51b19d3808398aa54dbbd8c7c6027a61be55a5df5056d318f83313bad25ddf9b51b19eeb9860ee46a55045bfddfd171152ae8d058e7e906dfb18 +EBUILD mediator_lua-1.1.2_p0.ebuild 795 BLAKE2B 1c98dc5b6131ddd9565bc01502e4ae1f027f27e0cba6a95436027ded755f1c51308434f44ca0b6ed168c1065f1d84d8e70885dda7e71aa1a308f5f7c1b9dcb43 SHA512 348ea584e11fffab4989e915b1f1e7736436a66126741d6490ee86655c8378182b476a4d49f683302561788850d596bf9b4e31210ae6d8f75cdd150a0dcc1b4a +MISC metadata.xml 724 BLAKE2B 8dca2534d29b63479b715a665b9f3cb785d7818e9cb467e38b4a69a958826507f286760d43ed6e5645296199ebf94b7562ab5e0c0b8a5e17729637b363e6a8c2 SHA512 a0c40bea247859b28e85de1c00535882a562329973c15899493303b095da0ba1434cf4f01ae68dd027eba3ce9fc46c419b0568187cf3cf851c258aefce6b8220 diff --git a/dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r101.ebuild b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r101.ebuild new file mode 100644 index 000000000000..0d1a8c7f594f --- /dev/null +++ b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0-r101.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua toolchain-funcs + +DESCRIPTION="Mediator pattern implementation for pub-sub management " +HOMEPAGE="http://olivinelabs.com/mediator_lua/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +BDEPEND=" + virtual/pkgconfig + test? ( + >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] + ${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 src/mediator.lua +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild index 6ef744723156..0a601062d7ac 100644 --- a/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild +++ b/dev-lua/mediator_lua/mediator_lua-1.1.2_p0.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}. LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 x86" IUSE="" COMMON_DEPEND=">=dev-lang/lua-5.1:=" diff --git a/dev-lua/mediator_lua/metadata.xml b/dev-lua/mediator_lua/metadata.xml index 29d24e70698d..f38ef1ebf525 100644 --- a/dev-lua/mediator_lua/metadata.xml +++ b/dev-lua/mediator_lua/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> mediator_lua allows you to subscribe and publish to a central object so you can decouple function calls in your application. It's as simple as mediator:subscribe("channel", function). Supports namespacing, predicates, diff --git a/dev-lua/penlight/Manifest b/dev-lua/penlight/Manifest index 4d26c64376fb..71450e707e91 100644 --- a/dev-lua/penlight/Manifest +++ b/dev-lua/penlight/Manifest @@ -1,7 +1,10 @@ DIST penlight-1.3.2-core.zip 116854 BLAKE2B c653a51cf8ea286c849e1a2c68968ed767c350b1461dd11d9a2e99c81295461c67044175c7bf99c31e8040118e6cfce85f8613d4b6c49e726d31393029abcbbf SHA512 01ba35e967e255f6f39afff9c2238f4921de9e52850ce0d2ec0c9068029fc61a241c82bede680a28fda46c4504582784fcd2241a2eef0bef95c7c389c4042d02 DIST penlight-1.5.4.tar.gz 213938 BLAKE2B c6bba4fd7fc491d2e6ca464f71b897ba4b5dc8dc94e7340fd77d3add47a9b4a72ce48cea268f94fe55c2aef1edd850f96f00f2ba1ef7186e1e8d86a4e3155366 SHA512 c46e7875410a90390bfbf010a53f1d536475e2094668722618d03951caad0fcb0674c9bc7119a0753e4ed3df9e4d70fef828ba4c6c24e8ada4036948d2432519 DIST penlight-1.7.0.tar.gz 384917 BLAKE2B 153660f5029509611265399aad8b92d82b266ac470414c06e9d7f01b37225834f98488f30f9bbdfdc3a6714edfe2edc0fccd0356ebb966d964be633bff38eb25 SHA512 edeb09307c9feb5da6bccd82216a6ad71db988c433245d72d28abb6c555004f77eebba556928b0912937b29ef93e065ad491368041e17730610813de8e595d7d +DIST penlight-1.9.2.tar.gz 396248 BLAKE2B 2bbbece6e9855e8fc54f22f01e516cdf886782ec9a007a4ffac8ac980d7e0836cd19b8a7659ab1e05331e12b11bdb1c9c7df5e2f03c39965532c381298017035 SHA512 8df26e74f73ccf6dc73546640e1537b63e40357072855f9409e96b2ef8251c25b4653456d1237d5142573618af242e885490aa9750dffb387e4670ed9f3cfa91 EBUILD penlight-1.3.2.ebuild 653 BLAKE2B ff029eaaf0cb3d19c04840e8cf4fe05b6456e8467a2c5452ed2064d5c4ebe7e14418d2f1ec349729ac6733e212f5b8030d27e25c289fad72a03cf5c8c2a6a39f SHA512 14aaea5b639507e25b2ebe5eba54aa10e268cd9147961e03219e389ee11b64c71a65650c719062f617335fb0a42d9defebda748b59da057e5321b29eea744db3 EBUILD penlight-1.5.4.ebuild 756 BLAKE2B d598d38a6ea20256a2bda11b68a5568d476c4d030132c290ebd3678f3a55c8b5ba4a5b9b20caca1f2e8714c440d59a9aa6567fe2d2dc7fa105764c5de9b4aa13 SHA512 f5c135d7d71145dc50075782afe4a70c148e1094d0b86e7ecf1fbfa26592704dc6503d9f96a8797e8fbd48e4619065965a932c49d40adc3eb1c1939e931fb9fc -EBUILD penlight-1.7.0.ebuild 758 BLAKE2B 798cc49ef29bac845a22832105a530d9b0d9d1feab8fae143c049a2171431f0e4305131eeb8dbfc7450a4233b1d773c0cb141f968adb55382bfe30d739185c25 SHA512 8133a9b84ad0933b6efbcf83d4d844a4ab4c9905d6bd44833a740e740d629145b5b5e61ec6bd3de210b58b55278db1c36cb32cbcf3330a2ed019fecf9e78b913 -MISC metadata.xml 603 BLAKE2B 98847845a10c23006c481f3447fb3439d4c9e1223770455a0eb5d0051d609b48ab51ad274ba4d6ae8249ecc0ed38ff6b33be0b7a7b4ba5dddb6cb6a59df33b23 SHA512 540eed16b3e9223e2ee5181a0ca9cbb794bba41b6f5c5979d9f4796c9382ec24573e05aed2535665b83337e84fbd08b4da1c77ee3bf24f7e1b2bd58e2810f28f +EBUILD penlight-1.7.0.ebuild 756 BLAKE2B 75d8259853ab59bcc367ee62c68a36f573e35ff3c5802266aba61cd2be816eb3f048815f5dbad60a9d71c20f3f345192ccc8d31630a4d4a97e08d07011667076 SHA512 ee214897fd97e590c17e9728bd88d5f2ea4c2a654702a8b0afdb2cb308d50ca467f9b2e5801ae001929ebe5d97b619d6e0e595997d9a480fa58aa542ccb13f33 +EBUILD penlight-1.9.2-r101.ebuild 1030 BLAKE2B 9dfd7e643c3afa0e04215591ea12cb88bf50339c386ea28cc0bb2d5809fc6c576d92677feb0fbde59d08e44ff16f0f226cbeda4229efc78ec2a0776ed348c3b0 SHA512 0b96bf98d2f3676697c75378acc2e10d1383b224f898e570f61022dedc042a377d06d2ff9b4cc24d0c5c685a7d6fa073532447ed3d8053e1cb6937db48c0c8ac +EBUILD penlight-1.9.2.ebuild 874 BLAKE2B b6d246cdd0917018fc7781deae97c1cd1623a4bf09e0bb44aad95efc204ceedba47cad2dcd6005ce591a38c8f99f3c7783a710b0c83bde776ec027dbae661805 SHA512 e3deb5b326019307c26326939030376f040edcaa888ce52581b9350783083ff0c038e1c31af4fd96db9ac9b42b3ad8ea08f3949b745b6e94b8f88b6794ec0b3f +MISC metadata.xml 704 BLAKE2B 35e8f02d20c248a9b11efdc8b3e1ca81fa1cd8c355a02436f6cdcdeaf07d5a77026cd3053af1255a8fdcc603248f94b871d7432f43766c34766d0fa4f43a1795 SHA512 e64d04284f1bc1f3d2942b72d6077b401f74fb7f717b117c76e16a32f5ae87d7d97982cad6369aba4ebca369b480b6a89952c65cb06a5a7b3a5a6193c23831e3 diff --git a/dev-lua/penlight/metadata.xml b/dev-lua/penlight/metadata.xml index 2d40d2a40111..98992c8b7940 100644 --- a/dev-lua/penlight/metadata.xml +++ b/dev-lua/penlight/metadata.xml @@ -5,7 +5,11 @@ <email>williamh@gentoo.org</email> <name>William Hubbs</name> </maintainer> - <longdescription lang="en"> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> Penlight is a set of pure Lua libraries for making it easier to work with common tasks like iterating over directories, reading configuration files and the like. Provides functional operations diff --git a/dev-lua/penlight/penlight-1.7.0.ebuild b/dev-lua/penlight/penlight-1.7.0.ebuild index cdb9a2b0bb78..f7d7ab835d4c 100644 --- a/dev-lua/penlight/penlight-1.7.0.ebuild +++ b/dev-lua/penlight/penlight-1.7.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/Tieske/Penlight/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~ppc ~ppc64 x86" +KEYWORDS="~amd64 arm arm64 ppc ~ppc64 x86" IUSE="" BDEPEND="virtual/pkgconfig" diff --git a/dev-lua/penlight/penlight-1.9.2-r101.ebuild b/dev-lua/penlight/penlight-1.9.2-r101.ebuild new file mode 100644 index 000000000000..fc399a4a51d6 --- /dev/null +++ b/dev-lua/penlight/penlight-1.9.2-r101.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PN="Penlight" + +inherit lua toolchain-funcs + +DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" +HOMEPAGE="https://github.com/Tieske/Penlight", +SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND="${LUA_DEPS}" + +RDEPEND=" + >=dev-lua/luafilesystem-1.8.0-r100 + ${DEPEND} +" + +BDEPEND=" + virtual/pkgconfig + test? ( ${DEPEND} ) +" + +HTML_DOCS=( "docs/." ) + +lua_src_test() { + ${ELUA} run.lua || die +} + +src_test() { + # This is a demo app, not a real test + rm tests/test-app.lua + + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins -r lua/pl + + einstalldocs +} + +src_install() { + lua_foreach_impl lua_src_install +} diff --git a/dev-lua/penlight/penlight-1.9.2.ebuild b/dev-lua/penlight/penlight-1.9.2.ebuild new file mode 100644 index 000000000000..a679ab743c3a --- /dev/null +++ b/dev-lua/penlight/penlight-1.9.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="Penlight" + +inherit toolchain-funcs + +DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" +HOMEPAGE="https://github.com/Tieske/Penlight", +SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=">=dev-lang/lua-5.1:=" + +RDEPEND=" + dev-lua/luafilesystem + ${DEPEND} +" + +BDEPEND=" + virtual/pkgconfig + test? ( ${DEPEND} ) +" + +HTML_DOCS=( "docs/." ) + +src_test() { + # This is a demo app, not a real test + rm tests/test-app.lua + + lua run.lua || die +} + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" + doins -r lua/pl + + einstalldocs +} diff --git a/dev-lua/say/Manifest b/dev-lua/say/Manifest index fbbb8057f2ca..4ee1a88245ab 100644 --- a/dev-lua/say/Manifest +++ b/dev-lua/say/Manifest @@ -1,4 +1,5 @@ DIST say-1.3_p1.tar.gz 3667 BLAKE2B bd99687a71129c5038749b0a2ea48411a411cf05559793cc0c4802a5b7aa620fbf4fd15ed9ab661b33c7b9f94468aaf9e292d177aca4d1c7cd29009601d015f0 SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6 -EBUILD say-1.3_p1-r1.ebuild 887 BLAKE2B 4cfd1027b04900f9df4cf4c94ebbc2d7094dcce9a122dc90641fb6034b0a29bddb940565180a913663295f4afa2fbd3bf570f78e2b424940a781df938d496665 SHA512 853c051df61f99b614077d07802df809d845f0aa149afd45785a645c3812c675ed03b13d2421f1a965c9f64512f0d8b5a66145c0df06fe20e629ac6b630c9549 +EBUILD say-1.3_p1-r1.ebuild 886 BLAKE2B bdd9cd539a4119a3e521d241f148c9efe3fd8743e9a259f0a0df359735d99eb916dc2f0844dbf24b69f88aa1d81705981ca728c0bf9c2ccb583e838a57e63450 SHA512 50738d259c035e23eb8d90797c1fc2779721b44faaf61695654ad774e54264b20aaccc8d76f94a6c97864009b9fd8692bf4751d0477f1acaed0265276040418d +EBUILD say-1.3_p1-r101.ebuild 912 BLAKE2B 72b5d6a7a31b70de6d4c4d98b5fd4266147c53c704f8e515675e861d924c83288365b18fa96b6990944add556b7494fd3d0c44992003b53c37a08b0930e009d0 SHA512 81c4c893ca580c13c08e96db392aa6af82c1c018517a72141b7ce98bccb8433120cf23db755b35eb719cee9ffbd58cfb8e636f759231186502f4290a6fb29f5c EBUILD say-1.3_p1.ebuild 664 BLAKE2B 23a1ec3ce6ae91d6ee0a79f2b882e49c75b25ac2b6dd45cbbe6c46a44e088f9050120cd21e90b0222e6f7029521a79a3040b4500687fe6aca625cfc0abd287f0 SHA512 348ac3a993aeee0c570dabdf7fc632c8532801620ce384f1b1b8f18b75ee20b6894f0ac1fc0a4d646e6be38df6136f88631f37e26a79275c6f27d8314a486ba8 -MISC metadata.xml 329 BLAKE2B 325677f6bc343be31e86ec9fc075e35d5b4502d56bbca921a051259d3c3f0465ea8b413097b016e1da1071a568379b33f7f68f1415b48f3e7d6da61dd5496580 SHA512 682e04f76b25420d553f0f557f8b236c52882f6789783dcb4ef4df71bfb702dac268bedaba38e3dd1504cc97e403663571bfe07186cf9101cfceb9aaefc8de92 +MISC metadata.xml 440 BLAKE2B 436e12385108634e35113c2cfa87d1fc7702e577f3da3242e575ba2c4d64c076ebd05e96e628db472c59957db600c244a14d72537c3728a83cb3125547c789be SHA512 15db0d85172a05831440854135278061e1240e287e36c367ba98cab7f98505450db8d770dbb7612a21a3468f079328bc074102d067e1c5f5f86e18b8d6794392 diff --git a/dev-lua/say/metadata.xml b/dev-lua/say/metadata.xml index 91d1cb37065b..dba514960b1e 100644 --- a/dev-lua/say/metadata.xml +++ b/dev-lua/say/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">Olivine-Labs/say</remote-id> </upstream> diff --git a/dev-lua/say/say-1.3_p1-r1.ebuild b/dev-lua/say/say-1.3_p1-r1.ebuild index 931cbd14b210..4fa202cd47ab 100644 --- a/dev-lua/say/say-1.3_p1-r1.ebuild +++ b/dev-lua/say/say-1.3_p1-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}. LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 x86" IUSE="luajit test" RESTRICT="!test? ( test )" diff --git a/dev-lua/say/say-1.3_p1-r101.ebuild b/dev-lua/say/say-1.3_p1-r101.ebuild new file mode 100644 index 000000000000..cef73fc92c85 --- /dev/null +++ b/dev-lua/say/say-1.3_p1-r101.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua toolchain-funcs + +DESCRIPTION="Lua String Hashing/Indexing Library" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" + +BDEPEND=" + virtual/pkgconfig + test? ( >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] ) + ${RDEPEND} +" + +lua_src_test() { + busted --lua=${ELUA} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir)/say + doins src/init.lua + + einstalldocs +} + +src_install() { + lua_foreach_impl lua_src_install +} |