Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/grpcio/files/
Date: Wed, 27 Jan 2021 18:17:29
Message-Id: 1611771434.391726367d43893092949b750363425fda764c46.conikost@gentoo
1 commit: 391726367d43893092949b750363425fda764c46
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Jan 27 12:48:51 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 18:17:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39172636
7
8 dev-python/grpcio: remove unused patch
9
10 Bug: https://github.com/gentoo/gentoo/pull/19238
11 Package-Manager: Portage-3.0.14, Repoman-3.0.2
12 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 dev-python/grpcio/files/setup.py-respect-cc.patch | 33 -----------------------
16 1 file changed, 33 deletions(-)
17
18 diff --git a/dev-python/grpcio/files/setup.py-respect-cc.patch b/dev-python/grpcio/files/setup.py-respect-cc.patch
19 deleted file mode 100644
20 index 545346e8152..00000000000
21 --- a/dev-python/grpcio/files/setup.py-respect-cc.patch
22 +++ /dev/null
23 @@ -1,33 +0,0 @@
24 -From 0a6c58fc0161e697bbf64b4f3d4ef14b03ac186b Mon Sep 17 00:00:00 2001
25 -From: Georgy Yakovlev <gyakovlev@g.o>
26 -Date: Sun, 7 Jun 2020 23:35:31 -0700
27 -Subject: [PATCH] setup.py: respect CC variable in latomic test
28 -
29 -some configurations do not provide generic cc binary.
30 -while rest of the build calls CHOST prefixed binaries,
31 -this check fails. fix it.
32 -
33 -Signed-off-by: Georgy Yakovlev <gyakovlev@g.o>
34 ----
35 - setup.py | 3 ++-
36 - 1 file changed, 2 insertions(+), 1 deletion(-)
37 -
38 -diff --git a/setup.py b/setup.py
39 -index 2379703eb7..0f92270607 100644
40 ---- a/setup.py
41 -+++ b/setup.py
42 -@@ -144,9 +144,10 @@ ENABLE_DOCUMENTATION_BUILD = os.environ.get(
43 -
44 - def check_linker_need_libatomic():
45 - """Test if linker on system needs libatomic."""
46 -+ cc = os.environ.get('CC', 'cc')
47 - code_test = (b'#include <atomic>\n' +
48 - b'int main() { return std::atomic<int64_t>{}; }')
49 -- cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
50 -+ cc_test = subprocess.Popen([cc, '-x', 'c++', '-std=c++11', '-'],
51 - stdin=PIPE,
52 - stdout=PIPE,
53 - stderr=PIPE)
54 ---
55 -2.27.0
56 -