From: Sam James <sam@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: Sam James <sam@gentoo.org>
Subject: [gentoo-dev] [PATCH 13/44] libtool.eclass: add global-scope ewarn for deprecated < EAPI 7
Date: Sun, 8 Sep 2024 19:16:22 +0100 [thread overview]
Message-ID: <6ee73d3d9392fea01400de7c9adc1f9e86ce15a3.1725819410.git.sam@gentoo.org> (raw)
In-Reply-To: <cover.1725819408.git.sam@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
---
eclass/libtool.eclass | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index bd6141e1ede93..b36b1fd365d3b 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -17,6 +17,15 @@
if [[ -z ${_LIBTOOL_ECLASS} ]]; then
_LIBTOOL_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
+
case ${EAPI} in
6) DEPEND=">=app-portage/elt-patches-20240116" ;;
7|8) BDEPEND=">=app-portage/elt-patches-20240116" ;;
--
2.46.0
next prev parent reply other threads:[~2024-09-08 18:23 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 ` [gentoo-dev] [PATCH 01/44] apache-module.eclass: " Sam James
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 ` Sam James [this message]
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=6ee73d3d9392fea01400de7c9adc1f9e86ce15a3.1725819410.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