community/py3-contourpy: upgrade to 1.3.1

This commit is contained in:
Wen Heping 2024-12-31 13:51:08 +00:00 committed by Celeste
parent f155b02bdd
commit d0cc6bead7
2 changed files with 17 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Contributor: Aiden Grossman <agrossma154@yahoo.com>
# Maintainer:
pkgname=py3-contourpy
pkgver=1.3.0
pkgver=1.3.1
pkgrel=0
pkgdesc="Python library for calculating contours in 2D quadrilateral grids Resources"
url="https://github.com/contourpy/contourpy"
@ -11,7 +11,9 @@ depends="py3-numpy"
makedepends="py3-gpep517 py3-meson-python py3-pybind11-dev python3-dev"
checkdepends="pytest py3-matplotlib py3-wurlitzer"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/contourpy/contourpy/archive/refs/tags/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/contourpy/contourpy/archive/refs/tags/v$pkgver.tar.gz
mesonpy-fix.patch
"
builddir="$srcdir/contourpy-$pkgver"
options="!check" # circular dependency with matplotlib
@ -33,5 +35,6 @@ package() {
}
sha512sums="
aa16e87879f3513219b1c1f4e001e99c9842248baebd2b1632b3177b141c16ed7d28efcd96bb33bddf941fa1613887691f4c293262c1fe7f82d12c0713fe852b py3-contourpy-1.3.0.tar.gz
09dbb934c65280722312ce002198bb294bb543febba28a2fd874d4b9feb3d837a802c68614703acf6131f799047254a16a4c932cd694d7d55e5a946a49cc8f3a py3-contourpy-1.3.1.tar.gz
7c97e6bda9e6805c97fd6241714cac290db4f38838111490737654a47fdaf8a21a4ebf82af6a096b8846c49e4542fad79d4dc61f236d3ab364d6f63defe1edd3 mesonpy-fix.patch
"

View File

@ -0,0 +1,11 @@
--- a/lib/contourpy/util/meson.build
+++ b/lib/contourpy/util/meson.build.new
@@ -28,7 +28,7 @@
conf_data.set('mesonpy_version',
run_command(
py3,
- ['-c', 'import importlib.metadata as im; print(im.version("meson-python"))'],
+ ['-c', 'import mesonpy; print(mesonpy.__version__)'],
check: true
).stdout().strip()
)