From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 613CC139694 for ; Thu, 6 Apr 2017 12:46:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BB7AE0C44; Thu, 6 Apr 2017 12:46:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 343B0E0C44 for ; Thu, 6 Apr 2017 12:46:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3CDF340806 for ; Thu, 6 Apr 2017 12:46:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CBBD73E7 for ; Thu, 6 Apr 2017 12:46:51 +0000 (UTC) From: "Alexys Jacob" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexys Jacob" Message-ID: <1491482806.ffe97e09f163835b9b2c4f6ac237fa67d3739b38.ultrabug@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/uwsgi/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/uwsgi/uwsgi-2.0.15.ebuild X-VCS-Directories: www-servers/uwsgi/ X-VCS-Committer: ultrabug X-VCS-Committer-Name: Alexys Jacob X-VCS-Revision: ffe97e09f163835b9b2c4f6ac237fa67d3739b38 X-VCS-Branch: master Date: Thu, 6 Apr 2017 12:46:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 811426d8-cb7d-4a65-9c95-e0244c79e6e3 X-Archives-Hash: 3fc0ef04b5fd5bcf2ca935bc781611ae commit: ffe97e09f163835b9b2c4f6ac237fa67d3739b38 Author: Ultrabug gentoo org> AuthorDate: Thu Apr 6 12:46:27 2017 +0000 Commit: Alexys Jacob gentoo org> CommitDate: Thu Apr 6 12:46:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe97e09 www-servers/uwsgi: add gevent python3 support fixes #597022 Package-Manager: Portage-2.3.4, Repoman-2.3.2 www-servers/uwsgi/uwsgi-2.0.15.ebuild | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/www-servers/uwsgi/uwsgi-2.0.15.ebuild b/www-servers/uwsgi/uwsgi-2.0.15.ebuild index f4d91799038..b14c43d4029 100644 --- a/www-servers/uwsgi/uwsgi-2.0.15.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.15.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) PYTHON_REQ_USE="threads(+)" RUBY_OPTIONAL="yes" @@ -116,7 +116,7 @@ CDEPEND="sys-libs/zlib ) pypy? ( virtual/pypy ) python? ( ${PYTHON_DEPS} ) - python_gevent? ( >=dev-python/gevent-1.0.1[$(python_gen_usedep 'python2*')] ) + python_gevent? ( >=dev-python/gevent-1.2.1[${PYTHON_USEDEP}] ) ruby? ( $(ruby_implementations_depend) )" DEPEND="${CDEPEND} virtual/pkgconfig" @@ -131,9 +131,9 @@ APXS2_S="${S}/apache2" APACHE2_MOD_CONF="42_mod_uwsgi-r2 42_mod_uwsgi" # FIXME: is this patch still useful? -# PATCHES=( -# "${FILESDIR}/2.0.14-php-plugin.patch" -# ) +PATCHES=( + "${FILESDIR}/2.0.14-php-plugin.patch" +) src_unpack() { default @@ -260,9 +260,7 @@ python_compile_plugins() { fi if use python_gevent ; then - if [[ "${PYV}" == "27" ]] ; then - ${PYTHON} uwsgiconfig.py --plugin plugins/gevent gentoo gevent${PYV} || die "building plugin for gevent-support in ${EPYTHON} failed" - fi + ${PYTHON} uwsgiconfig.py --plugin plugins/gevent gentoo gevent${PYV} || die "building plugin for gevent-support in ${EPYTHON} failed" fi if use pypy ; then @@ -397,11 +395,7 @@ pkg_postinst() { fi fi if use python_gevent ; then - if [[ ${EPYTHON} == python2* ]] ; then - elog " '--plugins ${EPYV},gevent${PYV}' for gevent support in ${EPYTHON}" - else - elog " (gevent is currently not supported in ${EPYTHON})" - fi + elog " '--plugins ${EPYV},gevent${PYV}' for gevent support in ${EPYTHON}" fi }