From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 92F6A1384B4 for ; Wed, 9 Dec 2015 19:07:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6E1A21C02E; Wed, 9 Dec 2015 19:07:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD8C621C026 for ; Wed, 9 Dec 2015 19:07:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D5EC340817 for ; Wed, 9 Dec 2015 19:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A9F3E6B for ; Wed, 9 Dec 2015 19:07:11 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1449688007.b6022670668137f72552ba340f7ca19dec2a08f0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycups/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycups/pycups-1.9.73.ebuild X-VCS-Directories: dev-python/pycups/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b6022670668137f72552ba340f7ca19dec2a08f0 X-VCS-Branch: master Date: Wed, 9 Dec 2015 19:07:11 +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: c0accb1a-050b-4299-8bbd-918f5e4233dc X-Archives-Hash: d674f6ab75352f51731ad8b73e573137 commit: b6022670668137f72552ba340f7ca19dec2a08f0 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 9 17:47:54 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 9 19:06:47 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6022670 dev-python/pycups: Restrict *_all() phases to py2 for USE=doc dev-python/pycups/pycups-1.9.73.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-python/pycups/pycups-1.9.73.ebuild b/dev-python/pycups/pycups-1.9.73.ebuild index 188c6f7..ea8a001 100644 --- a/dev-python/pycups/pycups-1.9.73.ebuild +++ b/dev-python/pycups/pycups-1.9.73.ebuild @@ -31,6 +31,10 @@ DEPEND="${RDEPEND} REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) +} + python_compile_all() { if use doc; then # we can't use Makefile since it relies on hardcoded paths