public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/
Date: Sat,  7 Oct 2023 15:11:16 +0000 (UTC)	[thread overview]
Message-ID: <1696691460.97393f4f63da69b87a34811f9620d26799941dff.flow@gentoo> (raw)

commit:     97393f4f63da69b87a34811f9620d26799941dff
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 15:10:34 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 15:11:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97393f4f

net-analyzer/notus-scanner: remove conditional patching

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild b/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild
index 136c08284b4a..c0dcb14e48c9 100644
--- a/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild
+++ b/net-analyzer/notus-scanner/notus-scanner-22.6.0.ebuild
@@ -31,6 +31,10 @@ RDEPEND="
 	app-misc/mosquitto
 "
 
+PATCHES=(
+	"${FILESDIR}"/${P}-remove-tests.patch
+)
+
 DOC_CONTENTS="
 For validating the feed content, a GnuPG keychain with the Greenbone Community Feed integrity key needs to be created.
 Please, read here on how to create it:
@@ -44,13 +48,6 @@ DISABLE_AUTOFORMATTING=true
 
 distutils_enable_tests unittest
 
-src_prepare() {
-	if use test; then
-		PATCHES+=( "${FILESDIR}"/${P}-remove-tests.patch )
-	fi
-	default
-}
-
 python_compile() {
 	distutils-r1_python_compile
 }


             reply	other threads:[~2023-10-07 15:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07 15:11 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-02 19:31 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/notus-scanner/ Michał Górny
2024-12-21  9:07 Florian Schmaus
2024-11-29 12:06 Florian Schmaus
2024-09-15  8:38 Florian Schmaus
2024-09-14 10:09 Florian Schmaus
2024-07-23  3:55 Sam James
2024-07-09  7:04 Florian Schmaus
2024-06-28  1:00 Sam James
2024-06-06  6:56 Florian Schmaus
2024-04-03 17:38 Florian Schmaus
2024-02-28 20:50 Jakov Smolić
2023-08-09 13:32 Florian Schmaus
2023-07-03  8:37 Florian Schmaus

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=1696691460.97393f4f63da69b87a34811f9620d26799941dff.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --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