summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-06-07 15:44:39 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-06-07 16:08:11 +0200
commitd702110ac3891eb5da19294142b8571c3484ba4e (patch)
treeb2ba401279741987eb69a86eb7db5820f9f4950f /dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
parentdev-php/pecl-propro: add PHP 7.3 support (diff)
downloadgentoo-d702110ac3891eb5da19294142b8571c3484ba4e.tar.gz
gentoo-d702110ac3891eb5da19294142b8571c3484ba4e.tar.bz2
gentoo-d702110ac3891eb5da19294142b8571c3484ba4e.zip
dev-php/pecl-http: add PHP 7.3 support
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild')
-rw-r--r--dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
index 9351232041c..3cdfdc24b15 100644
--- a/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
+++ b/dev-php/pecl-http/pecl-http-3.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -9,11 +9,11 @@ PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
PHP_INI_NAME="50-http"
-USE_PHP="php5-6 php7-0 php7-1 php7-2"
+USE_PHP="php5-6 php7-1 php7-2"
inherit php-ext-pecl-r3
-USE_PHP="php7-0 php7-1 php7-2"
+USE_PHP="php7-1 php7-2"
KEYWORDS="~amd64 ~x86"
@@ -23,13 +23,12 @@ SLOT="7"
IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
DEPEND="dev-libs/libevent
- dev-php/pecl-propro:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
- dev-php/pecl-raphf:7[php_targets_php5-6?,php_targets_php7-0?,php_targets_php7-1?,php_targets_php7-2?]
+ dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?]
+ dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?]
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-0? ( dev-lang/php:7.0[hash,session,iconv] )
php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )"
RDEPEND="${DEPEND}
@@ -40,7 +39,7 @@ PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libid
PATCHES=( "${FILESDIR}/pecl-http-gnutls.patch" )
src_prepare() {
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
+ if use php_targets_php7-1 || use php_targets_php7-2 ; then
php-ext-source-r3_src_prepare
else
default_src_prepare
@@ -48,7 +47,7 @@ src_prepare() {
}
src_install() {
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
+ if use php_targets_php7-1 || use php_targets_php7-2 ; then
php-ext-pecl-r3_src_install
fi
}