From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DD711582EF for ; Fri, 21 Feb 2025 16:24:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3B9AC3442FE for ; Fri, 21 Feb 2025 16:24:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 818B3110549; Fri, 21 Feb 2025 16:09:05 +0000 (UTC) Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BD5F811053D for ; Fri, 21 Feb 2025 16:09:04 +0000 (UTC) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-5e0939c6456so3912344a12.3 for ; Fri, 21 Feb 2025 08:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740154143; x=1740758943; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sBVoey9mtXhd+GLelOJTow+Sjfl8mb8/TehXKAXFggg=; b=XaydccAeqpS5QBUgVaIHj/thfFBInez+faU5NGaXjh/aOF8mXdIMhsb26Xyap09uYj QCI2j4BTUpVy/sIhkn58oWNlzW5HvYZA7nGE93C/9Alsm+W0YzsCtTSUuPn6YqAyKWPm licAKDwvXDaADR81EFOcTEqamknSnubuOtp4karnQc8sQx1PlkOzWKL6jf4hxsSuXW+u L9UxOP1FhC9TTkedqw6c7mZPIY3EunVGu10w5DvmUxSoy5abVLkHjfJGFNxMUKqYurDs d4RrZ2xYsJk9ivm+PweI3nBZ43uiWjViaEqtOQa9UnrC9JzSJqZVI1c/dG2ZOG0ka5Ax 8CLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740154143; x=1740758943; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sBVoey9mtXhd+GLelOJTow+Sjfl8mb8/TehXKAXFggg=; b=Ohys30Xl4a5cmZII6FYMxL2KhJ8jlC0PU+fGXhgtdlB5AltuCu+111KOfEGMDaA10F mS8m0qbEevMdpK0/hfkLnHx2v4bNMOdxuuBO7zzaY4Kp3lyQqo2BAkhDfgmt7/xOWe5o ohdSuVZJ0kVgS8pneChdYRJ+CNFlU1foP9ZPZpb7hUwCqsy48esixF6YE5JXQ+jPoOKA vQ4yNHzkmm9IVUzNPxlA0iNsO+Rb05yQFB6CWjv08PU/8LAGyEdvWfwnx48xw83j+Pae Q+em6O4nvlDB4kBr8th7rSd3Mfp23IM5h9/JDWLXcCO0KcHvzaNHX1/uIXu1aFx1Mc8N OtAw== X-Gm-Message-State: AOJu0YzXGAs/Q1KR63k0EhuS8jYfP6KtYTTg6nNUZwzgb2+TSn6LAaI7 +UkfjtAkuKhzCbRfRBr7Dgc7oLDGJNWFnZ7jqRiFt5ofqiVFQR4K/J7/aS/q X-Gm-Gg: ASbGncuBQ2jQUWdmOxmIxQb5j2w7Di5Ci/OnFIw52cD6kZ3yGOyRWV6elgtcPJwUt4l UTi2OqRH7aIMBwkajpXvMprI3v3mMKy/DztRhle5jkf8C5MiWgNIlVsDhhtyp+PXO3taOkNjR66 sqxVNLXz+cTeUhooqOFwOXuXiBdDXXbLxYv4C98yjlk3Vgjurcp/m2XZzpp2Yt9Gxe6eRlIKYiq vTQVNxEE5bVam8IUITAVw5CtLYSgmU0kjitcImcee0VK5ZVEVYxWUIo/qQitbJR0GoTVy9/Em79 V932gvk6M2Wr+tCjZBHuY1+kp5iJpyRZ/qCiC3c2dC9mW4qlrYzmMuotle/oKahyEurzZaikTpI = X-Google-Smtp-Source: AGHT+IHrn71sk+wJPLNHZXgBe4PwzudRZamIoKdiOnnkiRkBbkTXoCQwUVYtHW+ZZpYn++ot84/3qA== X-Received: by 2002:a17:907:d8f:b0:abb:e961:ca32 with SMTP id a640c23a62f3a-abc0d9dae22mr360490566b.21.1740154142900; Fri, 21 Feb 2025 08:09:02 -0800 (PST) Received: from localhost.localdomain (92-70-146-242.biz.kpn.net. [92.70.146.242]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abbac781b78sm862154466b.60.2025.02.21.08.09.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Feb 2025 08:09:02 -0800 (PST) From: Zurab Kvachadze To: gentoo-dev@lists.gentoo.org Cc: Zurab Kvachadze 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 Message-ID: <20250221160839.29308-18-zurabid2016@gmail.com> X-Mailer: git-send-email 2.45.3 In-Reply-To: <20250221160839.29308-1-zurabid2016@gmail.com> References: <20250221160839.29308-1-zurabid2016@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 66626dd7-b535-4689-b223-394b1f12147a X-Archives-Hash: 0f814294681fcaa685987525aa25a552 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 --- ...-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