commit:     4f039b87a705b339b7e9d5cc2d5332be6f38223a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 19:37:15 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 20:31:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f039b87

dev-lang/php: add missing RESTRICT

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-lang/php/php-7.4.0_rc6.ebuild | 52 ++++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 25 deletions(-)

diff --git a/dev-lang/php/php-7.4.0_rc6.ebuild 
b/dev-lang/php/php-7.4.0_rc6.ebuild
index ececc5cc430..20df8781da5 100644
--- a/dev-lang/php/php-7.4.0_rc6.ebuild
+++ b/dev-lang/php/php-7.4.0_rc6.ebuild
@@ -45,6 +45,33 @@ IUSE="${IUSE} acl argon2 bcmath berkdb bzip2 calendar cdb cjk
        sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode webp
        +xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
 
+# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
+REQUIRED_USE="
+       || ( cli cgi fpm apache2 embed phpdbg )
+       cli? ( ^^ ( readline libedit ) )
+       !cli? ( ?? ( readline libedit ) )
+       truetype? ( gd zlib )
+       webp? ( gd zlib )
+       cjk? ( gd zlib )
+       exif? ( gd zlib )
+       xpm? ( gd zlib )
+       gd? ( zlib )
+       simplexml? ( xml )
+       soap? ( xml )
+       xmlrpc? ( xml iconv )
+       xmlreader? ( xml )
+       xmlwriter? ( xml )
+       xslt? ( xml )
+       ldap-sasl? ( ldap )
+       qdbm? ( !gdbm )
+       session-mm? ( session !threads )
+       mysql? ( || ( mysqli pdo ) )
+       firebird? ( pdo )
+       mssql? ( pdo )
+"
+
+RESTRICT="!test? ( test )"
+
 # The supported (that is, autodetected) versions of BDB are listed in
 # the ./configure script. Other versions *work*, but we need to stick to
 # the ones that can be detected to avoid a repeat of bug #564824.
@@ -121,31 +148,6 @@ DEPEND="${COMMON_DEPEND}
 
 BDEPEND="virtual/pkgconfig"
 
-# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
-REQUIRED_USE="
-       || ( cli cgi fpm apache2 embed phpdbg )
-       cli? ( ^^ ( readline libedit ) )
-       !cli? ( ?? ( readline libedit ) )
-       truetype? ( gd zlib )
-       webp? ( gd zlib )
-       cjk? ( gd zlib )
-       exif? ( gd zlib )
-       xpm? ( gd zlib )
-       gd? ( zlib )
-       simplexml? ( xml )
-       soap? ( xml )
-       xmlrpc? ( xml iconv )
-       xmlreader? ( xml )
-       xmlwriter? ( xml )
-       xslt? ( xml )
-       ldap-sasl? ( ldap )
-       qdbm? ( !gdbm )
-       session-mm? ( session !threads )
-       mysql? ( || ( mysqli pdo ) )
-       firebird? ( pdo )
-       mssql? ( pdo )
-"
-
 PHP_MV="$(ver_cut 1)"
 
 php_install_ini() {

Reply via email to