Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 26/28] distutils-r1.eclass: Remove old FreeBSD compat hack
Date: Sun, 20 Jun 2021 13:15:17
Message-Id: e159a95c393aef11bc7efa7f54beab7176b16d73.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH 26/28] distutils-r1.eclass: Remove old FreeBSD compat hack by "Michał Górny"
1 On Sun, 2021-06-20 at 11:55 +0200, Michał Górny wrote:
2 > Signed-off-by: Michał Górny <mgorny@g.o>
3 > ---
4 > eclass/distutils-r1.eclass | 4 ++--
5 > 1 file changed, 2 insertions(+), 2 deletions(-)
6 >
7 > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
8 > index e74a68007179..a46b71431e48 100644
9 > --- a/eclass/distutils-r1.eclass
10 > +++ b/eclass/distutils-r1.eclass
11 > @@ -711,8 +711,8 @@ _distutils-r1_create_setup_cfg() {
12 > # egg-info.
13 > _distutils-r1_copy_egg_info() {
14 > mkdir -p "${BUILD_DIR}" || die
15 > - # stupid freebsd can't do 'cp -t ${BUILD_DIR} {} +'
16 > - find -name '*.egg-info' -type d -exec cp -R -p {} "${BUILD_DIR}"/ ';' || die
17 > + find -name '*.egg-info' -type d \
18 > + -exec cp -R -p -t "${BUILD_DIR}"/ {} + || die
19 > }
20 >
21 > # @FUNCTION: distutils-r1_python_compile
22
23 Retracting this one for now, as it causes failures due to 'is the same
24 file' copy errors with in-source builds. Need to revisit it later
25 and fix the underlying issue properly.
26
27 --
28 Best regards,
29 Michał Górny