From a4e87863708e0c8dffd3750d50695de7274e9554 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Wed, 31 Dec 2025 20:19:02 +0000 Subject: Adding metadata --- dev-lua/luarocks/Manifest | 2 +- dev-lua/luarocks/luarocks-3.12.0.ebuild | 86 --------------------------------- dev-lua/luarocks/luarocks-3.13.0.ebuild | 85 ++++++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 87 deletions(-) delete mode 100644 dev-lua/luarocks/luarocks-3.12.0.ebuild create mode 100644 dev-lua/luarocks/luarocks-3.13.0.ebuild (limited to 'dev-lua') diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest index 67dc0455763d..b714bef86dcd 100644 --- a/dev-lua/luarocks/Manifest +++ b/dev-lua/luarocks/Manifest @@ -1,2 +1,2 @@ -DIST luarocks-3.12.0.tar.gz 5497784 BLAKE2B a16defd504840291e0f256cb2186d76b2a74a83e5123a678d206539dcfba70987c38d7696e34b5e3d899309df2f21e1bb39d677e72cf33652da13ff0f6cf4592 SHA512 511cb910cee89d63e55c6b0bc33806476075779f85142247876efb6aa2c95adc16544154d50f2488b6609db31b2088591f88d91aedfc1453af103ae35c774bc7 DIST luarocks-3.12.2.tar.gz 5493865 BLAKE2B 3f346d76523161b58a4b693943dd5d04531ff22dc65ce3bc0e086fe9cbb40e2db7fb5d39a204bf364460b425ba7f032e57367cab9414c716ed7e19ba075dd317 SHA512 1eaa3f47b3615346be516d25134450e27339fce1d2b8bb5d57fd243e2dabbc448e8b287a7d8686ed6388d0d29c8301c292603f811b642cfbc222c248742a861a +DIST luarocks-3.13.0.tar.gz 5495339 BLAKE2B 5b6341b3c654e987481d2ce66893c5c5880927cb535ee7ed9d76c16162835feb21ab581a54cc06ee6eff39a2bb41c9fc3a817e642ec6b2360b49b014ca042d60 SHA512 5fc75a3310821ed0ea678683cf904c83c18588b4946ae1f92822225ba23daa39e6d12916585cf1ae034ec678f1c3744b760f1378640187372767527df2e7de01 diff --git a/dev-lua/luarocks/luarocks-3.12.0.ebuild b/dev-lua/luarocks/luarocks-3.12.0.ebuild deleted file mode 100644 index d8e19336d791..000000000000 --- a/dev-lua/luarocks/luarocks-3.12.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2021-2025 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit lua-single - -DESCRIPTION="A package manager for the Lua programming language" -HOMEPAGE="https://luarocks.org" -SRC_URI="https://github.com/luarocks/luarocks/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" -IUSE="libressl test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND="${LUA_DEPS}" - -DEPEND=" - net-misc/curl - libressl? ( dev-libs/libressl:0 ) - !libressl? ( 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 -} diff --git a/dev-lua/luarocks/luarocks-3.13.0.ebuild b/dev-lua/luarocks/luarocks-3.13.0.ebuild new file mode 100644 index 000000000000..6a0f2ea1794c --- /dev/null +++ b/dev-lua/luarocks/luarocks-3.13.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 2021-2025 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) + +inherit lua-single + +DESCRIPTION="A package manager for the Lua programming language" +HOMEPAGE="https://luarocks.org" +SRC_URI="https://github.com/luarocks/luarocks/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" +IUSE="libressl test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${LUA_DEPS}" + +DEPEND=" + net-misc/curl + libressl? ( dev-libs/libressl:0 ) + !libressl? ( 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}" + ) + + # 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 +} -- cgit v1.3