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 D41CA138334 for ; Mon, 9 Sep 2019 18:48:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D965BE08D0; Mon, 9 Sep 2019 18:48:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B41C6E08D0 for ; Mon, 9 Sep 2019 18:48:18 +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 A4B6134AF26 for ; Mon, 9 Sep 2019 18:48:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34CA7780 for ; Mon, 9 Sep 2019 18:48:14 +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: <1568054887.6cbb1015f80c550e41873048a7b5b660f98c4ea5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python-exec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python-exec/python-exec-2.4.6-r1.ebuild dev-lang/python-exec/python-exec-9999.ebuild X-VCS-Directories: dev-lang/python-exec/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6cbb1015f80c550e41873048a7b5b660f98c4ea5 X-VCS-Branch: master Date: Mon, 9 Sep 2019 18:48:14 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 04bf375c-34ed-4337-962f-a4bda360830b X-Archives-Hash: 4ea91d7fb31ef12f9f81c38ad1a910e4 commit: 6cbb1015f80c550e41873048a7b5b660f98c4ea5 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 9 16:11:24 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Sep 9 18:48:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cbb1015 dev-lang/python-exec: Respect PYTHON_TARGETS (NFC) Actually use PYTHON_TARGETS when building implementation list. This is NFC since all targets are package.use.forced but it lets advanced users customize behavior via un-forcing those flags. Bug: https://bugs.gentoo.org/693910 Signed-off-by: Michał Górny gentoo.org> dev-lang/python-exec/python-exec-2.4.6-r1.ebuild | 6 ++++-- dev-lang/python-exec/python-exec-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild b/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild index 18343cded12..9f56ea1a1d8 100644 --- a/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild +++ b/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild @@ -27,8 +27,10 @@ RDEPEND=" src_configure() { local pyimpls=() i EPYTHON for i in "${_PYTHON_ALL_IMPLS[@]}"; do - python_export "${i}" EPYTHON - pyimpls+=( "${EPYTHON}" ) + if use "python_targets_${i}"; then + python_export "${i}" EPYTHON + pyimpls+=( "${EPYTHON}" ) + fi done local myconf=( diff --git a/dev-lang/python-exec/python-exec-9999.ebuild b/dev-lang/python-exec/python-exec-9999.ebuild index f5c7a17a180..ca430aeaf2d 100644 --- a/dev-lang/python-exec/python-exec-9999.ebuild +++ b/dev-lang/python-exec/python-exec-9999.ebuild @@ -33,8 +33,10 @@ src_prepare() { src_configure() { local pyimpls=() i EPYTHON for i in "${_PYTHON_ALL_IMPLS[@]}"; do - python_export "${i}" EPYTHON - pyimpls+=( "${EPYTHON}" ) + if use "python_targets_${i}"; then + python_export "${i}" EPYTHON + pyimpls+=( "${EPYTHON}" ) + fi done local myconf=(