* [gentoo-python] [PATCH] Pass --build-scripts in out-of-source builds.
@ 2012-12-27 21:30 Michał Górny
2012-12-27 22:15 ` [gentoo-python] " Mike Gilbert
0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2012-12-27 21:30 UTC (permalink / raw
To: gentoo-python; +Cc: python, Michał Górny
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.eclass
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 export ${PYTHONPATH}
--build-lib "${BUILD_DIR}/lib"
+ # make the ebuild writer lives easier
+ --build-scripts "${BUILD_DIR}/scripts"
)
fi
--
1.8.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-python] Re: [PATCH] Pass --build-scripts in out-of-source builds.
2012-12-27 21:30 [gentoo-python] [PATCH] Pass --build-scripts in out-of-source builds Michał Górny
@ 2012-12-27 22:15 ` Mike Gilbert
0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert @ 2012-12-27 22:15 UTC (permalink / raw
To: Michał Górny; +Cc: gentoo-python, python
On Thu, Dec 27, 2012 at 4:30 PM, Michał Górny <mgorny@gentoo.org> 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.eclass
> 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 export ${PYTHONPATH}
> --build-lib "${BUILD_DIR}/lib"
> + # make the ebuild writer lives easier
> + --build-scripts "${BUILD_DIR}/scripts"
> )
> fi
>
> --
> 1.8.0.2
>
lgtm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-27 22:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 21:30 [gentoo-python] [PATCH] Pass --build-scripts in out-of-source builds Michał Górny
2012-12-27 22:15 ` [gentoo-python] " Mike Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox