diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-09 18:44:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-09 18:44:29 +0000 |
commit | dc41efad78c64df9b74ed6f94dcf25391b8fc5e1 (patch) | |
tree | 0e9943dbba2f7bc3f723f1e68720b1500c61ac94 /dev-lua | |
parent | 20d4435a7d9459953db77f3256f699f420d3e484 (diff) |
gentoo auto-resync : 09:03:2024 - 18:44:28
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/Manifest.gz | bin | 7321 -> 7332 bytes | |||
-rw-r--r-- | dev-lua/dkjson/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/dkjson/dkjson-2.7.ebuild | 48 | ||||
-rw-r--r-- | dev-lua/inifile/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/inifile/inifile-1.1.ebuild (renamed from dev-lua/inifile/inifile-1.0-r1.ebuild) | 5 | ||||
-rw-r--r-- | dev-lua/lanes/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/lanes/lanes-3.16.3.ebuild | 95 | ||||
-rw-r--r-- | dev-lua/luarocks/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luarocks/luarocks-3.10.0.ebuild | 86 |
9 files changed, 239 insertions, 5 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz Binary files differindex bd391d23c2a8..bc7b8cd9aeb6 100644 --- a/dev-lua/Manifest.gz +++ b/dev-lua/Manifest.gz diff --git a/dev-lua/dkjson/Manifest b/dev-lua/dkjson/Manifest index 406e3bf9779a..b7e2d5ce8938 100644 --- a/dev-lua/dkjson/Manifest +++ b/dev-lua/dkjson/Manifest @@ -1,3 +1,5 @@ DIST dkjson-2.6.tar.gz 15803 BLAKE2B fdb471b94b50d90ac3ca2a6230e8a2f6b5f1362b368a4fbdf2b54b12cfd38762f448a1a752aa6022e1c80806d62d72a861f048e1734edb081d6fc1dbf225a2da SHA512 eea9dfb386672114e4269284eda045161289b43c872b9108971babbb247e686ea1c045bd4f127037e949b356630fa430037fb4b1a1eb7b5cc51f80d144a5add2 +DIST dkjson-2.7.tar.gz 17292 BLAKE2B e3ac57edb6333dee8eeeba9d844ddc9f3fb3d35c6bd61a896ffff928e2d5c4d17be8a0c01c36d83fb0e4694ad38f3233a92f093cf85dc4b7375a72a224f7e0a8 SHA512 8e0cfb27fb2721c57b4fa0e104edc5e3b1f2b375e6ddde486be44f2bd574c19fccbc7c6f629f3d04b16cf652effd0894cb38edf405395488d33577420692246e EBUILD dkjson-2.6.ebuild 906 BLAKE2B 4254accdd5fcd85e5d5e2a7f081edb2b98df95741f5116477f747fffb11435c869892514e2bbdd9c0ae21868963e08b7dea370521dd1374ad529b9dbe60aeb36 SHA512 163aba7a97eb2a1e101af6a98ac767c4a2bdf10155da22988dfe7438de2c8375fa6026788f7d3c5672989bb28714022b0e73ba78f81e64363ae631d23f7a767c +EBUILD dkjson-2.7.ebuild 864 BLAKE2B 3b2f8d4cafba3a5c76aba6262d83762b9a21f0fec2c7d509195b6a53691c36a3bf376f2bfa2382dc55cafc7b2a0a1dc14efae971ac4b6f57bf04ec55cb3eab74 SHA512 b52144f10e928fa9e64ac67e8069f8cd5b0d9ee83b90b6d74e470b44bf9151ca1287264d6d115fbca5d93082eef7fb32313fc72887c848fa43db2f09da912388 MISC metadata.xml 746 BLAKE2B d46085001dee037fae4c52ebde878d53de21f48efba0a5a56b4514649eabd5ff238345f3b685d78432a885172b42f862e37d0e327caa3338feb771a6f1bd5f1b SHA512 8cda2b22f6509c636f38cfaf0dfc4084422d33ecca84627823d87f86bbdef5ca97def3b98bd372c46a509c83f8e0aab4bf74b3661c3119c94245117439eceb01 diff --git a/dev-lua/dkjson/dkjson-2.7.ebuild b/dev-lua/dkjson/dkjson-2.7.ebuild new file mode 100644 index 000000000000..a1c66a6fb269 --- /dev/null +++ b/dev-lua/dkjson/dkjson-2.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +DESCRIPTION="David Kolf's JSON module for Lua" +HOMEPAGE="http://dkolf.de/src/dkjson-lua.fsl/" +SRC_URI="http://dkolf.de/dkjson-lua/${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="${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/inifile/Manifest b/dev-lua/inifile/Manifest index 49fd8c28277d..3fa10fbff4dc 100644 --- a/dev-lua/inifile/Manifest +++ b/dev-lua/inifile/Manifest @@ -1,3 +1,3 @@ -DIST inifile-1.0.tar.gz 2611 BLAKE2B cdda6d9b2de45b4bec4695029018e37fe22a993afe5a54df4f4c519457d00267338de5aa3379a72dc7ab962260cd39f49674c2685799e4ad5544fed938c1080b SHA512 d0a9aa825cd5cf4a3b0b562853f3593141f537388c3e3a4334317b2536aa2dd695bdea37058d3d907aad10162bb71ef5b324c769e65cbd18e4526e37275cb970 -EBUILD inifile-1.0-r1.ebuild 664 BLAKE2B cad9efa77e9bf08f05862bae7d5b2af9f1a11338fb146cf9f2b85218ac38d3d051dd24a03482503208ce123b6b1dd4f51f20bdd994956e3560af2aa370dd599a SHA512 f60be40d1d88c4b9553a87a422531f1fd7ff7aa0f677cf86f6c6e46ca0cca2dfac8266fc4c659c04788ee6fb2e86797d08ddcea325c65a57b01956b67b060c8e +DIST inifile-1.1.tar.gz 4448 BLAKE2B 53536d4f40f4906b33b00692090be3da7701ddcea5facf8a34cd3c61a77092280315188faa133265f1d425a6d0997682871c4df6b133de55f94114c1f4e3a9a5 SHA512 039126031272301ae825bdfa5c4db94cba96a3cee6a6e3326941af471e177bdd2a0e51176ff992932203ec99900d90abc36b6380c9fecc482af517231d504f61 +EBUILD inifile-1.1.ebuild 645 BLAKE2B 3f6739207672b32b9718272197a6dc5bb9b5db99675c22086ce00fe9b981a5cf33cac3b5e26f6ccdf9565124c1b8f91b29ea8f8be8bb4448c688e3456a8b7ccf SHA512 f37114423bbdc0ed8850b38616db3613710b807f616a1f3b02a5d344167387ecc9c72151c5e9edefea4fbb8a9e18db0859792c117066e82661d13e653f0c11a9 MISC metadata.xml 355 BLAKE2B 1271d0462587becbdf4e3e24e0db00b9f3502678209a672849b7d2dfae8b78d905a389eb9297a0940a39439b4a1df377a259fc2630a7ec0fa0c6defa98bfc92f SHA512 97e1f47e7ead8941356d1085e52d488d0eb4f7e2c5cb1a5468c6febe83baee550667f8c12b247a50401ac2ed6be5319b20e5bf106c151f401724211a438d1376 diff --git a/dev-lua/inifile/inifile-1.0-r1.ebuild b/dev-lua/inifile/inifile-1.1.ebuild index cadc6c0d76bb..8e3abb13bd5f 100644 --- a/dev-lua/inifile/inifile-1.0-r1.ebuild +++ b/dev-lua/inifile/inifile-1.1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) -MY_PV="${PV/_p/-}" inherit lua diff --git a/dev-lua/lanes/Manifest b/dev-lua/lanes/Manifest index fa1876295068..bcacb1385d75 100644 --- a/dev-lua/lanes/Manifest +++ b/dev-lua/lanes/Manifest @@ -1,5 +1,7 @@ AUX lanes-3.13.0-makefile.patch 2719 BLAKE2B 2ee48812f971a3ed9d6425b115fa7415fb4c47596f25a32efd4c3d5fb8eb7f70839ae21d4970fa2120c5f16847d6bb10a417a228594a7f6eedb6d53a7bd062c8 SHA512 6a511ad7cf2dac9abff275c01c885adac04b40de46fe7d776ebea1663291e9a043d9ced6f470931cafdddc200895006e389a6fb6a2e5164bdef6b6acd2f1d38c AUX lanes-3.16.2-musl.patch 918 BLAKE2B 49e549341ae7f1c9324b1c24da04a5149b483b5544ef61c66a836af8778c64912b7a239f525af0ebc12bbba606f91527730ac994dee3751e6a681489dde6067e SHA512 537620dcbbd622a5489cd2f3c222cc0cd465483d1eabba1327200e7352308b84eda19068aed3bf3b7ab2357af451797955a12556e733650a12278584aa4ef84c DIST lanes-3.16.2.tar.gz 446113 BLAKE2B 5343ac98f2fac3c92d8afeb6dbbd4875ce93c44715b40b030cbbb03f311b3e358358c1daa295790b0a62113bb15355fc8927a8b7896af079d8e7fe50e2e6b438 SHA512 c7e8037d6f709b31bdb981cbcf70ba51f23823bac51f7ee9ef47881603547a8e1df3c6b7fa35110528cb7547f83048cbe71868aa94c03a59165f1b9d2d5ad08a +DIST lanes-3.16.3.tar.gz 446289 BLAKE2B 018f470209b534bb84f69f8a38c7decd8011a13926bf7c82a4fc4b0d3f2892562a69c3116dd6fce5d37d9d2b5057ed661cc22bdbfcfac4e267a32dd5f64a47dc SHA512 a3037c0df27e8172ce9ff896079eb4a5ee3a35dc507a8b809c151de21e7600ffd0fccc12113fb64dc3c709e1eff99da350576aef41ac20493ea933fb7dc4c381 EBUILD lanes-3.16.2.ebuild 1624 BLAKE2B be586986658737210ebd6380b5a30be42ce575103755cc90773ec7d6b9b51bdf25deb252ea94d765e4e9cb8bf3567dacfead8a949e376714f4c1d66467f516bd SHA512 1b40b1dc6fa9548fe426fbf677a9cac3e6f2b570a8722e04eb1480ebbc8e6fdc736d265ebec7dd4d1051920466ccc4b679b0fb280530c0cc24caa8a8661f7187 +EBUILD lanes-3.16.3.ebuild 1586 BLAKE2B 9eb4ac3bb86b448f15f2ff2228a63ecf93ec836ec7f9b2ae3c85935e4c27faa5f6d7f945c481fd78bb7763d059c5d31a5795e8093ecb2c44ba54a7bdf3c34ff3 SHA512 1afc35791eee436fd5808cdb9cd6abe7974b98b1988dcc21dc2f5d027b1ff080b0b7b6c08c32d18bd4e97040dbbf7f1616eb370f7ee4e3ea67fde0f9bd5dc633 MISC metadata.xml 439 BLAKE2B 64ca90f83e145d31acd41464d9661aa5ad164df3a9050084d4d272f7a834455bc6a9b7657bf34a3829927208a14ad8fb409a2e12f890be90008d858392f5065a SHA512 a55de988fd5da55fc51cbc3750361b95a7aa1c98e343725416eeaf8fe5c09c12c80f736593abd3bf08840b66602e6087094d9748ea238135de1f08a324a92c0a diff --git a/dev-lua/lanes/lanes-3.16.3.ebuild b/dev-lua/lanes/lanes-3.16.3.ebuild new file mode 100644 index 000000000000..8baab79dd024 --- /dev/null +++ b/dev-lua/lanes/lanes-3.16.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua toolchain-funcs + +DESCRIPTION="Lightweight, native, lazy evaluating multithreading library" +HOMEPAGE="https://github.com/LuaLanes/lanes" +SRC_URI="https://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# Tests are currently somehow problematic. +# https://github.com/LuaLanes/lanes/issues/197 +# https://github.com/LuaLanes/lanes/issues/198 +RESTRICT="test" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( ${RDEPEND} ) +" + +HTML_DOCS=( "docs/." ) + +PATCHES=( + "${FILESDIR}/${PN}-3.13.0-makefile.patch" +) + +src_prepare() { + default + + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "CC=$(tc-getCC)" + "LUA=${ELUA}" + "LUA_FLAGS=$(lua_get_CFLAGS)" + "LUA_LIBS=" + "OPT_FLAGS=${CFLAGS}" + ) + + tc-export PKG_CONFIG + + emake "${myemakeargs[@]}" + + popd +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_test() { + pushd "${BUILD_DIR}" || die + + emake LUA="${ELUA}" test + + popd +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + local myemakeargs=( + "LUA_LIBDIR=${ED}/$(lua_get_cmod_dir)" + "LUA_SHAREDIR=${ED}/$(lua_get_lmod_dir)" + ) + + emake "${myemakeargs[@]}" install + + popd +} + +src_install() { + lua_foreach_impl lua_src_install + + einstalldocs +} diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest index ef76f3087817..0ae22c05093c 100644 --- a/dev-lua/luarocks/Manifest +++ b/dev-lua/luarocks/Manifest @@ -1,3 +1,5 @@ +DIST luarocks-3.10.0.tar.gz 273518 BLAKE2B 64a9f7d5c9e15b8753e32f080d8f792be37f7b66635ce3df2218563774d5f90a18ef1b625861e13df9e728e1cbd90f0ed7247ce1bec207b97fa895780a77ab53 SHA512 4a834059b8f544274a110131d59d0647fb317078ef7709c1dc1a464513ebc38300abb71094620e21bb2f6e60193e9a1b0c06e7e0f4ad9acc2bf188bf4b599922 DIST luarocks-3.9.2.tar.gz 256117 BLAKE2B eebbad38dd71b0318852a177d394df5fd20e807d566893a2338526e76e17daf2436309e512dd50b325914b2d84b90ef857396bfd6d41f22893131ed78931b8ad SHA512 7e93164bdcf35338e993822931a8e59957ab69c6e23236a7a075649c2f7cd173305c4ca6e9d115fc5e282cb76c21754d7adac92b21885006e5ee3bc06a9d0059 +EBUILD luarocks-3.10.0.ebuild 2036 BLAKE2B 3427ddeaa484b3a105ce82c8ffec458ea957f44deb009f9c40e92dc24927ae5e5870a3739e53ee7b0991adb087d0a924a51738c593cde8091e0298c7fd275ad5 SHA512 48337d673725cb494fd6bc79a770fd9a5b67c785d11c7b1a17ff8107b3a05b57229eac079f109a0929df4949baee403e298b3a16c64784b38123a4da4e20fef8 EBUILD luarocks-3.9.2.ebuild 2032 BLAKE2B 734eb895b3d1005336cb528b212e2eb2283b5092fee5566c7479b512f5ff3513860163564b13d233c852bef812c5b6410f95ba7739af57ec6f6dcb270e8cea0f SHA512 3ab41e559dbd2fbab1505981eb98eb159de506f16ba6b239b80db9c23caf95fc2d3f59ee283816573335407df99f10a3d9f93cd91ea559c53e179405f16f846f MISC metadata.xml 501 BLAKE2B 0a2a3e7358a2ef2a4cbb79853408dfdf6015d49348bbb879a59253a88c73cf3d96c2ce708076844344468136d70962be74e639d24331a007fbd02ce6ccc18cee SHA512 43f147be67209e542e02733b6a57ce7ee05b61a7eb0d15662c0fb137db4f57c9f519cc98cf5dceb0e6f626f0dc6f04dd5b67da96a155b1e3884dca55896722f3 diff --git a/dev-lua/luarocks/luarocks-3.10.0.ebuild b/dev-lua/luarocks/luarocks-3.10.0.ebuild new file mode 100644 index 000000000000..2319a20303e0 --- /dev/null +++ b/dev-lua/luarocks/luarocks-3.10.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua-single + +DESCRIPTION="A package manager for the Lua programming language" +HOMEPAGE="https://luarocks.org" +SRC_URI="https://luarocks.org/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${LUA_DEPS}" + +DEPEND=" + net-misc/curl + dev-libs/openssl:0 + ${RDEPEND} +" + +BDEPEND=" + virtual/pkgconfig + test? ( + $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') + $(lua_gen_cond_dep 'dev-lua/busted-htest[${LUA_USEDEP}]') + ${RDEPEND} + ) +" + +src_prepare() { + default + + # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, + # as no compiled modules are installed on a new, fresh installation, + # so this check must be disabled, otherwise 'configure' will fail. + sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die +} + +src_configure() { + local myeconfargs=( + "--prefix=${EPREFIX}/usr" + "--rocks-tree=$(lua_get_lmod_dir)" + "--with-lua-include=$(lua_get_include_dir)" + "--with-lua-interpreter=${ELUA}" + "--with-lua-lib=$(lua_get_cmod_dir)" + ) + + # Since the configure script is handcrafted, + # and yells at unknown options, do not use 'econf'. + ./configure "${myeconfargs[@]}" || die +} + +src_test() { + busted --lua=${ELUA} || die +} + +src_install() { + default + + { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die +} + +pkg_postinst() { + local lua_abi_ver + if use lua_single_target_luajit; then + lua_abi_ver="5.1" + else + lua_abi_ver=${ELUA#lua} + fi + elog + elog "To manage rocks for a Lua version other than the current ${CATEGORY}/${PN} default (${lua_abi_ver})" + elog "you can use the command-line option --lua-version, e.g." + elog + elog " luarocks --lua-version 5.3 install luasocket" + elog + elog "(use 5.1 for luajit). Note that the relevant Lua version must already be present in the system." + elog +} |