diff options
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', |