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 BA7B31384B4 for ; Tue, 10 Nov 2015 17:53:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BD4521C035; Tue, 10 Nov 2015 17:53:34 +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 AD2BB21C02E for ; Tue, 10 Nov 2015 17:53:33 +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 F0A843402A2 for ; Tue, 10 Nov 2015 17:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E37F241A for ; Tue, 10 Nov 2015 17:53:30 +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: <1447177249.e2cfe4b65816c63e86412370b11753f703ddc116.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:python-soabi-cleanup commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/python-utils-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e2cfe4b65816c63e86412370b11753f703ddc116 X-VCS-Branch: python-soabi-cleanup Date: Tue, 10 Nov 2015 17:53:30 +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: 7cbdd212-81ef-4262-b649-9d3bd2019dca X-Archives-Hash: 5ea9f1be68dfc74e574bf9778cbb3620 commit: e2cfe4b65816c63e86412370b11753f703ddc116 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 8 08:30:37 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 10 17:40:49 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2cfe4b6 python-utils-r1.eclass: Reuse PYTHON_CONFIG in python_wrapper_setup() eclass/python-utils-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 68926ab..33cee1b 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -877,8 +877,8 @@ python_wrapper_setup() { rm -f "${workdir}"/bin/2to3 || die rm -f "${workdir}"/pkgconfig/python{,2,3}.pc || die - local EPYTHON PYTHON - python_export "${impl}" EPYTHON PYTHON + local EPYTHON PYTHON PYTHON_CONFIG + python_export "${impl}" EPYTHON PYTHON PYTHON_CONFIG local pyver pyother if python_is_python3; then @@ -906,7 +906,7 @@ python_wrapper_setup() { if [[ ${EPYTHON} == python* ]]; then cat > "${workdir}/bin/python-config" <<-_EOF_ #!/bin/sh - exec "${PYTHON}-config" "\${@}" + exec "${PYTHON_CONFIG}" "\${@}" _EOF_ cp "${workdir}/bin/python-config" \ "${workdir}/bin/python${pyver}-config" || die