From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B137115823F for ; Sun, 19 Nov 2023 06:34:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFD022BC016; Sun, 19 Nov 2023 06:34:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D507D2BC016 for ; Sun, 19 Nov 2023 06:34:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08508335CB9 for ; Sun, 19 Nov 2023 06:34:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62D95B63 for ; Sun, 19 Nov 2023 06:34:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1700375537.09a48d7649ff8ec54062a0aa41d675aa3c0e88f9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lxml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/lxml/lxml-4.9.3-r2.ebuild X-VCS-Directories: dev-python/lxml/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 09a48d7649ff8ec54062a0aa41d675aa3c0e88f9 X-VCS-Branch: master Date: Sun, 19 Nov 2023 06:34:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 13498f10-d6a5-41b4-9564-2c0e0fa2ec30 X-Archives-Hash: f4c37efaad419109c18c27e56885a143 commit: 09a48d7649ff8ec54062a0aa41d675aa3c0e88f9 Author: Eli Schwartz gmail com> AuthorDate: Sun Nov 19 02:41:55 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 19 06:32:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a48d76 dev-python/lxml: avoid suppressing compiler warnings By default, setupinfo.py injects `-w` to the CFLAGS passed down to Extension objects. This obscures things we'd like to see. For example, it prevents adding Modern C Porting flags. Signed-off-by: Eli Schwartz gmail.com> Closes: https://bugs.gentoo.org/917562 Signed-off-by: Michał Górny gentoo.org> dev-python/lxml/lxml-4.9.3-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-python/lxml/lxml-4.9.3-r2.ebuild b/dev-python/lxml/lxml-4.9.3-r2.ebuild index 01ddc28bb840..cd6b75b3c807 100644 --- a/dev-python/lxml/lxml-4.9.3-r2.ebuild +++ b/dev-python/lxml/lxml-4.9.3-r2.ebuild @@ -76,6 +76,10 @@ python_prepare_all() { } python_compile() { + local DISTUTILS_ARGS=( + # by default it adds -w to CFLAGS + --warnings + ) tc-export PKG_CONFIG distutils-r1_python_compile }