From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/, dev-python/matplotlib/files/
Date: Mon, 17 Jul 2023 01:18:14 +0000 (UTC) [thread overview]
Message-ID: <1689556658.fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9.heroxbd@gentoo> (raw)
commit: fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 00:05:56 2023 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Jul 17 01:17:38 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0d8fc9
dev-python/matplotlib: Do not build against Cocoa on macOS.
keyword 3.7.2 for ~arm64-macos, ~x64-macos
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
.../files/matplotlib-3.7.2-macOS_no-Cocoa.patch | 21 +++++++++++++++++++++
dev-python/matplotlib/matplotlib-3.7.2.ebuild | 3 ++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch
new file mode 100644
index 000000000000..3f29134be621
--- /dev/null
+++ b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch
@@ -0,0 +1,21 @@
+Do not automatically build against Cocoa on macOS.
+
+At Prefix/macOS, we do not support the propietary Cocoa SDK. GUI
+applications use X11.
+
+The patch is specific to our need and not forwarded upstream.
+
+Signed-off-by: Benda Xu <heroxbd@gentoo.org>
+
+Index: matplotlib-3.7.2/setup.py
+===================================================================
+--- matplotlib-3.7.2.orig/setup.py
++++ matplotlib-3.7.2/setup.py
+@@ -49,7 +49,6 @@ mpl_packages = [
+ setupext.FreeType(),
+ setupext.Qhull(),
+ setupext.Tests(),
+- setupext.BackendMacOSX(),
+ ]
+
+
diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild
index 6bf2c0bcf481..213f165a0cc5 100644
--- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild
@@ -30,7 +30,7 @@ SRC_URI+="
# Fonts: BitstreamVera, OFL-1.1
LICENSE="BitstreamVera BSD matplotlib MIT OFL-1.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
IUSE="cairo doc excel examples gtk3 latex qt5 tk webagg wxwidgets"
# internal copy of pycxx highly patched
@@ -151,6 +151,7 @@ python_prepare_all() {
local PATCHES=(
"${FILESDIR}"/matplotlib-3.3.3-disable-lto.patch
"${FILESDIR}"/matplotlib-3.7.1-test.patch
+ "${FILESDIR}"/matplotlib-3.7.2-macOS_no-Cocoa.patch
)
sed \
next reply other threads:[~2023-07-17 1:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 1:18 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-20 6:58 [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib/, dev-python/matplotlib/files/ Michał Górny
2023-03-04 18:16 Michał Górny
2023-02-14 21:05 Michał Górny
2022-11-03 5:32 Michał Górny
2022-10-25 8:21 Sam James
2022-09-24 8:26 Michał Górny
2022-06-17 11:17 Michał Górny
2021-11-19 9:25 Michał Górny
2021-11-16 10:19 Michał Górny
2021-06-20 14:37 Michał Górny
2021-03-26 14:37 Michał Górny
2020-07-25 7:36 Michał Górny
2020-06-07 19:33 Michał Górny
2019-05-02 15:11 Virgil Dupras
2018-05-10 14:10 Andreas Sturmlechner
2018-03-17 20:57 Andrey Grozin
2018-01-21 14:00 Andrey Grozin
2018-01-05 9:36 Michał Górny
2017-06-03 10:28 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1689556658.fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9.heroxbd@gentoo \
--to=heroxbd@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox