From: Zurab Kvachadze <zurabid2016@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: Zurab Kvachadze <zurabid2016@gmail.com>
Subject: [gentoo-dev] [PATCH v3 17/40] app-metrics/nginx-lua-prometheus: revbump to r101, update EAPI 7 -> 8, remove r100
Date: Fri, 21 Feb 2025 17:08:14 +0100 [thread overview]
Message-ID: <20250221160839.29308-18-zurabid2016@gmail.com> (raw)
In-Reply-To: <20250221160839.29308-1-zurabid2016@gmail.com>
Depend www-nginx/ngx-lua-module if it is present, use default disable "(-)"
USE-dependency on the nginx_module_http_lua USE flag of www-servers/nginx.
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
---
...-lua-prometheus-0.1_pre20170610-r101.ebuild} | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
rename app-metrics/nginx-lua-prometheus/{nginx-lua-prometheus-0.1_pre20170610-r100.ebuild => nginx-lua-prometheus-0.1_pre20170610-r101.ebuild} (79%)
diff --git a/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild b/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r101.ebuild
similarity index 79%
rename from app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild
rename to app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r101.ebuild
index cd6f311c9ea0..19df5e6cefad 100644
--- a/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild
+++ b/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r101.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# This should be kept in sync with implementations supported
# by www-servers/nginx
@@ -16,6 +16,7 @@ inherit lua-single
DESCRIPTION="Library that exports Nginx metrics to Prometheus"
HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus"
SRC_URI="https://github.com/knyar/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${TAG}"
LICENSE="MIT"
SLOT="0"
@@ -23,14 +24,16 @@ KEYWORDS="~amd64"
REQUIRED_USE="${LUA_REQUIRED_USE}"
+BDEPEND="virtual/pkgconfig"
+
COMMON_DEPEND="${LUA_DEPS}"
DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}
- www-servers/nginx[nginx_modules_http_lua,${LUA_SINGLE_USEDEP}]"
-BDEPEND="${COMMON_DEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${PN}-${TAG}"
+ || (
+ www-nginx/ngx-lua-module[${LUA_SINGLE_USEDEP}]
+ www-servers/nginx[nginx_modules_http_lua(-),${LUA_SINGLE_USEDEP}]
+ )
+"
src_install() {
insinto "$(lua_get_lmod_dir)"/${PN}
--
2.45.3
next prev parent reply other threads:[~2025-02-21 16:24 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 16:07 [gentoo-dev] [PATCH v3 00/40] Rework NGINX packaging in Gentoo by introducing nginx{,-module}.eclass Zurab Kvachadze
2025-02-21 16:07 ` [gentoo-dev] [PATCH v3 01/40] nginx.eclass: Add new eclass for building the NGINX server Zurab Kvachadze
2025-02-21 16:07 ` [gentoo-dev] [PATCH v3 02/40] dev-perl/Test-Nginx: new package, add 0.30 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 03/40] nginx-module.eclass: Add new eclass for building NGINX external modules Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 04/40] profiles/arch/powerpc/ppc64: mask tests for www-servers/nginx Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 05/40] profiles/arch/riscv: " Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 06/40] www-servers/nginx: add myself as a proxy maintainer; update metadata.xml Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 07/40] www-servers/nginx: add nginx.tmpfiles for managing /var/tmp/nginx Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 08/40] www-servers/nginx: add nginx-r5.initd Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 09/40] www-servers/nginx: add nginx-r1.confd Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 10/40] www-servers/nginx: add nginx-r2.service Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 11/40] www-servers/nginx: add nginx-r2.logrotate Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 12/40] www-servers/nginx: add nginx-r4.conf Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 13/40] profiles/desc: reword and update nginx_modules_http.desc Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 14/40] profiles/desc: reword and update nginx_modules_mail.desc Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 15/40] profiles/desc: reword and update nginx_modules_stream.desc Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 16/40] profiles/categories: Add www-nginx category for external NGINX modules Zurab Kvachadze
2025-02-21 16:08 ` Zurab Kvachadze [this message]
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 18/40] www-servers/nginx: revbump 1.26.3-r0 to 1.26.3-r1, use nginx.eclass Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 19/40] www-servers/nginx: revbump 1.27.4-r0 to 1.27.4-r1, " Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 20/40] www-servers/nginx: add 9999 live version, " Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 21/40] www-nginx/ngx_devel_kit: new package, add 0.3.4 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 22/40] www-nginx/ngx-echo: new package, add 0.63 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 23/40] www-nginx/ngx-encrypted-session: new package, add 0.09 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 24/40] www-nginx/ngx-set-misc: new package, add 0.33 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 25/40] www-nginx/ngx-brotli: new package, add 20231109 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 26/40] www-nginx/ngx-headers-more: new package, add 0.37 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 27/40] www-nginx/ngx-upload-progress: new package, add 0.9.3 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 28/40] dev-lua/lua-resty-core: new package, add 0.1.30 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 29/40] dev-lua/lua-resty-lrucache: new package, add 0.15 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 30/40] www-nginx/ngx-lua-module: new package, add 0.10.27 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 31/40] dev-lua/lua-resty-string: new package, add 0.16 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 32/40] dev-lua/lua-resty-mysql: new package, add 0.27 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 33/40] dev-lua/lua-resty-memcached: new package, add 0.17 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 34/40] www-nginx/ngx-xss: new package, add 0.06 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 35/40] www-nginx/ngx-eval: new package, add 0_p20240817 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 36/40] www-nginx/ngx-iconv: new package, add 0.14 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 37/40] www-nginx/ngx-srcache: new package, add 0.33 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 38/40] www-nginx/ngx-lua-upstream: new package, add 0.07 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 39/40] www-nginx/ngx-memc: new package, add 0.20 Zurab Kvachadze
2025-02-21 16:08 ` [gentoo-dev] [PATCH v3 40/40] www-nginx: enable tests Zurab Kvachadze
2025-02-22 3:55 ` [gentoo-dev] [PATCH v3 00/40] Rework NGINX packaging in Gentoo by introducing nginx{,-module}.eclass Zhixu Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250221160839.29308-18-zurabid2016@gmail.com \
--to=zurabid2016@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox