public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-resty-core/
@ 2025-07-05  7:27 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-07-05  7:27 UTC (permalink / raw
  To: gentoo-commits

commit:     c64f73046f9aa55e5d753411debcc6a5b33f67b6
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 22 11:39:06 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:26:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c64f7304

dev-lua/lua-resty-core: new package, add 0.1.30

lua-resty-core[1] is a "FFI-based Lua API", required by
www-nginx/ngx-lua-module.

[1]: https://github.com/openresty/lua-resty-core

Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lua/lua-resty-core/Manifest                    |  1 +
 .../lua-resty-core/lua-resty-core-0.1.30.ebuild    | 33 ++++++++++++++++++++++
 dev-lua/lua-resty-core/metadata.xml                | 24 ++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-lua/lua-resty-core/Manifest b/dev-lua/lua-resty-core/Manifest
new file mode 100644
index 000000000000..3a2f5fd11082
--- /dev/null
+++ b/dev-lua/lua-resty-core/Manifest
@@ -0,0 +1 @@
+DIST lua-resty-core-0.1.30.tar.gz 226422 BLAKE2B c1afe9d7f06b9fe52ae8ea1840afa9ce7525f01aa7f9bd632d08ee9b84e2253fb531ee506e3e9acd641cc30e978d2d2f54d9e986c3982974ae866f561208bc84 SHA512 e3951e71600b16732b3d1fc0e9c9497e9e73e739628ca06171e0274ebe880e3ce77a7992a98e911e33fbd336bc723c45e198357046308d5043e64e3003ccb26f

diff --git a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild b/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
new file mode 100644
index 000000000000..eb4de4b5c50e
--- /dev/null
+++ b/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Openresty only ever supports luajit.
+LUA_COMPAT=( luajit )
+inherit lua-single
+
+DESCRIPTION="FFI-based API for lua-nginx-module"
+HOMEPAGE="https://github.com/openresty/lua-resty-core"
+SRC_URI="
+	https://github.com/openresty/lua-resty-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+# Tests require replicating much of nginx-module_src_test() in each
+# dev-lua/lua-resty-* ebuild.
+RESTRICT="test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="${LUA_DEPS}"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	# The directory where to Lua files are to be installed, used by the build
+	# system.
+	export LUA_LIB_DIR="$(lua_get_lmod_dir)"
+	default
+}

diff --git a/dev-lua/lua-resty-core/metadata.xml b/dev-lua/lua-resty-core/metadata.xml
new file mode 100644
index 000000000000..2eafe932ef4b
--- /dev/null
+++ b/dev-lua/lua-resty-core/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>zurabid2016@gmail.com</email>
+		<name>Zurab Kvachadze</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		This Lua library reimplements part of the ngx_lua module's NGINX API for Lua with LuaJIT FFI
+		and installs the new FFI-based Lua API into the ngx.* and ndk.* namespaces used by the
+		ngx_lua module.
+
+		In addition, this Lua library implements any significant new Lua APIs of the ngx_lua module
+		as proper Lua modules, like ngx.semaphore and ngx.balancer.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/openresty/lua-resty-core/issues</bugs-to>
+		<remote-id type="github">openresty/lua-resty-core</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-resty-core/
@ 2025-07-05  8:24 Arthur Zamarin
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur Zamarin @ 2025-07-05  8:24 UTC (permalink / raw
  To: gentoo-commits

commit:     8955124f1b9c1429d340e75c153050ba464633d9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  5 08:23:49 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 08:23:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8955124f

dev-lua/lua-resty-core: Keyword 0.1.30 arm64, #959570

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild b/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
index d459fec0cad0..24d1df399af6 100644
--- a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
+++ b/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~arm64"
 # Tests require replicating much of nginx-module_src_test() in each
 # dev-lua/lua-resty-* ebuild.
 RESTRICT="test"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-05  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-05  7:27 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-resty-core/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-07-05  8:24 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox