* [gentoo-commits] repo/gentoo:master commit in: dev-python/contourpy/files/, dev-python/contourpy/
@ 2023-10-29 5:06 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-10-29 5:06 UTC (permalink / raw
To: gentoo-commits
commit: 08b40d01e9705226bcf7eb7fbe577ba2359d63f9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 05:06:03 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 05:06:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b40d01
dev-python/contourpy: disable werror
although we should really handle this in distutils-r1 for meson-python, ala
meson.eclass
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/contourpy/contourpy-1.1.1.ebuild | 4 ++++
dev-python/contourpy/files/contourpy-1.1.1-no-werror.patch | 11 +++++++++++
2 files changed, 15 insertions(+)
diff --git a/dev-python/contourpy/contourpy-1.1.1.ebuild b/dev-python/contourpy/contourpy-1.1.1.ebuild
index 3dcabe49f47f..4f2ad18a7011 100644
--- a/dev-python/contourpy/contourpy-1.1.1.ebuild
+++ b/dev-python/contourpy/contourpy-1.1.1.ebuild
@@ -35,6 +35,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.1-no-werror.patch
+)
+
distutils_enable_tests pytest
python_test() {
diff --git a/dev-python/contourpy/files/contourpy-1.1.1-no-werror.patch b/dev-python/contourpy/files/contourpy-1.1.1-no-werror.patch
new file mode 100644
index 000000000000..4db618369434
--- /dev/null
+++ b/dev-python/contourpy/files/contourpy-1.1.1-no-werror.patch
@@ -0,0 +1,11 @@
+XXX: We should really just make meson-python in distutils-r1 always disable werror.
+--- a/meson.build
++++ b/meson.build
+@@ -4,7 +4,6 @@ project(
+ default_options: [
+ # meson-python options are set in pyproject.toml
+ 'cpp_std=c++17',
+- 'werror=true',
+ ],
+ license: 'BSD-3-Clause',
+ meson_version: '>= 1.2.0',
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-29 5:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-29 5:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/contourpy/files/, dev-python/contourpy/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox