From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/, dev-python/mypy/files/
Date: Sun, 22 Dec 2024 00:34:22 +0000 (UTC) [thread overview]
Message-ID: <1734827610.bd9fbe99c67b8b0399a8af212b36308d44b36d54.sam@gentoo> (raw)
commit: bd9fbe99c67b8b0399a8af212b36308d44b36d54
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 00:33:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 00:33:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9fbe99
dev-python/mypy: don't pass -Werror
Closes: https://bugs.gentoo.org/916577
Closes: https://bugs.gentoo.org/944118
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/mypy/files/mypy-1.14.0-no-werror.patch | 11 +++++++++++
dev-python/mypy/mypy-1.14.0.ebuild | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/dev-python/mypy/files/mypy-1.14.0-no-werror.patch b/dev-python/mypy/files/mypy-1.14.0-no-werror.patch
new file mode 100644
index 000000000000..038c1964020e
--- /dev/null
+++ b/dev-python/mypy/files/mypy-1.14.0-no-werror.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/916577
+--- a/mypyc/build.py
++++ b/mypyc/build.py
+@@ -551,7 +551,6 @@ def mypycify(
+ cflags += [
+ f"-O{opt_level}",
+ f"-g{debug_level}",
+- "-Werror",
+ "-Wno-unused-function",
+ "-Wno-unused-label",
+ "-Wno-unreachable-code",
diff --git a/dev-python/mypy/mypy-1.14.0.ebuild b/dev-python/mypy/mypy-1.14.0.ebuild
index da0b9a425592..e86f197574bc 100644
--- a/dev-python/mypy/mypy-1.14.0.ebuild
+++ b/dev-python/mypy/mypy-1.14.0.ebuild
@@ -56,6 +56,10 @@ distutils_enable_tests pytest
# test files (https://github.com/mypyc/mypyc/issues/1014)
export CCACHE_DISABLE=1
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.14.0-no-werror.patch
+)
+
src_prepare() {
distutils-r1_src_prepare
next reply other threads:[~2024-12-22 0:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 0:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-09 19:29 [gentoo-commits] repo/gentoo:master commit in: dev-python/mypy/, dev-python/mypy/files/ Michał Górny
2024-07-09 19:29 Michał Górny
2022-05-07 9:35 Michał Górny
2021-02-26 14:35 Michał Górny
2020-11-18 17:43 Louis Sautier
2020-10-07 16:31 Louis Sautier
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=1734827610.bd9fbe99c67b8b0399a8af212b36308d44b36d54.sam@gentoo \
--to=sam@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