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 5696E138239 for ; Fri, 27 Jul 2018 02:59:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C07DE0929; Fri, 27 Jul 2018 02:59:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2548E0929 for ; Fri, 27 Jul 2018 02:59:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 33DCA335CA5 for ; Fri, 27 Jul 2018 02:59:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01D2F275 for ; Fri, 27 Jul 2018 02:59:12 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1532660333.28ecfa178296c73f33305ece57d51346cf70b89f.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pillow/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pillow/metadata.xml dev-python/pillow/pillow-5.2.0.ebuild X-VCS-Directories: dev-python/pillow/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 28ecfa178296c73f33305ece57d51346cf70b89f X-VCS-Branch: master Date: Fri, 27 Jul 2018 02:59:12 +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: 1ae6052c-2485-4638-a456-557715583aa6 X-Archives-Hash: 6b26b13a6a255a9e1f00e0e015496ce9 commit: 28ecfa178296c73f33305ece57d51346cf70b89f Author: Virgil Dupras gentoo org> AuthorDate: Fri Jul 27 02:45:39 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Fri Jul 27 02:58:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ecfa17 dev-python/pillow: Add support for Python 3.7 * Remove spurious eutils inherit * Add myself as primary maintainer Closes: https://bugs.gentoo.org/661616 Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-python/pillow/metadata.xml | 4 ++++ dev-python/pillow/pillow-5.2.0.ebuild | 13 +++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/dev-python/pillow/metadata.xml b/dev-python/pillow/metadata.xml index c3f74b98266..27028145609 100644 --- a/dev-python/pillow/metadata.xml +++ b/dev-python/pillow/metadata.xml @@ -1,6 +1,10 @@ + + vdupras@gentoo.org + Virgil Dupras + python@gentoo.org Python diff --git a/dev-python/pillow/pillow-5.2.0.ebuild b/dev-python/pillow/pillow-5.2.0.ebuild index 1476c3915c5..b63542786fe 100644 --- a/dev-python/pillow/pillow-5.2.0.ebuild +++ b/dev-python/pillow/pillow-5.2.0.ebuild @@ -3,10 +3,10 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PYTHON_REQ_USE='tk?,threads(+)' -inherit distutils-r1 eutils virtualx +inherit distutils-r1 virtualx MY_PN=Pillow MY_P=${MY_PN}-${PV} @@ -64,6 +64,15 @@ python_configure_all() { ) } +python_compile() { + # Pillow monkeypatches distutils to achieve parallel compilation. This + # conflicts with distutils' builtin parallel computation (since py35) + # and make builds hang. To avoid that, we set MAX_CONCURRENCY=1 to + # disable monkeypatching. Can be removed when/if + # https://github.com/python-pillow/Pillow/pull/3272 is merged. + MAX_CONCURRENCY=1 distutils-r1_python_compile +} + python_compile_all() { use doc && emake -C docs html }