diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-25 01:28:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-25 01:28:26 +0100 |
commit | 9fce2d9787c37a690336f5e345a49d83ee60bc8a (patch) | |
tree | 0dabdf3dfaf12e3782b5551f1c84f30f19d22bec /dev-lua | |
parent | d2f5fa9c5505a5c3df8170b498e890f50dfc9553 (diff) |
gentoo auto-resync : 25:06:2023 - 01:28:26
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/Manifest.gz | bin | 7302 -> 7303 bytes | |||
-rw-r--r-- | dev-lua/luacheck/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luacheck/luacheck-1.1.1.ebuild | 66 | ||||
-rw-r--r-- | dev-lua/luaposix/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luaposix/luaposix-36.2.1.ebuild | 73 |
5 files changed, 143 insertions, 0 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz Binary files differindex 8a531ec6ab12..1ea937341c5b 100644 --- a/dev-lua/Manifest.gz +++ b/dev-lua/Manifest.gz diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest index 24a99d5fdef6..1e0fe5b73ed8 100644 --- a/dev-lua/luacheck/Manifest +++ b/dev-lua/luacheck/Manifest @@ -1,4 +1,6 @@ AUX luacheck-0.23.0-disable-measuring-performance-test.patch 446 BLAKE2B 42c83ec5eb3d073a5e907c6285a6a2a26f1563940435a111d74274dcdff76f7662d8b623c86658fa0a0b568e150cfa059d2100d82b7f65fcd293b361ec6c45bf SHA512 046cc3ad7e74435b3c6df1a5d271e82cd90a3c02c9228c5a632b13378a8b17c3cde21b00fdc84ab350493b64ec36beb10591a32d52b96010481b7d6a08655392 DIST luacheck-1.1.0.tar.gz 178588 BLAKE2B 9e1946cc3c88d7690d3cdb8e70be3dde1b863d1c55a6b5bef755715456671c13c862686f888098b878d10a2c1ec1b83ed6b26b01ebc884047c9908fa6bc2ead7 SHA512 aca1145b64070468ce8e3de1130f0cadba0dbef14ce61fef0a234ef5e890e69f1bd9dfebaa30c38a8e62405d08e1f0319748e00fc403ba093c5945ca438e0c40 +DIST luacheck-1.1.1.tar.gz 179107 BLAKE2B 48fb07d4d74206581054718c0b422a65b7de01d7e5f05cd9139f19a74bbe0fc0f98977e6b4c97e2d984db98e18a9fe7b3eefaf44b8ab71bf95f84a5c649e9ca6 SHA512 0294cfc49a8a6c1c2ee4d326fd85bf1c8040b6053ed68975d7aa65a33956d9ad8d715281efc319d54ad8f1b66888a0ff263da8d2ccaace16b51bac87d0fb86c7 EBUILD luacheck-1.1.0.ebuild 1282 BLAKE2B c6c9c124cdc1762f1f16e305382149f553db6a4f220fa9dd2c732efbfa1fc1d907ff34d875affab5ce03bd8abf264f69de55cf09d75c3453d4aea32d3ec31feb SHA512 67a9ab7a374636bc31f9a35c397d6c3a0cf83163a9523267253797a0e107b6f1e5f00134a98837bdfe04555e8e1a9a6db270c17c89ac7481fd8fe2caa8f886a8 +EBUILD luacheck-1.1.1.ebuild 1288 BLAKE2B 95b26d175b35ac863e4e7c37504bf0ada196363e72d00ad704813f28e25ed8fcb7ae2b1393145d2aa33085d2f749c5adc5187d104f77483d10f1f750df30a3b8 SHA512 222232a52a05c3ff54b96a1210c880eba0c8190ef6b9a52be454b1ceef4ca87efd0c12b88c8e687351b420c1051d0f305a738227fddaf86039dc0305d5a03764 MISC metadata.xml 703 BLAKE2B d86d4b639e4b5372f4756da449210438737e4609772ac5263b8956e5b78dc6fe198d341303442f6ef68e92b4a78c2f03356e010c3a204d79e420070e4aca13d4 SHA512 ed140f75ba4460fdf0a0ffbf2a7541a655a43e02168386b6a3de6adcc9a978bcb403d81a7696c4d6fcfe0f0e4827a7ad421123de0e53c614904eb341e86a2cc3 diff --git a/dev-lua/luacheck/luacheck-1.1.1.ebuild b/dev-lua/luacheck/luacheck-1.1.1.ebuild new file mode 100644 index 000000000000..dc87175879bb --- /dev/null +++ b/dev-lua/luacheck/luacheck-1.1.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +DESCRIPTION="A tool for linting and static analysis of Lua code" +HOMEPAGE="https://github.com/lunarmodules/luacheck" +SRC_URI="https://github.com/lunarmodules/luacheck/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lua/lua-argparse[${LUA_USEDEP}] + dev-lua/lua-utf8[${LUA_USEDEP}] + dev-lua/luafilesystem[${LUA_USEDEP}] +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) + test? ( + dev-lua/busted[${LUA_USEDEP}] + dev-lua/lua_cliargs[${LUA_USEDEP}] + ${RDEPEND} + ) +" + +PATCHES=( "${FILESDIR}/${PN}-0.23.0-disable-measuring-performance-test.patch" ) + +src_compile() { + if use doc; then + sphinx-build docsrc html || die + fi +} + +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 src/luacheck +} + +src_install() { + lua_foreach_impl lua_src_install + + newbin bin/luacheck.lua luacheck + + use doc && local -a HTML_DOCS=( "html/." ) + einstalldocs +} diff --git a/dev-lua/luaposix/Manifest b/dev-lua/luaposix/Manifest index 40ab70f3413c..5f04a9f06f0e 100644 --- a/dev-lua/luaposix/Manifest +++ b/dev-lua/luaposix/Manifest @@ -1,3 +1,5 @@ DIST luaposix-36.1.tar.gz 186075 BLAKE2B 209b27c575d664143e565443b3c0a46437a41f77e78729fdd08258a98247d82ffc6a31031f01d70bd545418ec678c0af8a24e6b14ed34694fc46d9420b3a687d SHA512 7a15725cec3701a26d1a25da3b8320ab0a9a4a3f6ee64dd0263bf0aec763bc21940c13fed58bd6a93f60eb07cd44288fa18ec26c63c32138846229515b8f3596 +DIST luaposix-36.2.1.tar.gz 188010 BLAKE2B 7f1d3cf0d766e32433f4946be92f3f0036652ae09e4816c8423e65ce47237b20151fec8ffa3d4b32079b247a98cb79f9c35758aff3c56c116b903a3b44c2c550 SHA512 cd7deeaa9179306f90bafdc6cfb2668cf42d5378e72e5baa09419198f2d42c5eab5d881e5584ac511f317bbfd850f2ad46b8cb743f1ae5e1a96f8153e03599d8 EBUILD luaposix-36.1.ebuild 1692 BLAKE2B 1295d653c9e29392895bcbbdb7829fd50b2f52b328919aba1b0e1f18637b3f906a7775cf1f92ad3ae24d21b01953647f075a404416905b5759ebe92700ebe4f6 SHA512 1cdfe1d4358857d4b5b1321353e47033a18a6e4d1000deb9c23d4a2af829b31a8244d7041221483510310f2bc9e1324e86fd3bd3cc8bcd79885eab2aa636af9b +EBUILD luaposix-36.2.1.ebuild 1694 BLAKE2B ba5ce400bfedb4e74a0f9c931a9a6f486c755fed080ebbadfb9e1f16d79f7bba16a1632036713519d1b3b0d1899e0bf8b7d821c52e0302ee66c579589935792d SHA512 6e8c1976ffeaf23cd0501893007158988bf19831d10d692534fef7ba47748a5b029794f0867cfb5644612be2e723d6ed694acaa79cbc79f5a0a4cc6ab98243a3 MISC metadata.xml 333 BLAKE2B cde5d0fbb36e8fe0a6d1d2a4bf6a69dad4db3bf448c028af2c10ea7b2d77985ce4bca8cc64b019127bb20c9b98974fd5270d2d2a89c12da5febc0f984c519a91 SHA512 f5d2de55ae68b8d50f935c69c98246b94f94ff2065057f87a741f3bcb0862a29a94739d19f9b2cdecbb7e2001d141021a86538994864b53a1b2e62ba65d9f626 diff --git a/dev-lua/luaposix/luaposix-36.2.1.ebuild b/dev-lua/luaposix/luaposix-36.2.1.ebuild new file mode 100644 index 000000000000..c135178d9d85 --- /dev/null +++ b/dev-lua/luaposix/luaposix-36.2.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 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="Bindings for POSIX APIs" +HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" +SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~riscv-linux ~x86-linux" +IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# Requires specl, which is not in the tree yet +RESTRICT="test" + +DEPEND="${LUA_DEPS} + virtual/libcrypt:= +" +RDEPEND="${DEPEND} + lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) + lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] ) +" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + # LDOC=true means disable ldoc update documentation + ./build-aux/luke --verbose package="${PN}" version="${PV}" \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + LUA_INCDIR="${EPREFIX}/$(lua_get_include_dir)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die + + popd || die +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + ./build-aux/luke install \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + || die + + popd || die +} + +src_install() { + lua_foreach_impl lua_src_install + dodoc {NEWS,README}.md + use doc && dodoc -r doc +} |