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 1B7521581C1 for ; Thu, 11 Jul 2024 18:37:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AC06E29A4; Thu, 11 Jul 2024 18:37:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 96320E29A4 for ; Thu, 11 Jul 2024 18:37:09 +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 785C434300A for ; Thu, 11 Jul 2024 18:37:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B72B81E1A for ; Thu, 11 Jul 2024 18:37:06 +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: <1720722565.ebc876a3e3e7dae2b97c87f0a730eb6888eddee9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/seaborn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/seaborn/seaborn-0.13.2.ebuild X-VCS-Directories: dev-python/seaborn/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ebc876a3e3e7dae2b97c87f0a730eb6888eddee9 X-VCS-Branch: master Date: Thu, 11 Jul 2024 18:37:06 +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: 288ee482-bede-425d-860d-4547f5b7fd61 X-Archives-Hash: 4d02a2fef54b796bc052e469569846a1 commit: ebc876a3e3e7dae2b97c87f0a730eb6888eddee9 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 11 18:29:25 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 11 18:29:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc876a3 dev-python/seaborn: Fix tests with numpy-2 Signed-off-by: Michał Górny gentoo.org> dev-python/seaborn/seaborn-0.13.2.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/seaborn/seaborn-0.13.2.ebuild b/dev-python/seaborn/seaborn-0.13.2.ebuild index b7d3e8825fc5..d873ae99d638 100644 --- a/dev-python/seaborn/seaborn-0.13.2.ebuild +++ b/dev-python/seaborn/seaborn-0.13.2.ebuild @@ -30,6 +30,13 @@ RDEPEND=" EPYTEST_XDIST=1 distutils_enable_tests pytest +src_prepare() { + distutils-r1_src_prepare + + # https://github.com/mwaskom/seaborn/pull/3685 + sed -i -e '/VisibleDeprecationWarning/d' tests/test_distributions.py || die +} + src_test() { cat > matplotlibrc <<- EOF || die backend : Agg