From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NvBNX-0001cG-8p for garchives@archives.gentoo.org; Fri, 26 Mar 2010 15:23:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A6EFEE09A6; Fri, 26 Mar 2010 15:23:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 83565E09A6 for ; Fri, 26 Mar 2010 15:23:18 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2DA9B1B4133 for ; Fri, 26 Mar 2010 15:23:18 +0000 (UTC) Received: from arfrever by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NvBNV-0006FL-JJ for gentoo-commits@lists.gentoo.org; Fri, 26 Mar 2010 15:23:17 +0000 From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, arfrever@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: python.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: python.eclass X-VCS-Directories: eclass X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis Content-Type: text/plain; charset=utf8 Message-Id: Sender: Arfrever Frehtes Taifersar Arahesis Date: Fri, 26 Mar 2010 15:23:17 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5b841fd3-3ebb-4835-9078-210496ce18a4 X-Archives-Hash: 52b027c7b52009c6c5b80ef62f1a6f69 arfrever 10/03/26 15:23:17 Modified: python.eclass Log: Set GENTOO_PYTHON_PROCESS_NAME environmental variable in wrapper script= s generated by python_generate_wrapper_scripts(), because Python process = now unsets this variable at the beginning of execution of wrapper scripts= , but this variable should be set also at the beginning of execution of t= arget scripts. Revision Changes Path 1.96 eclass/python.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.ecla= ss?rev=3D1.96&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.ecla= ss?rev=3D1.96&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.ecla= ss?r1=3D1.95&r2=3D1.96 Index: python.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/python.eclass,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- python.eclass 20 Mar 2010 17:59:40 -0000 1.95 +++ python.eclass 26 Mar 2010 15:23:17 -0000 1.96 @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.95 2010/03/2= 0 17:59:40 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.96 2010/03/2= 6 15:23:17 arfrever Exp $ =20 # @ECLASS: python.eclass # @MAINTAINER: @@ -848,6 +848,7 @@ =20 wrapper_script_path =3D os.path.realpath(sys.argv[0]) target_executable_path =3D "%s-%s" % (wrapper_script_path, PYTHON_ABI) +os.environ["GENTOO_PYTHON_PROCESS_NAME"] =3D os.path.basename(sys.argv[0= ]) os.environ["GENTOO_PYTHON_WRAPPER_SCRIPT_PATH"] =3D sys.argv[0] os.environ["GENTOO_PYTHON_TARGET_SCRIPT_PATH"] =3D target_executable_pat= h if not os.path.exists(target_executable_path):