From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/seaborn/files/, dev-python/seaborn/
Date: Sun, 26 Feb 2023 00:30:12 +0000 (UTC) [thread overview]
Message-ID: <1677371396.9ac0a321e63176ce49d5830281476e27bec05e6c.sam@gentoo> (raw)
commit: 9ac0a321e63176ce49d5830281476e27bec05e6c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 23:45:37 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <mwaskom@users.noreply.github.com>
+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)"
+}
next reply other threads:[~2023-02-26 0:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-26 0:30 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-02 5:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/seaborn/files/, dev-python/seaborn/ Michał Górny
2022-10-08 20:10 Michał Górny
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=1677371396.9ac0a321e63176ce49d5830281476e27bec05e6c.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