commit: 8090eadfaf1507fb04c7acffecb2fb2b329741aa Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Mon Mar 21 15:15:05 2022 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Tue Mar 22 12:28:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8090eadf
dev-php/pecl-radius: Adjust targets Dependencies are deduplicated here as well. Does not affect installed systems. Signed-off-by: Brian Evans <grknight <AT> gentoo.org> dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r3.ebuild | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r3.ebuild b/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r3.ebuild index 467867d6f62c..fbb86a1f78f8 100644 --- a/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r3.ebuild +++ b/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r3.ebuild @@ -1,15 +1,16 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" PHP_EXT_NAME="radius" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" -USE_PHP="php7-2 php7-3 php7-4" +USE_PHP="php7-4" PHP_EXT_PECL_FILENAME="${PN/pecl-/}-${PV/_beta/b}.tgz" PHP_EXT_S="${WORKDIR}/${PHP_EXT_PECL_FILENAME%.tgz}" +PHP_EXT_NEEDED_USE="pcntl(-),sockets(-)" inherit php-ext-pecl-r3 @@ -18,14 +19,6 @@ KEYWORDS="~amd64 ~x86" DESCRIPTION="Provides support for RADIUS authentication (RFC 2865) and accounting (RFC 2866)" LICENSE="BSD" SLOT="0" -IUSE="examples test" -RESTRICT="!test? ( test )" +IUSE="examples" S="${PHP_EXT_S}" - -RDEPEND=" - php_targets_php7-2? ( dev-lang/php:7.2[pcntl(-),sockets(-)] ) - php_targets_php7-3? ( dev-lang/php:7.3[pcntl(-),sockets(-)] ) - php_targets_php7-4? ( dev-lang/php:7.4[pcntl(-),sockets(-)] ) -" -DEPEND="test? ( ${RDEPEND} )"