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 87F301381DF for ; Tue, 16 Feb 2016 22:57:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4522921C069; Tue, 16 Feb 2016 22:57:16 +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 EBD8C21C069 for ; Tue, 16 Feb 2016 22:57:15 +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 1A4A2340CC5 for ; Tue, 16 Feb 2016 22:57:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E30EE14CD for ; Tue, 16 Feb 2016 22:57:07 +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: <1455663406.0e88751404e5a5b7f5b75472611254d2126fefc6.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-9999.ebuild X-VCS-Directories: dev-lang/python-exec/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0e88751404e5a5b7f5b75472611254d2126fefc6 X-VCS-Branch: master Date: Tue, 16 Feb 2016 22:57:07 +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: af6b6e20-1aaa-4f7b-978e-27e34b49544a X-Archives-Hash: 9569c174ee18962c18e619d604317472 commit: 0e88751404e5a5b7f5b75472611254d2126fefc6 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 16 22:40:41 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 16 22:56:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e887514 dev-lang/python-exec-9999: Use Python wrapper for Python scripts dev-lang/python-exec/python-exec-9999.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-lang/python-exec/python-exec-9999.ebuild b/dev-lang/python-exec/python-exec-9999.ebuild index 2b77cc7..b835c89 100644 --- a/dev-lang/python-exec/python-exec-9999.ebuild +++ b/dev-lang/python-exec/python-exec-9999.ebuild @@ -68,11 +68,17 @@ src_install() { insinto /etc/python-exec doins "${T}"/python-exec.conf - # Create Python interpreter executable wrappers local f - for f in python{,2,3}{,-config} 2to3 idle pydoc pyvenv; do + for f in python{,2,3}; do + # symlink the C wrapper for python to avoid shebang recursion + # bug #568974 dosym python-exec2c /usr/bin/"${f}" done + for f in python{,2,3}-config 2to3 idle pydoc pyvenv; do + # those are python scripts (except for new python-configs) + # so symlink them via the python wrapper + dosym ../lib/python-exec/python-exec2 /usr/bin/"${f}" + done } pkg_preinst() {