Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / 
python-matplotlib


Commits:
a37510a5 by Jakub Klinkovský at 2026-02-21T20:44:51+01:00
Add patch to fix tests for Python 3.14.3

- - - - -
c13169eb by Jakub Klinkovský at 2026-02-21T20:48:34+01:00
upgpkg: 3.10.8-5: Replace deprecated gcc-libs dependency

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-matplotlib
        pkgdesc = A python plotting library, making publication quality plots
        pkgver = 3.10.8
-       pkgrel = 4
+       pkgrel = 5
        url = https://matplotlib.org
        arch = x86_64
        license = PSF-2.0
@@ -46,9 +46,10 @@ pkgbase = python-matplotlib
        makedepends = python-installer
        makedepends = python-setuptools-scm
        makedepends = python-wheel
-       depends = gcc-libs
        depends = glibc
        depends = freetype2
+       depends = libgcc
+       depends = libstdc++
        depends = python
        depends = python-contourpy
        depends = python-cycler
@@ -80,6 +81,7 @@ pkgbase = python-matplotlib
        source = freetype.patch
        source = test_polar_title_position.patch
        source = test_imshow_masked_interpolation.patch
+       source = 
python-matplotlib-fix-mock-usage.patch::https://github.com/matplotlib/matplotlib/commit/63207bbc8c5f791d1ca5565db39a8e2400165e7b.patch
        validpgpkeys = 23CAB59E3332F94D26BEF0378D86E7FAE5EB0C10
        validpgpkeys = EB8322187FD451192E430A7279B3FEC456F12599
        b2sums = 
e9064ab93169d4938ad8b644bf99ab11fc8012dd9a65b6e57d7451dc25631c0a11f284a00bb2186fbe8c912b78b3a9f03f78352f3a13e8a27f5c8b434bc8f910
@@ -87,5 +89,6 @@ pkgbase = python-matplotlib
        b2sums = 
c66bec7fd0c9236432e814c34216f7c3d3f7634a3d37669c92c442d077ee762ed631737697423e4ea8cc249b8dd961bdb4ffb9ab32eddfb1bfa45cbafcfd5f94
        b2sums = 
0c2dfbcda86be5d9bdf19c16fc031ae28b10e6aa89eaf3701b88d67b4158bb5dc0469a0bcb7c0050004f45b7aa07e8ed3fe68512f94a0b54b4e03c9b6e33349c
        b2sums = 
2378456c277ad20d4c2d0781e70f2db63c2f2892ec35e9f0569c8f8943fea97b5efaab740bd582b7dece55572d65b01a13364382ef1fd1aeaa9f24076ddc6e08
+       b2sums = 
ea67dec520abbd2811bb95470efe4585c2972ba420d2999dd7040b08d8b78a41bbc4d5f438cead785cc4c68f13cfb397cc12b235226e07fd0d17a0f111cea03b
 
 pkgname = python-matplotlib


=====================================
PKGBUILD
=====================================
@@ -8,7 +8,7 @@
 
 pkgname=python-matplotlib
 pkgver=3.10.8
-pkgrel=4
+pkgrel=5
 _mpl_images_ver=3.10.0
 _mpl_images_ftver=2.13.1
 pkgdesc="A python plotting library, making publication quality plots"
@@ -16,9 +16,10 @@ arch=(x86_64)
 url="https://matplotlib.org";
 license=(PSF-2.0)
 depends=(
-  gcc-libs
   glibc
   freetype2
+  libgcc
+  libstdc++
   python
   python-contourpy
   python-cycler
@@ -98,12 +99,14 @@ 
source=(git+https://github.com/matplotlib/matplotlib.git?signed#tag=v${pkgver}
         freetype.patch
         test_polar_title_position.patch
         test_imshow_masked_interpolation.patch
+        
$pkgname-fix-mock-usage.patch::https://github.com/matplotlib/matplotlib/commit/63207bbc8c5f791d1ca5565db39a8e2400165e7b.patch
 )
 
b2sums=('e9064ab93169d4938ad8b644bf99ab11fc8012dd9a65b6e57d7451dc25631c0a11f284a00bb2186fbe8c912b78b3a9f03f78352f3a13e8a27f5c8b434bc8f910'
         
'63f89667204996c6a78c297bda22526ceb25112c0ccbe14a07b92772e8f9b4bad213e8fd27a4ce25bd2fa983bbc6450b66b5315d92f444f8105f6ece5aca0601'
         
'c66bec7fd0c9236432e814c34216f7c3d3f7634a3d37669c92c442d077ee762ed631737697423e4ea8cc249b8dd961bdb4ffb9ab32eddfb1bfa45cbafcfd5f94'
         
'0c2dfbcda86be5d9bdf19c16fc031ae28b10e6aa89eaf3701b88d67b4158bb5dc0469a0bcb7c0050004f45b7aa07e8ed3fe68512f94a0b54b4e03c9b6e33349c'
-        
'2378456c277ad20d4c2d0781e70f2db63c2f2892ec35e9f0569c8f8943fea97b5efaab740bd582b7dece55572d65b01a13364382ef1fd1aeaa9f24076ddc6e08')
+        
'2378456c277ad20d4c2d0781e70f2db63c2f2892ec35e9f0569c8f8943fea97b5efaab740bd582b7dece55572d65b01a13364382ef1fd1aeaa9f24076ddc6e08'
+        
'ea67dec520abbd2811bb95470efe4585c2972ba420d2999dd7040b08d8b78a41bbc4d5f438cead785cc4c68f13cfb397cc12b235226e07fd0d17a0f111cea03b')
 validpgpkeys=(23CAB59E3332F94D26BEF0378D86E7FAE5EB0C10  # Elliott Sales de 
Andrade <[email protected]>
               EB8322187FD451192E430A7279B3FEC456F12599) # Kyle Sunden 
<[email protected]>
 
@@ -128,6 +131,9 @@ prepare() {
 
   # Workaround test failure due to image comparison (version 3.10.5)
   patch -p1 < ../test_imshow_masked_interpolation.patch
+
+  # Use correct method of clearing mock objects 
https://github.com/matplotlib/matplotlib/pull/31153
+  patch -p1 < ../$pkgname-fix-mock-usage.patch
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-matplotlib/-/compare/b6867c3aee337b78944b8120918db6e3ff611695...c13169eb3fb2f9fc0d3f006026d67cb7784616f3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-matplotlib/-/compare/b6867c3aee337b78944b8120918db6e3ff611695...c13169eb3fb2f9fc0d3f006026d67cb7784616f3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to