summaryrefslogtreecommitdiff
path: root/dev-lua/luarocks
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
commit1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0 (patch)
tree18e2e784f9fb0dbc3546537acc42ad51b366d90e /dev-lua/luarocks
parent9f6a581d94412ab1cf4b35c33101f6be0ddc7777 (diff)
downloadbaldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.gz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.xz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.zip
Adding metadata
Diffstat (limited to 'dev-lua/luarocks')
-rw-r--r--dev-lua/luarocks/Manifest3
-rw-r--r--dev-lua/luarocks/luarocks-3.12.2.ebuild85
-rw-r--r--dev-lua/luarocks/luarocks-3.13.0.ebuild19
-rw-r--r--dev-lua/luarocks/metadata.xml12
4 files changed, 13 insertions, 106 deletions
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index b714bef86dcd..47b9738047e5 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,2 +1 @@
-DIST luarocks-3.12.2.tar.gz 5493865 BLAKE2B 3f346d76523161b58a4b693943dd5d04531ff22dc65ce3bc0e086fe9cbb40e2db7fb5d39a204bf364460b425ba7f032e57367cab9414c716ed7e19ba075dd317 SHA512 1eaa3f47b3615346be516d25134450e27339fce1d2b8bb5d57fd243e2dabbc448e8b287a7d8686ed6388d0d29c8301c292603f811b642cfbc222c248742a861a
-DIST luarocks-3.13.0.tar.gz 5495339 BLAKE2B 5b6341b3c654e987481d2ce66893c5c5880927cb535ee7ed9d76c16162835feb21ab581a54cc06ee6eff39a2bb41c9fc3a817e642ec6b2360b49b014ca042d60 SHA512 5fc75a3310821ed0ea678683cf904c83c18588b4946ae1f92822225ba23daa39e6d12916585cf1ae034ec678f1c3744b760f1378640187372767527df2e7de01
+DIST luarocks-3.13.0.tar.gz 441909 BLAKE2B 204e7898381d5cc46608b4611270730f14004e283aadb749f439b22111ecd6e0b6287b75f296703a3e9029f934b135bbc74d2b209177dd84382d9f9ad735f5c2 SHA512 44381bb7fd3d474f92b0d2d0bf492246907f88ac6d5bdbb30b889222d755681777042195cfbfa136c068e05db78896760d5aea28c2f60a46d2f30c4c28ba704b
diff --git a/dev-lua/luarocks/luarocks-3.12.2.ebuild b/dev-lua/luarocks/luarocks-3.12.2.ebuild
deleted file mode 100644
index 511536d23239..000000000000
--- a/dev-lua/luarocks/luarocks-3.12.2.ebuild
+++ /dev/null
@@ -1,85 +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=" 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}"
- )
-
- # 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
index 511536d23239..89ce3b03f8e2 100644
--- a/dev-lua/luarocks/luarocks-3.13.0.ebuild
+++ b/dev-lua/luarocks/luarocks-3.13.0.ebuild
@@ -1,5 +1,6 @@
-# Copyright 2021-2025 Liguros Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
LUA_COMPAT=( lua5-{1,3,4} luajit )
@@ -8,20 +9,21 @@ 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"
+SRC_URI="https://luarocks.org/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
-IUSE=" test"
+KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="test"
-RDEPEND="${LUA_DEPS}"
+RDEPEND="${LUA_DEPS}
+ $(lua_gen_cond_dep 'dev-lua/compat53[${LUA_USEDEP}]' lua5-1 luajit)
+"
DEPEND="
net-misc/curl
-
dev-libs/openssl:0
${RDEPEND}
"
@@ -42,14 +44,17 @@ src_prepare() {
# 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
+
+ # unbundle lua-compat53 #961755
+ rm -r src/compat53/*.lua || 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,
diff --git a/dev-lua/luarocks/metadata.xml b/dev-lua/luarocks/metadata.xml
index 591aa284a64b..f754a2408ca7 100644
--- a/dev-lua/luarocks/metadata.xml
+++ b/dev-lua/luarocks/metadata.xml
@@ -1,22 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
<maintainer type="person">
<email>conikost@gentoo.org</email>
<name>Conrad Kostecki</name>
</maintainer>
- <maintainer type="person">
- <email>vpayno+gentoo@gmail.com</email>
- <name>Victor Payno</name>
- </maintainer>
- <maintainer type="person">
- <email>gyakovlev@gentoo.org</email>
- <name>Georgy Yakovlev</name>
- </maintainer>
<longdescription lang="en">
Package manager for Lua.