From 5a53c64515a0016aa8ebcb39c2812eaab9eae496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20M=C3=B3zes?= Date: Mon, 18 Nov 2024 14:21:16 +0000 Subject: [PATCH] dev-php/pecl-uploadprogress: add php 8.3 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/943650 Closes: https://github.com/gentoo/gentoo/pull/39360 Signed-off-by: Tomáš Mózes Signed-off-by: Michael Orlitzky --- .../pecl-uploadprogress-2.0.2-r2.ebuild | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-php/pecl-uploadprogress/pecl-uploadprogress-2.0.2-r2.ebuild diff --git a/dev-php/pecl-uploadprogress/pecl-uploadprogress-2.0.2-r2.ebuild b/dev-php/pecl-uploadprogress/pecl-uploadprogress-2.0.2-r2.ebuild new file mode 100644 index 0000000000000..72972003e9ab8 --- /dev/null +++ b/dev-php/pecl-uploadprogress/pecl-uploadprogress-2.0.2-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_PHP="php8-2 php8-3" +PHP_EXT_SAPIS="apache2 fpm" + +inherit php-ext-pecl-r3 + +DESCRIPTION="An extension to track progress of a file upload" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +PATCHES=( "${FILESDIR}/php-debug-testfix.patch" ) + +RDEPEND=" + php_targets_php8-2? ( || ( dev-lang/php:8.2[apache2(-),fileinfo(-)] dev-lang/php:8.2[fileinfo(-),fpm(-)] ) ) + php_targets_php8-3? ( || ( dev-lang/php:8.3[apache2(-),fileinfo(-)] dev-lang/php:8.3[fileinfo(-),fpm(-)] ) ) +"