public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: David Seifert <soap@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: David Seifert <soap@gentoo.org>
Subject: [gentoo-dev] [PATCH 21/41] php-ext-source-r3.eclass: drop EAPI 6 support
Date: Sun, 25 Dec 2022 23:15:32 +0100	[thread overview]
Message-ID: <20221225221552.8023-21-soap@gentoo.org> (raw)
In-Reply-To: <20221225221552.8023-1-soap@gentoo.org>

Signed-off-by: David Seifert <soap@gentoo.org>
---
 eclass/php-ext-source-r3.eclass | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/eclass/php-ext-source-r3.eclass b/eclass/php-ext-source-r3.eclass
index b60d5528d52..7179ab756f6 100644
--- a/eclass/php-ext-source-r3.eclass
+++ b/eclass/php-ext-source-r3.eclass
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: php-ext-source-r3.eclass
 # @MAINTAINER:
 # Gentoo PHP team <php-bugs@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 7 8
 # @BLURB: Compile and install standalone PHP extensions.
 # @DESCRIPTION:
 # A unified interface for compiling and installing standalone PHP
@@ -12,11 +12,9 @@
 
 inherit autotools
 
-case ${EAPI:-0} in
-	6) inherit eapi7-ver ;;
+case ${EAPI} in
 	7|8) ;;
-	*)
-		die "${ECLASS} is not compatible with EAPI=${EAPI}"
+	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
 # @ECLASS_VARIABLE: PHP_EXT_NAME
@@ -128,14 +126,17 @@ unset _php_slot _php_target
 # the USE-conditional if PHP_EXT_OPTIONAL_USE is non-null.
 REQUIRED_USE+=") ${PHP_EXT_OPTIONAL_USE:+ )}"
 PHPDEPEND+=" ${PHP_EXT_OPTIONAL_USE:+ )}"
-TOOLDEPS="sys-devel/m4 sys-devel/libtool"
+TOOLDEPS="
+	sys-devel/m4
+	sys-devel/libtool
+"
 
 RDEPEND="${PHPDEPEND}"
-
-case ${EAPI:-0} in
-	6) DEPEND="${TOOLDEPS} ${PHPDEPEND}" ;;
-	7|8) DEPEND="${PHPDEPEND}" ; BDEPEND="${TOOLDEPS} ${PHPDEPEND}" ;;
-esac
+DEPEND="${PHPDEPEND}"
+BDEPEND="
+	${TOOLDEPS}
+	${PHPDEPEND}
+"
 
 unset PHPDEPEND TOOLDEPS
 
-- 
2.39.0



  parent reply	other threads:[~2022-12-25 22:21 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-25 22:15 [gentoo-dev] [PATCH 01/41] ada.eclass: drop EAPI 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 02/41] alternatives.eclass: drop EAPI 5, " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 03/41] ant-tasks.eclass: drop EAPI " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 04/41] apache-2.eclass: " David Seifert
2022-12-26  9:38   ` Hans de Graaff
2022-12-25 22:15 ` [gentoo-dev] [PATCH 05/41] aspell-dict-r1.eclass: drop EAPI 7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 06/41] bazel.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 07/41] docs.eclass: drop EAPI 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 08/41] dotnet.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 09/41] dune.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 10/41] fcaps.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 11/41] java-osgi.eclass: drop EAPI 5, " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 12/41] java-virtuals-2.eclass: drop EAPI 5-7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 13/41] libretro-core.eclass: drop EAPI 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 14/41] linux-mod.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 15/41] llvm.eclass: canonicalize eclass structure David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 16/41] mozcoreconf-v6.eclass: drop EAPI 6, 7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 17/41] mozextension.eclass: drop EAPI 0-7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 18/41] mozlinguas-v2.eclass: drop EAPI 6, 7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 19/41] ninja-utils.eclass: drop EAPI 5, 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 20/41] php-ext-pecl-r3.eclass: drop EAPI " David Seifert
2022-12-25 22:15 ` David Seifert [this message]
2022-12-25 22:15 ` [gentoo-dev] [PATCH 22/41] postgres.eclass: drop EAPI 5, " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 23/41] postgres-multi.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 24/41] python-any-r1.eclass: drop EAPI " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 25/41] python-r1.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 26/41] python-single-r1.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 27/41] python-utils-r1.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 28/41] rocm.eclass: drop EAPI 7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 29/41] ruby-ng-gnome2.eclass: drop EAPI 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 30/41] ruby-single.eclass: drop EAPI 4-6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 31/41] rust-toolchain.eclass: drop EAPI 6, 7 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 32/41] selinux-policy-2.eclass: drop EAPI 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 33/41] toolchain-autoconf.eclass: drop EAPI 6, add EAPI 8 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 34/41] user-info.eclass: drop EAPI 6 support David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 35/41] usr-ldscript.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 36/41] waf-utils.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 37/41] xemacs-packages.eclass: drop EAPI 6, 7 support David Seifert
2022-12-25 22:35   ` Ulrich Mueller
2022-12-27 13:23     ` Ulrich Mueller
2022-12-25 22:15 ` [gentoo-dev] [PATCH 38/41] gnome2.eclass: remove useless || die on emake David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 39/41] gnustep-base.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 40/41] qmail.eclass: " David Seifert
2022-12-25 22:15 ` [gentoo-dev] [PATCH 41/41] xorg-3.eclass: " David Seifert

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=20221225221552.8023-21-soap@gentoo.org \
    --to=soap@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