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 69C8C58973 for ; Mon, 8 Feb 2016 17:57:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7B4D21C01E; Mon, 8 Feb 2016 17:57:04 +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 9391121C01E for ; Mon, 8 Feb 2016 17:57:04 +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 AB2F2340691 for ; Mon, 8 Feb 2016 17:57:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA8AB7C7 for ; Mon, 8 Feb 2016 17:57:00 +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: <1454954198.d6757565b9af0e8b663b64508c216c297417c405.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: d6757565b9af0e8b663b64508c216c297417c405 X-VCS-Branch: master Date: Mon, 8 Feb 2016 17:57:00 +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: 637659d1-45d0-4e68-abc8-9216378fdc97 X-Archives-Hash: 37bed5ec2f4ba5182d6b3cf83ae92fa9 commit: d6757565b9af0e8b663b64508c216c297417c405 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 8 17:54:10 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Feb 8 17:56:38 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6757565 dev-lang/python-exec: Wrappers were moved to /usr/bin (in git) The both wrappers were moved to /usr/bin in order to make it possible to symlink them in place of /usr/bin/python{,2,3}. Compatibility symlinks are now installed in place of old locations. dev-lang/python-exec/python-exec-9999.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-lang/python-exec/python-exec-9999.ebuild b/dev-lang/python-exec/python-exec-9999.ebuild index 98e0119..8b64e11 100644 --- a/dev-lang/python-exec/python-exec-9999.ebuild +++ b/dev-lang/python-exec/python-exec-9999.ebuild @@ -68,14 +68,14 @@ src_install() { insinto /etc/python-exec doins "${T}"/python-exec.conf + # Create compatibility symlinks + dosym ../../bin/python-exec2 /usr/lib/python-exec/python-exec2-c + dosym ../../bin/python-exec2.py /usr/lib/python-exec/python-exec2 + + # Create Python interpreter executable wrappers local f - for f in python{,2,3}; do - # can't use symlinks here since random stuff - # loves to do readlink on sys.executable... - newbin python-exec2-c "${f}" - done - for f in python{,2,3}-config 2to3 idle pydoc pyvenv; do - dosym ../lib/python-exec/python-exec2 /usr/bin/"${f}" + for f in python{,2,3}{,-config} 2to3 idle pydoc pyvenv; do + dosym python-exec2 /usr/bin/"${f}" done }