aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2023-11-05 00:59:01 +0100
committerAndy Postnikov <apostnikov@gmail.com>2023-11-05 00:33:55 +0000
commit62865b5d5ee4688a974c375b92ca3bf7c1b8cd64 (patch)
treed885c8f57e892dbefccfbb6c56d6b50f770c6b83
parent02a22f4ba2e9260e03a7193faaac7cb9d9525c3a (diff)
community/py3-matplotlib: upgrade to 3.7.3
-rw-r--r--community/py3-matplotlib/APKBUILD10
-rw-r--r--community/py3-matplotlib/test-x86.patch10
-rw-r--r--community/py3-matplotlib/test.patch18
3 files changed, 16 insertions, 22 deletions
diff --git a/community/py3-matplotlib/APKBUILD b/community/py3-matplotlib/APKBUILD
index 6d76332b5ad..9a429450f06 100644
--- a/community/py3-matplotlib/APKBUILD
+++ b/community/py3-matplotlib/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-matplotlib
_pyname=matplotlib
-pkgver=3.7.2
+pkgver=3.7.3
pkgrel=0
pkgdesc="Python3 library for plots"
url="https://matplotlib.org"
@@ -49,6 +49,7 @@ source="https://github.com/matplotlib/$_pyname/archive/v$pkgver/matplotlib-v$pkg
$pkgname-images-$pkgver.tar.gz::https://github.com/boomanaiden154/matplotlib-test-images/releases/download/matplotlib-$pkgver/matplotlib-images.tar.gz
freetype.patch
test.patch
+ test-x86.patch
"
builddir="$srcdir/$_pyname-$pkgver"
@@ -90,8 +91,9 @@ package() {
}
sha512sums="
-ec5747a8983dc899be7899bfd1c18e33cbbe738f724c61c465b64dd3ce559d840d716092d74ca7115ffdb5f70d1e531269754b648ef0674ad0768b75844a77e9 matplotlib-v3.7.2.tar.gz
-5bca91eea776922957acd6215b76bfb1bae60901fa4994f38e76834c701b8c791e4ceac36b7498394946afb234be782fe534bece49b810b9c5107d2a7448a3e2 py3-matplotlib-images-3.7.2.tar.gz
+9714098cd5c18bc8ab8f115ec1fdb5dcadd6f08f6bd6a17068050b272287ab0d9544fae98688b27555d91281614198aefeb54a72c68977c227818b24ff77613e matplotlib-v3.7.3.tar.gz
+0fbf06713a51121fb1651e52e3a7d965a14ed3e22f527e7d42bdad180a333864468f2cb1bc6e6b32e4bb3c8954df7aeca5369a0f098c12cf2211b2bb3dfc0195 py3-matplotlib-images-3.7.3.tar.gz
ea21b9ac0253253b657c542e31f3c8dc3161419d7c42aa92036b98338a27b59d1cc5d7f699c8cbaf0302f63a4f730301044a8d11cdee8f9fb8027a80a12a394b freetype.patch
-06a0d71cac3a7717942a494f4d84ee948c52b8df1f1dd345629386f231ad02dee62293c39379cc9508631f1677817ae83342f8e3db2daa844bbe0d23cd45feb8 test.patch
+3b4044bb701a1127ef9766782b78a61b68d3e93fff6d1eabf33323eb8e1724fafc684a7021a1dbcc1b2e6374676d30ec984af83d8841bb0d78ef1250742fbfca test.patch
+0fcc506b509a93b58d225753806a1b330f7907c7e5fee3fe78226c8ce16cf86f98c1662d16b17833e1bd7f3e2c4c9cb80d4451fbc173e487e2629dbccd3c2828 test-x86.patch
"
diff --git a/community/py3-matplotlib/test-x86.patch b/community/py3-matplotlib/test-x86.patch
new file mode 100644
index 00000000000..e88d037c242
--- /dev/null
+++ b/community/py3-matplotlib/test-x86.patch
@@ -0,0 +1,10 @@
+--- a/lib/matplotlib/tests/test_contour.py
++++ b/lib/matplotlib/tests/test_contour.py
+@@ -314,6 +314,7 @@
+ cb = plt.colorbar(c3, ax=ax3)
+
+
++@pytest.mark.x86
+ @image_comparison(
+ ['contour_addlines.png'], remove_text=True, style='mpl20',
+ tol=0.15 if platform.machine() in ('aarch64', 'ppc64le', 's390x')
diff --git a/community/py3-matplotlib/test.patch b/community/py3-matplotlib/test.patch
index afb99c5c6d7..eb019d834d5 100644
--- a/community/py3-matplotlib/test.patch
+++ b/community/py3-matplotlib/test.patch
@@ -151,24 +151,6 @@ index f4a8057..5b3cff1 100644
@pytest.mark.parametrize("orientation", ["horizontal", "vertical"])
def test_range_slider_same_init_values(orientation):
if orientation == "vertical":
---- ./lib/matplotlib/tests/test_text.py.orig
-+++ ./lib/matplotlib/tests/test_text.py
-@@ -809,6 +809,7 @@
- (r"Matplotlib currently does not support Bengali natively.",)])
-
-
-+@pytest.mark.nonfunctional
- def test_parse_math():
- fig, ax = plt.subplots()
- ax.text(0, 0, r"$ \wrong{math} $", parse_math=False)
-@@ -819,6 +820,7 @@
- fig.canvas.draw()
-
-
-+@pytest.mark.nonfunctional
- def test_parse_math_rcparams():
- # Default is True
- fig, ax = plt.subplots()
--- ./lib/matplotlib/tests/test_image.py.orig
+++ ./lib/matplotlib/tests/test_image.py
@@ -141,6 +141,7 @@