public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-resty-lrucache/
@ 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:     c76fbcab4fa72361bd4f7052223f137c2d4c7234
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 22 11:42:07 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:27:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76fbcab

dev-lua/lua-resty-lrucache: new package, add 0.15

lua-resty-lrucache[1] is a "Lua LRU cache"; it is a runtime dependency of
www-nginx/ngx-lua-module.

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

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-lrucache/Manifest                |  1 +
 .../lua-resty-lrucache-0.15.ebuild                 | 33 ++++++++++++++++++++++
 dev-lua/lua-resty-lrucache/metadata.xml            | 19 +++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-lua/lua-resty-lrucache/Manifest b/dev-lua/lua-resty-lrucache/Manifest
new file mode 100644
index 000000000000..3af68d23c1fa
--- /dev/null
+++ b/dev-lua/lua-resty-lrucache/Manifest
@@ -0,0 +1 @@
+DIST lua-resty-lrucache-0.15.tar.gz 17834 BLAKE2B 80e6c1472de7df1b4c4e34cc002d64ae2aad92da8e0346325bb75e3ddb03c9015d5c34ffc961afbab6a06f0922eb11c0e17a1a91ddb0c84d42fe8c3aaf7c2c07 SHA512 544d862fb6de66c6a9e342ba62aaf11b639ba199c97261a74881a9b395705e2a78b96d58a405dab7793b53be12cd8108d3861f6d30c3b3950b565fed1547a47d

diff --git a/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild b/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
new file mode 100644
index 000000000000..f85dbf3f9a66
--- /dev/null
+++ b/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.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="Lua-land LRU Cache based on LuaJIT FFI"
+HOMEPAGE="https://github.com/openresty/lua-resty-lrucache"
+SRC_URI="
+	https://github.com/openresty/lua-resty-lrucache/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-lrucache/metadata.xml b/dev-lua/lua-resty-lrucache/metadata.xml
new file mode 100644
index 000000000000..81d1558075b9
--- /dev/null
+++ b/dev-lua/lua-resty-lrucache/metadata.xml
@@ -0,0 +1,19 @@
+<?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 library implements a simple LRU cache for OpenResty and the ngx_lua module.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/openresty/lua-resty-lrucache/issues</bugs-to>
+		<remote-id type="github">openresty/lua-resty-lrucache</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-lrucache/
@ 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:     49c5d38a5480268e4ff35068836f8b0ed08aee50
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=49c5d38a

dev-lua/lua-resty-lrucache: Keyword 0.15 arm64, #959570

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

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

diff --git a/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild b/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
index e9f5aac41e80..e6ef082d8b30 100644
--- a/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
+++ b/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.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-lrucache/ 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