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 A2AE51381F3 for ; Mon, 26 Nov 2012 21:24:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8855121C02C; Mon, 26 Nov 2012 21:23:54 +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 090DD21C02C for ; Mon, 26 Nov 2012 21:23:53 +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 322B033D9BC; Mon, 26 Nov 2012 21:23:51 +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 03/10] Package the compiled .pyc & .pyo files. Date: Mon, 26 Nov 2012 22:20:30 +0100 Message-Id: <1353964837-24198-4-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: bc763ec1-8553-48b4-a240-c38de05ae5df X-Archives-Hash: 15f1bf51bfb270aba8747c09431de6d3 --- gx86/dev-lang/python/python-2.7.3-r3.ebuild | 5 ----- 1 file changed, 5 deletions(-) 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 09d09e0..7efab59 100644 --- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild +++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild @@ -249,7 +249,6 @@ src_install() { [[ -z "${ED}" ]] && ED="${D%/}${EPREFIX}/" emake DESTDIR="${D}" altinstall maninstall || die "emake altinstall maninstall failed" - python_clean_installation_image -q sed -e "s/\(LDFLAGS=\).*/\1/" -i "${ED}$(python_get_libdir)/config/Makefile" || die "sed failed" @@ -309,8 +308,6 @@ eselect_python_update() { pkg_postinst() { eselect_python_update - python_mod_optimize -f -x "/(site-packages|test|tests)/" $(python_get_libdir) - if [[ "${python_updater_warning}" == "1" ]]; then ewarn "You have just upgraded from an older version of Python." ewarn "You should switch active version of Python ${PV%%.*} and run" @@ -320,6 +317,4 @@ pkg_postinst() { pkg_postrm() { eselect_python_update - - python_mod_cleanup $(python_get_libdir) } -- 1.8.0