From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1718234-garchives=archives.gentoo.org@lists.gentoo.org> 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 085B21582EF for <garchives@archives.gentoo.org>; Sat, 15 Feb 2025 15:53:01 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E8505342F65 for <garchives@archives.gentoo.org>; Sat, 15 Feb 2025 15:53:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E418811042D; Sat, 15 Feb 2025 15:52:59 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D743D11042D for <gentoo-commits@lists.gentoo.org>; Sat, 15 Feb 2025 15:52:59 +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 92EBF342F65 for <gentoo-commits@lists.gentoo.org>; Sat, 15 Feb 2025 15:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 013C416DF for <gentoo-commits@lists.gentoo.org>; Sat, 15 Feb 2025 15:52:58 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1739634689.1bdda6fd868b0c290b579762bd86d2c965112588.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/spamassassin/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild X-VCS-Directories: mail-filter/spamassassin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 1bdda6fd868b0c290b579762bd86d2c965112588 X-VCS-Branch: master Date: Sat, 15 Feb 2025 15:52:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1ac971e6-2147-4845-9a27-e7aebfd07201 X-Archives-Hash: 18e3931d4a61e61f202fa7f1c0da55c1 commit: 1bdda6fd868b0c290b579762bd86d2c965112588 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Feb 14 14:11:19 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Feb 15 15:51:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bdda6fd mail-filter/spamassassin: Port to ver_replacing Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild b/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild index dfa140e068f2..1cdaca1efef5 100644 --- a/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild +++ b/mail-filter/spamassassin/spamassassin-4.0.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit perl-functions systemd toolchain-funcs verify-sig autotools +inherit perl-functions systemd toolchain-funcs verify-sig autotools eapi9-ver MY_P="Mail-SpamAssassin-${PV//_/-}" DESCRIPTION="An extensible mail filter which can identify and tag spam" @@ -239,15 +239,7 @@ src_test() { pkg_preinst() { if use mysql || use postgres ; then - local _awlwarn=0 - local _v - for _v in ${REPLACING_VERSIONS}; do - if ver_test "${_v}" -lt "3.4.3"; then - _awlwarn=1 - break - fi - done - if [[ ${_awlwarn} == 1 ]] ; then + if ver_replacing -lt "3.4.3"; then ewarn 'If you used AWL before 3.4.3, the SQL schema has changed.' ewarn 'You will need to manually ALTER your tables for them to' ewarn 'continue working. See the UPGRADE documentation for'