dev-php/pecl-http: add PHP 7.4 support
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 28 Nov 2019 22:25:40 +0000 (23:25 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 28 Nov 2019 22:47:53 +0000 (23:47 +0100)
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-php/pecl-http/pecl-http-3.2.3.ebuild

index 564462685ed2f6ae74a253b628ab4d23ba6e1498..9d6429e4456524c9769ec750c596c0d5a2bc18f5 100644 (file)
@@ -9,11 +9,11 @@ PHP_EXT_INI="yes"
 PHP_EXT_ZENDEXT="no"
 PHP_INI_NAME="50-http"
 
-USE_PHP="php5-6 php7-1 php7-2 php7-3"
+USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4"
 
 inherit php-ext-pecl-r3
 
-USE_PHP="php7-1 php7-2 php7-3"
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
 
 KEYWORDS="~amd64 ~x86"
 
@@ -24,22 +24,23 @@ IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
 
 DEPEND="app-arch/brotli:=
        dev-libs/libevent
-       dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
-       dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]
+       dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
+       dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
        net-dns/libidn2
        sys-libs/zlib
        ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] )
        !ssl? ( net-misc/curl[-ssl] )
        php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
        php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
-       php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )"
+       php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )
+       php_targets_php7-4? ( dev-lang/php:7.4[session,iconv] )"
 RDEPEND="${DEPEND}
        php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
 
 PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir )
 
 src_prepare() {
-       if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+       if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
                php-ext-source-r3_src_prepare
        else
                default_src_prepare
@@ -47,7 +48,7 @@ src_prepare() {
 }
 
 src_install() {
-       if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+       if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
                php-ext-pecl-r3_src_install
        fi
 }