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 B2713158031 for ; Sun, 26 Feb 2023 00:30:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAA0AE07D8; Sun, 26 Feb 2023 00:30:16 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90943E07D8 for ; Sun, 26 Feb 2023 00:30:16 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E196340DAE for ; Sun, 26 Feb 2023 00:30:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDA648B7 for ; Sun, 26 Feb 2023 00:30:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1677371396.9ac0a321e63176ce49d5830281476e27bec05e6c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/seaborn/files/, dev-python/seaborn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/seaborn/Manifest dev-python/seaborn/files/seaborn-0.12.2-matplotlib-3.7.patch dev-python/seaborn/seaborn-0.12.2.ebuild X-VCS-Directories: dev-python/seaborn/ dev-python/seaborn/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9ac0a321e63176ce49d5830281476e27bec05e6c X-VCS-Branch: master Date: Sun, 26 Feb 2023 00:30:12 +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: acd36b3d-373d-411a-a2a3-0516f2e6f5d5 X-Archives-Hash: 9d3e88298b8e9dcf9b7cde1e0dbb987f commit: 9ac0a321e63176ce49d5830281476e27bec05e6c Author: Sam James gentoo org> AuthorDate: Sat Feb 25 23:45:37 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 26 00:29:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac0a321 dev-python/seaborn: add 0.12.2 Closes: https://bugs.gentoo.org/880587 Signed-off-by: Sam James gentoo.org> dev-python/seaborn/Manifest | 1 + .../files/seaborn-0.12.2-matplotlib-3.7.patch | 19 ++++++++++ dev-python/seaborn/seaborn-0.12.2.ebuild | 44 ++++++++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/dev-python/seaborn/Manifest b/dev-python/seaborn/Manifest index 05272f65be96..0fa6e8e28578 100644 --- a/dev-python/seaborn/Manifest +++ b/dev-python/seaborn/Manifest @@ -1 +1,2 @@ DIST seaborn-0.12.0.tar.gz 1407601 BLAKE2B 3da8db0a0c08a40a3969a2ffce248f5521b4c7c93ecf0f014850093ef48331326454572ceea6ee1133805bf92540b0d2acecdfb7cb789d238f743b30e6a28947 SHA512 b2b06a22d48f19ace2448f465ca5e700f3486971d9fb86e85a1a8c9e2956b904e5f4c2c8075f848299b182cf8f69b2fac22366fedbd8012b9c44adc0bcb7e060 +DIST seaborn-0.12.2.tar.gz 1439798 BLAKE2B cf6903b1a2d27516bcafe46cabc81ea9fac80666394a6a82516630f9ac60afc7e9d31817e029cda9a08da04c0a37ce0244ad23acda16bca3283532ddb0fbdb71 SHA512 988a9922ee301b655911efa38905674b7dd15e7f7b157ad67f5befaeb02db492553f8bd6133b54d2dd7970b8dbbfd92d81d1faea3fa618247ebcaeb98620a060 diff --git a/dev-python/seaborn/files/seaborn-0.12.2-matplotlib-3.7.patch b/dev-python/seaborn/files/seaborn-0.12.2-matplotlib-3.7.patch new file mode 100644 index 000000000000..dbc4908321d9 --- /dev/null +++ b/dev-python/seaborn/files/seaborn-0.12.2-matplotlib-3.7.patch @@ -0,0 +1,19 @@ +https://github.com/mwaskom/seaborn/commit/db7ae11750fc2dfb695457239708448d54e9b8cd + +From db7ae11750fc2dfb695457239708448d54e9b8cd Mon Sep 17 00:00:00 2001 +From: Michael Waskom +Date: Wed, 25 Jan 2023 16:58:26 -0500 +Subject: [PATCH] Update test to reflect change in matplotlib 3.7 (#3236) + +--- a/tests/test_axisgrid.py ++++ b/tests/test_axisgrid.py +@@ -331,7 +331,7 @@ def test_subplot_kws(self): + g = ag.FacetGrid(self.df, despine=False, + subplot_kws=dict(projection="polar")) + for ax in g.axes.flat: +- assert "PolarAxesSubplot" in str(type(ax)) ++ assert "PolarAxes" in ax.__class__.__name__ + + def test_gridspec_kws(self): + ratios = [3, 1, 2] + diff --git a/dev-python/seaborn/seaborn-0.12.2.ebuild b/dev-python/seaborn/seaborn-0.12.2.ebuild new file mode 100644 index 000000000000..276eda23158c --- /dev/null +++ b/dev-python/seaborn/seaborn-0.12.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Statistical data visualization" +HOMEPAGE="https://seaborn.pydata.org https://github.com/mwaskom/seaborn" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/statsmodels[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/pytest-xdist[${PYTHON_USEDEP}] ) +" + +PATCHES=( + "${FILESDIR}"/${P}-matplotlib-3.7.patch +) + +distutils_enable_tests pytest + +src_test() { + cat > matplotlibrc <<- EOF || die + backend : Agg + EOF + + distutils-r1_src_test +} + +python_test() { + epytest -n "$(makeopts_jobs)" +}