commit: 4a87575c03364abf5f6212a7f5580f91b8ccbe51 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Feb 14 14:11:15 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Feb 22 09:38:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a87575c
mail-client/aerc: Port to ver_replacing Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> mail-client/aerc/aerc-0.20.1.ebuild | 16 ++++++---------- mail-client/aerc/aerc-9999.ebuild | 18 +++++++----------- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/mail-client/aerc/aerc-0.20.1.ebuild b/mail-client/aerc/aerc-0.20.1.ebuild index f831710a5855..224d769ece09 100644 --- a/mail-client/aerc/aerc-0.20.1.ebuild +++ b/mail-client/aerc/aerc-0.20.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-module xdg +inherit eapi9-ver go-module xdg DESCRIPTION="Email client for your terminal" HOMEPAGE="https://aerc-mail.org" @@ -57,16 +57,12 @@ pkg_postinst() { elog "If you want to allow your users to activate html email" elog "processing via w3m as shown in the tutorial, make sure you" elog "emerge net-proxy/dante and www-client/w3m" + elif ver_replacing -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." fi - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test $v -lt 0.3.0-r1; then - elog "The dependencies on net-proxy/dante and www-client/w3m" - elog "have been removed since they are optional." - elog "Please emerge them before the next --depclean if you" - elog "need to use them." - fi - done xdg_pkg_postinst } diff --git a/mail-client/aerc/aerc-9999.ebuild b/mail-client/aerc/aerc-9999.ebuild index b90908cbf150..2e5108e6e0f1 100644 --- a/mail-client/aerc/aerc-9999.ebuild +++ b/mail-client/aerc/aerc-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 2019-2024 Gentoo Authors +# Copyright 2019-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit go-module xdg +inherit eapi9-ver go-module xdg DESCRIPTION="Email client for your terminal" HOMEPAGE="https://aerc-mail.org" @@ -60,16 +60,12 @@ pkg_postinst() { elog "If you want to allow your users to activate html email" elog "processing via w3m as shown in the tutorial, make sure you" elog "emerge net-proxy/dante and www-client/w3m" + elif ver_replacing -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." fi - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test $v -lt 0.3.0-r1; then - elog "The dependencies on net-proxy/dante and www-client/w3m" - elog "have been removed since they are optional." - elog "Please emerge them before the next --depclean if you" - elog "need to use them." - fi - done xdg_pkg_postinst }
