From: Sam James <sam@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Sam James <sam@gentoo.org>
Subject: [gentoo-dev] [PATCH 01/44] apache-module.eclass: add global-scope ewarn for deprecated < EAPI 7
Date: Sun, 8 Sep 2024 19:16:10 +0100 [thread overview]
Message-ID: <cb58409f5b601f185498be52695047cfa39f6e0b.1725819408.git.sam@gentoo.org> (raw)
In-Reply-To: <cover.1725819408.git.sam@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
---
eclass/apache-module.eclass | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/eclass/apache-module.eclass b/eclass/apache-module.eclass
index 5a84ffedf71a0..07bdb79e08a27 100644
--- a/eclass/apache-module.eclass
+++ b/eclass/apache-module.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: apache-module.eclass
@@ -44,14 +44,19 @@
# </IfDefine>
# @CODE
-case ${EAPI} in
- 6|7|8) ;;
- *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
-esac
if [[ -z ${_APACHE_MODULE_ECLASS} ]]; then
_APACHE_MODULE_ECLASS=1
+case ${EAPI} in
+ 6)
+ ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
+ ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI."
+ ;;
+ 7|8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
inherit depend.apache
# ==============================================================================
--
2.46.0
next prev parent reply other threads:[~2024-09-08 18:20 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-08 18:16 [gentoo-dev] [PATCH 00/44] eclass: add global-scope ewarn for deprecated < EAPI 7 Sam James
2024-09-08 18:16 ` Sam James [this message]
2024-09-08 18:16 ` [gentoo-dev] [PATCH 02/44] autotools.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 03/44] bash-completion-r1.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 04/44] cdrom.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 05/44] check-reqs.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 06/44] depend.apache.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 07/44] desktop.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 08/44] flag-o-matic.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 09/44] fortran-2.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 10/44] gnuconfig.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 11/44] java-pkg-2.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 12/44] java-utils-2.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 13/44] libtool.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 14/44] mono-env.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 15/44] multibuild.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 16/44] multilib-build.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 17/44] multilib.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 18/44] multilib-minimal.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 19/44] multiprocessing.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 20/44] out-of-source-utils.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 21/44] pax-utils.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 22/44] perl-functions.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 23/44] php-pear-r2.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 24/44] portability.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 25/44] prefix.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 26/44] preserve-libs.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 27/44] readme.gentoo-r1.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 28/44] ruby-fakegem.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 29/44] ruby-ng.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 30/44] ruby-utils.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 31/44] strip-linguas.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 32/44] systemd.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 33/44] tmpfiles.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 34/44] toolchain-funcs.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 35/44] udev.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 36/44] vcs-clean.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 37/44] vim-doc.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 38/44] vim-plugin.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 39/44] vim-spell.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 40/44] virtualx.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 41/44] webapp.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 42/44] wrapper.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 43/44] xdg.eclass: " Sam James
2024-09-08 18:16 ` [gentoo-dev] [PATCH 44/44] xdg-utils.eclass: " Sam James
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=cb58409f5b601f185498be52695047cfa39f6e0b.1725819408.git.sam@gentoo.org \
--to=sam@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