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

dev-lua/lua-resty-mysql: new package, add 0.27

lua-resty-mysql[1] is a "nonblocking Lua MySQL driver library for
ngx_lua".

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

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-mysql/Manifest                   |  1 +
 .../lua-resty-mysql/lua-resty-mysql-0.27.ebuild    | 37 ++++++++++++++++++++++
 dev-lua/lua-resty-mysql/metadata.xml               | 22 +++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-lua/lua-resty-mysql/Manifest b/dev-lua/lua-resty-mysql/Manifest
new file mode 100644
index 000000000000..b4bb7a726d6c
--- /dev/null
+++ b/dev-lua/lua-resty-mysql/Manifest
@@ -0,0 +1 @@
+DIST lua-resty-mysql-0.27.tar.gz 128105 BLAKE2B 32b012691dd6b8aa29bd663b16d51d775c85268abd2a6018be5d154e8af7b191f87d26e627208bf99ee64bd329e71feab17df2636d9e83b3454412ce916ef591 SHA512 5b3ee2ae61fc87af9253d23d79fdfeffa78e8167a72d37ec31a27686b353ec8b5a3863ba8281f69f26acfcdb984eaa759646c235a3278476db2059970f613f03

diff --git a/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild b/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild
new file mode 100644
index 000000000000..08350757ce10
--- /dev/null
+++ b/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild
@@ -0,0 +1,37 @@
+# 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="Nonblocking Lua MySQL driver library for the ngx-lua-module NGINX module"
+HOMEPAGE="https://github.com/openresty/lua-resty-mysql"
+SRC_URI="
+	https://github.com/openresty/lua-resty-mysql/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}
+	dev-lua/lua-resty-string[${LUA_SINGLE_USEDEP}]
+	$(lua_gen_cond_dep 'dev-lua/LuaBitOp[${LUA_USEDEP}]')
+"
+
+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-mysql/metadata.xml b/dev-lua/lua-resty-mysql/metadata.xml
new file mode 100644
index 000000000000..d53c791c23b0
--- /dev/null
+++ b/dev-lua/lua-resty-mysql/metadata.xml
@@ -0,0 +1,22 @@
+<?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 is a MySQL client driver for the ngx-lua-module NGINX module.
+
+		lua-resty-mysql takes advantage of ngx-lua-module's cosocket API, which ensures 100%
+		nonblocking behavior.	
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/openresty/lua-resty-mysql/issues</bugs-to>
+		<remote-id type="github">openresty/lua-resty-mysql</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-mysql/
@ 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:     8f51d3df807a722cde4dd97f38edd5e205ffa4ae
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  5 08:23:50 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 08:23:50 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f51d3df

dev-lua/lua-resty-mysql: Keyword 0.27 arm64, #959570

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

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

diff --git a/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild b/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild
index 92142eea026c..fe701b1dfbff 100644
--- a/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild
+++ b/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.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  8:24 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-resty-mysql/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2025-07-05  7:27 Sam James

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