public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-resty-memcached/
@ 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:     68bfddbe302b23ea597a3fc8265cbdd74bbba9c1
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 18 15:18:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:27:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68bfddbe

dev-lua/lua-resty-memcached: new package, add 0.17

lua-resty-memcached[1] is "Lua memcached client driver for the ngx_lua
based on the cosocket API".

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

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-memcached/Manifest               |  1 +
 .../lua-resty-memcached-0.17.ebuild                | 33 ++++++++++++++++++++++
 dev-lua/lua-resty-memcached/metadata.xml           | 16 +++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-lua/lua-resty-memcached/Manifest b/dev-lua/lua-resty-memcached/Manifest
new file mode 100644
index 000000000000..1f9d3170a1fa
--- /dev/null
+++ b/dev-lua/lua-resty-memcached/Manifest
@@ -0,0 +1 @@
+DIST lua-resty-memcached-0.17.tar.gz 21216 BLAKE2B 3b65a06d50fce5cc33d570e558e412446c649173e5e495bf1b8d00f63114fe451e9fb4f3284cd314cdfe9561f87291b45b32750c2a290e8d0f05b6996fa765fd SHA512 efc7164e01816133b24a60524078565fa4c5f4f1e22608e59d49bb825c8df459ecd315c434c390be2641d3fd55cdfd960f607ced63675cdcd11dd254196b1a63

diff --git a/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild b/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild
new file mode 100644
index 000000000000..e04b3fd3ce0a
--- /dev/null
+++ b/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.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 memcached client driver based on cosocket API for ngx-lua-module"
+HOMEPAGE="https://github.com/openresty/lua-resty-memcached"
+SRC_URI="
+	https://github.com/openresty/lua-resty-memcached/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-memcached/metadata.xml b/dev-lua/lua-resty-memcached/metadata.xml
new file mode 100644
index 000000000000..0a435022302b
--- /dev/null
+++ b/dev-lua/lua-resty-memcached/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+	<upstream>
+		<bugs-to>https://github.com/openresty/lua-resty-memcached/issues</bugs-to>
+		<remote-id type="github">openresty/lua-resty-memcached</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-memcached/
@ 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:     64b615306cad9cc9233c5df5c434e6b49ccb87e9
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=64b61530

dev-lua/lua-resty-memcached: Keyword 0.17 arm64, #959570

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

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

diff --git a/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild b/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild
index 5d81709fa3ae..627c9923f27f 100644
--- a/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.ebuild
+++ b/dev-lua/lua-resty-memcached/lua-resty-memcached-0.17.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-memcached/ 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