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 F1EA61381FB for ; Thu, 27 Dec 2012 22:16:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A536F21C2A7; Thu, 27 Dec 2012 22:15:56 +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 149E221C2A7 for ; Thu, 27 Dec 2012 22:15:55 +0000 (UTC) Received: from mail-ia0-f181.google.com (mail-ia0-f181.google.com [209.85.210.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 28B9733D8B0 for ; Thu, 27 Dec 2012 22:15:54 +0000 (UTC) Received: by mail-ia0-f181.google.com with SMTP id s32so8400473iak.12 for ; Thu, 27 Dec 2012 14:15:52 -0800 (PST) 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 MIME-Version: 1.0 Received: by 10.50.190.163 with SMTP id gr3mr27391439igc.28.1356646552226; Thu, 27 Dec 2012 14:15:52 -0800 (PST) Received: by 10.64.62.37 with HTTP; Thu, 27 Dec 2012 14:15:52 -0800 (PST) In-Reply-To: <1356643854-2340-1-git-send-email-mgorny@gentoo.org> References: <1356643854-2340-1-git-send-email-mgorny@gentoo.org> Date: Thu, 27 Dec 2012 17:15:52 -0500 Message-ID: Subject: [gentoo-python] Re: [PATCH] Pass --build-scripts in out-of-source builds. From: Mike Gilbert To: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-python@lists.gentoo.org, python@gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 60cb8370-4f71-4ece-8a92-3ec123ee695e X-Archives-Hash: f17f080fe92c745becaf2d3dede84352 On Thu, Dec 27, 2012 at 4:30 PM, Micha=C5=82 G=C3=B3rny = wrote: > We're passing --build-lib anyway -- it adds a bit of consistency to > this. Python appends the language version to the 'scripts' build dir -- > we don't need it, so it makes using the scripts easier. > --- > gx86/eclass/distutils-r1.eclass | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.e= class > index 54c3afd..ceaf6ab 100644 > --- a/gx86/eclass/distutils-r1.eclass > +++ b/gx86/eclass/distutils-r1.eclass > @@ -188,6 +188,8 @@ esetup.py() { > --build-base "${BUILD_DIR}" > # using a single directory for them helps us expo= rt ${PYTHONPATH} > --build-lib "${BUILD_DIR}/lib" > + # make the ebuild writer lives easier > + --build-scripts "${BUILD_DIR}/scripts" > ) > fi > > -- > 1.8.0.2 > lgtm