python-contourpy: update to 1.3.3

This commit is contained in:
Biswapriyo Nath 2025-07-27 07:24:42 +00:00
parent cc25aaaf94
commit 6d665420de

View File

@ -3,7 +3,7 @@
_realname=contourpy
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=1.3.2
pkgver=1.3.3
pkgrel=1
pkgdesc="Python library for calculating contours of 2D quadrilateral grids (mingw-w64)"
arch=('any')
@ -26,7 +26,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz"
"0001-dont-force-msvc.patch")
sha256sums=('b6945942715a034c671b7fc54f9588126b0b8bf23db2696e3ca8328f3ff0ab54'
sha256sums=('083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880'
'db3ea827fc9a3b4d50d863929d7d443502db8b25a0f167678330bbefb7c55952')
prepare() {
@ -36,22 +36,19 @@ prepare() {
}
build() {
msg "Python build for ${MSYSTEM}"
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
msg "Python test for ${MSYSTEM}"
cd "${srcdir}/python-build-${MSYSTEM}"
cd "python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python -m pytest || warning "Tests failed"
}
package() {
msg "Python install for ${MSYSTEM}"
cd "${srcdir}/python-build-${MSYSTEM}"
cd "python-build-${MSYSTEM}"
MSYS2_ARG_CONV_EXCL="--prefix=" \
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \