python3-pywt: update to 1.5.0.

This commit is contained in:
Andrew J. Hesford 2023-11-20 08:20:19 -05:00
parent ec1fff7e74
commit e1622d1da8
2 changed files with 18 additions and 10 deletions

View File

@ -0,0 +1,11 @@
--- ./pyproject.toml.orig 2023-11-20 08:16:21.192898967 -0500
+++ ./pyproject.toml 2023-11-20 08:16:32.003923501 -0500
@@ -18,7 +18,7 @@
# default numpy requirements
"numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'",
"numpy==1.23.3; python_version=='3.11' and platform_python_implementation != 'PyPy'",
- "numpy==1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
+ "numpy>=1.26.0; python_version=='3.12' and platform_python_implementation != 'PyPy'",
# For Python versions which aren't yet officially supported, we specify an
# unpinned NumPy which allows source distributions to be used and allows
# wheels to be used as soon as they become available.

View File

@ -1,10 +1,11 @@
# Template file for 'python3-pywt'
pkgname=python3-pywt
version=1.4.1
revision=3
build_style=python3-module
build_helper="numpy"
hostmakedepends="python3-setuptools python3-Cython"
version=1.5.0
revision=1
build_style=python3-pep517
build_helper="meson numpy"
make_check_target="pywt/tests"
hostmakedepends="python3-meson-python python3-Cython"
makedepends="python3-devel"
depends="python3-numpy"
checkdepends="python3-pytest $depends"
@ -13,11 +14,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://github.com/PyWavelets/pywt"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=b1d0edca28998d35ec1bbc31f009b334a98b475f67b1c84f7521eb689a8607f8
do_check() {
(cd build/lib* && python3 -m pytest pywt/tests)
}
checksum=5aedfa9bd629f104a04fda88b92582bda38ab22282ce5048b5760b5d18e83fc9
post_install() {
vlicense LICENSE