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 D56D11381F3 for ; Mon, 26 Nov 2012 21:24:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9FDA21C035; Mon, 26 Nov 2012 21:23:57 +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 3CFA721C035 for ; Mon, 26 Nov 2012 21:23:57 +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 5682933D9C7; Mon, 26 Nov 2012 21:23:55 +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 05/10] Replace python_get_libdir with inlined path. Date: Mon, 26 Nov 2012 22:20:32 +0100 Message-Id: <1353964837-24198-6-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: a4c03df0-99aa-4161-af2e-3a75138afa55 X-Archives-Hash: 37e3b294e15c3f8240cabd3a75e8d745 The path is specific to dev-lang/python, and python.eclass is not really the right place to keep it. --- gx86/dev-lang/python/python-2.7.3-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 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 1ba8eee..08eabb8 100644 --- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild +++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild @@ -235,7 +235,7 @@ src_test() { done elog "If you would like to run them, you may:" - elog "cd '${EPREFIX}$(python_get_libdir)/test'" + elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'" elog "and run the tests separately." python_disable_pyc @@ -248,7 +248,7 @@ src_test() { src_install() { [[ -z "${ED}" ]] && ED="${D%/}${EPREFIX}/" - local libdir=${ED}$(python_get_libdir) + local libdir=${ED}/usr/$(get_libdir)/python${SLOT} emake DESTDIR="${D}" altinstall maninstall || die "emake altinstall maninstall failed" -- 1.8.0