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 045271381F3 for ; Mon, 26 Nov 2012 21:24:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF98CE01F1; Mon, 26 Nov 2012 21:24:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62312E01F1 for ; Mon, 26 Nov 2012 21:24:00 +0000 (UTC) Received: from pomiocik.lan (87-205-66-159.adsl.inetia.pl [87.205.66.159]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 8996B33D9C1; Mon, 26 Nov 2012 21:23:58 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH 07/10] Install 'epython' module for python-exec. Date: Mon, 26 Nov 2012 22:20:34 +0100 Message-Id: <1353964837-24198-8-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1353964837-24198-1-git-send-email-mgorny@gentoo.org> References: <1353964837-24198-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: 94894ce4-8e9c-46e6-a293-b07f42a1e3a4 X-Archives-Hash: fd73dfc95f645383d8f34f31c2641322 --- gx86/dev-lang/python/python-2.7.3-r3.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild index 618f7ef..8af21e3 100644 --- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild +++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild @@ -6,7 +6,7 @@ EAPI="2" WANT_AUTOMAKE="none" WANT_LIBTOOL="none" -inherit autotools eutils flag-o-matic multilib pax-utils toolchain-funcs +inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs MY_P="Python-${PV}" PATCHSET_REVISION="1" @@ -282,6 +282,11 @@ src_install() { -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ -e "s:@PYDOC@:pydoc${SLOT}:" \ -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" + + # for python-exec + python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR + echo "EPYTHON='${EPYTHON}'" > epython.py + python_domodule epython.py } pkg_preinst() { -- 1.8.0