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'