www-servers/uwsgi: add php 7.x targets, wrt #641434
authorUltrabug <ultrabug@gentoo.org>
Fri, 5 Jan 2018 08:48:27 +0000 (09:48 +0100)
committerUltrabug <ultrabug@gentoo.org>
Fri, 5 Jan 2018 08:48:45 +0000 (09:48 +0100)
www-servers/uwsgi/uwsgi-2.0.15-r2.ebuild [moved from www-servers/uwsgi/uwsgi-2.0.15-r1.ebuild with 97% similarity]

similarity index 97%
rename from www-servers/uwsgi/uwsgi-2.0.15-r1.ebuild
rename to www-servers/uwsgi/uwsgi-2.0.15-r2.ebuild
index 5043eca69ae1210f977af83fe62971061ad81d27..85b336d9b687196f679aa908b4c7d2f45c8893cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ USE_RUBY="ruby22 ruby23 ruby24"
 PHP_EXT_INI="no"
 PHP_EXT_NAME="dummy"
 PHP_EXT_OPTIONAL_USE="php"
-USE_PHP="php5-6 php7-0" # deps must be registered separately below
+USE_PHP="php5-6 php7-0 php7-1 php7-2" # deps must be registered separately below
 
 MY_P="${P/_/-}"
 
@@ -69,7 +69,7 @@ REQUIRED_USE="|| ( ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]} )
        uwsgi_plugins_router_xmldir? ( xml !expat )
        pypy? ( python_targets_python2_7 )
        python? ( ${PYTHON_REQUIRED_USE} )
-       python_asyncio? ( python_targets_python3_4 python_gevent )
+       python_asyncio? ( || ( python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 ) python_gevent )
        python_gevent? ( python )
        expat? ( xml )"
 
@@ -113,6 +113,8 @@ CDEPEND="sys-libs/zlib
        php? (
                php_targets_php5-6? ( dev-lang/php:5.6[embed] )
                php_targets_php7-0? ( dev-lang/php:7.0[embed] )
+               php_targets_php7-1? ( dev-lang/php:7.1[embed] )
+               php_targets_php7-2? ( dev-lang/php:7.2[embed] )
        )
        pypy? ( virtual/pypy )
        python? ( ${PYTHON_DEPS} )