Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 26/28] distutils-r1.eclass: Remove old FreeBSD compat hack
Date: Sun, 20 Jun 2021 10:04:29
Message-Id: 20210620095552.625633-27-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/28] python-r1 suite EAPI 8 support/cleanup by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/distutils-r1.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
7 index e74a68007179..a46b71431e48 100644
8 --- a/eclass/distutils-r1.eclass
9 +++ b/eclass/distutils-r1.eclass
10 @@ -711,8 +711,8 @@ _distutils-r1_create_setup_cfg() {
11 # egg-info.
12 _distutils-r1_copy_egg_info() {
13 mkdir -p "${BUILD_DIR}" || die
14 - # stupid freebsd can't do 'cp -t ${BUILD_DIR} {} +'
15 - find -name '*.egg-info' -type d -exec cp -R -p {} "${BUILD_DIR}"/ ';' || die
16 + find -name '*.egg-info' -type d \
17 + -exec cp -R -p -t "${BUILD_DIR}"/ {} + || die
18 }
19
20 # @FUNCTION: distutils-r1_python_compile
21 --
22 2.32.0

Replies