diff options
author | Sam James <sam@gentoo.org> | 2023-10-29 05:06:03 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-29 05:06:03 +0000 |
commit | 08b40d01e9705226bcf7eb7fbe577ba2359d63f9 (patch) | |
tree | 7438d3ca2489c13e6a655120ecf6d9e8e19c69e7 /dev-python/contourpy | |
parent | sys-apps/systemd: Stabilize 254.5 hppa, #916072 (diff) | |
download | gentoo-08b40d01e9705226bcf7eb7fbe577ba2359d63f9.tar.gz gentoo-08b40d01e9705226bcf7eb7fbe577ba2359d63f9.tar.bz2 gentoo-08b40d01e9705226bcf7eb7fbe577ba2359d63f9.zip |
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@gentoo.org>
Diffstat (limited to 'dev-python/contourpy')
-rw-r--r-- | dev-python/contourpy/contourpy-1.1.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/contourpy/files/contourpy-1.1.1-no-werror.patch | 11 |
2 files changed, 15 insertions, 0 deletions
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', |