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 6FC221582EF for ; Fri, 21 Feb 2025 19:38:30 +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 2E4C834322A for ; Fri, 21 Feb 2025 19:38:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C4874110472; Fri, 21 Feb 2025 19:38:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id BBF72110472 for ; Fri, 21 Feb 2025 19:38:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 6DC673431F0 for ; Fri, 21 Feb 2025 19:38:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9DE42735 for ; Fri, 21 Feb 2025 19:38:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1740166628.3f91a048525b3dd1b74e78a36319d4d24ac1b575.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/geany-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/geany-plugins/geany-plugins-2.0-r2.ebuild X-VCS-Directories: dev-util/geany-plugins/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3f91a048525b3dd1b74e78a36319d4d24ac1b575 X-VCS-Branch: master Date: Fri, 21 Feb 2025 19:38:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 837fd0cb-0129-4726-bde6-ab1a3db871b1 X-Archives-Hash: cd114e82075430d6dcd7dca74f89ed8e commit: 3f91a048525b3dd1b74e78a36319d4d24ac1b575 Author: Chris Mayo gmail com> AuthorDate: Fri Feb 21 19:27:29 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 21 19:37:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f91a048 dev-util/geany-plugins: Fix automagic enabling of tests Signed-off-by: Chris Mayo gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40689 Signed-off-by: Sam James gentoo.org> dev-util/geany-plugins/geany-plugins-2.0-r2.ebuild | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dev-util/geany-plugins/geany-plugins-2.0-r2.ebuild b/dev-util/geany-plugins/geany-plugins-2.0-r2.ebuild index 080c9323b9df..c985d2f2d33e 100644 --- a/dev-util/geany-plugins/geany-plugins-2.0-r2.ebuild +++ b/dev-util/geany-plugins/geany-plugins-2.0-r2.ebuild @@ -15,10 +15,12 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="ctags debugger enchant git gpg gtkspell lua markdown nls pretty-printer scope webhelper workbench" +IUSE="ctags debugger enchant git gpg gtkspell lua markdown nls pretty-printer scope test webhelper workbench" REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" -DEPEND=" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" dev-libs/glib:2 >=dev-util/geany-2.0 x11-libs/gtk+:3 @@ -38,7 +40,10 @@ DEPEND=" webhelper? ( net-libs/webkit-gtk:4.1 ) workbench? ( dev-libs/libgit2:= ) " -RDEPEND="${DEPEND} +DEPEND="${COMMON_DEPEND} + test? ( dev-libs/check ) +" +RDEPEND="${COMMON_DEPEND} scope? ( dev-debug/gdb ) " BDEPEND="virtual/pkgconfig @@ -57,6 +62,9 @@ pkg_setup() { src_prepare() { default + if ! use test; then + sed -i "s:gp_have_unittests=yes:gp_have_unittests=no:" build/unittests.m4 || die + fi eautoreconf }