From d10ed803bbbcbf47f60b79494ae934a46b54e4fa Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 18 Apr 2022 01:48:02 +0000 Subject: Adding metadata --- dev-lua/luarocks/Manifest | 2 +- dev-lua/luarocks/luarocks-3.7.0.ebuild | 87 ---------------------------------- dev-lua/luarocks/luarocks-3.9.0.ebuild | 86 +++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 88 deletions(-) delete mode 100644 dev-lua/luarocks/luarocks-3.7.0.ebuild create mode 100644 dev-lua/luarocks/luarocks-3.9.0.ebuild (limited to 'dev-lua/luarocks') diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest index e0a6af72c2ce..62425abed327 100644 --- a/dev-lua/luarocks/Manifest +++ b/dev-lua/luarocks/Manifest @@ -1,2 +1,2 @@ -DIST luarocks-3.7.0.tar.gz 247576 BLAKE2B b1e119ec897bc8122441445dc215e628d2415dacba9b23c2b075f82a01e21e6e9a8eeab5a3345355d85c566ff9f85ab29194580674521d4d92725b01377ee940 SHA512 cc3c555c488da9f95a118eedb74cb9e2a38b572e172958843dabebce125524e58a13ac65e89a349deb8fef13b6de751074fc3adbb430ab55d4e4109288119153 DIST luarocks-3.8.0.tar.gz 5389112 BLAKE2B 3d46d2a2370d10b19e18ada8d872487aba7e8d182828e14ce37efccaf02cfcfd120fce08d4387e79169dac468f00a4a672c97bb145ada99375c554617294ca28 SHA512 8892189b475d2868adb4f9c8f40ec41be7b5514cd4b9c46cff99b01491d7823a8ef134ce6d365a9b68f587af2b92055d7949594c9a3ec98e03e458bbea6766fd +DIST luarocks-3.9.0.tar.gz 252777 BLAKE2B fba01692057ea5f4a926db4b31d4a299238079af1dfd15078cbff6d3d17d1b87f9f30db8477b1b706ec4602fe9ef82533ad3cc58f8059fe84490b464da0b3c15 SHA512 ccdee2ff14f52428923d5148f3d86d2ad40f84685988a12419c191c73a4df6cfacb0defbea40556493645619fdbef807e198fbae85be69c4075b5212353c1f2d diff --git a/dev-lua/luarocks/luarocks-3.7.0.ebuild b/dev-lua/luarocks/luarocks-3.7.0.ebuild deleted file mode 100644 index ac1787cac544..000000000000 --- a/dev-lua/luarocks/luarocks-3.7.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -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://luarocks.org/releases/${P}.tar.gz" -SRC_URI="https://github.com/${PN}/${PN}/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.9.0.ebuild b/dev-lua/luarocks/luarocks-3.9.0.ebuild new file mode 100644 index 000000000000..3424db88c546 --- /dev/null +++ b/dev-lua/luarocks/luarocks-3.9.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 2021-2022 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/${PN}/${PN}/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 +} -- cgit v1.3