commit: d3e3a8ebbf3f8353585895eee17c6f2150a82d2c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 05:01:50 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 05:01:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e3a8eb
dev-python/pywavelets: Bump to 1.8.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pywavelets/Manifest | 1 +
dev-python/pywavelets/pywavelets-1.8.0.ebuild | 49 +++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest
index c35e72f228fc..11aef190f2a7 100644
--- a/dev-python/pywavelets/Manifest
+++ b/dev-python/pywavelets/Manifest
@@ -1 +1,2 @@
DIST pywavelets-1.7.0.tar.gz 3934767 BLAKE2B
ce94c7ac63bb55496b27656afe271f5280d972b1cf27c6726cbd3db2213a3427f4b9328d80df241761d80af16d827bbc09d2c91dd5897b4352f1be16429f4f9a
SHA512
5e6838f3f992710d8c2eb1d06df4dd07c10d2b6f53fce2226d668b791aabec1f33eee1fae906eeda2cd53695cb3f6e22269b9051ae8f93605710a4e10aa3a39a
+DIST pywavelets-1.8.0.tar.gz 3935274 BLAKE2B
6d8cc9d67292088cbaca22bf57855c6c82936401a138d9020b12b4362acd696abb6321ed9647e63f01f45962bccb9e9ffef308063387a9bfd684a2d021d216ab
SHA512
ef6cce59b16473f147dc85ad07cc225670b84b7d90ed251de2084ab10a1661d5fb2a4fd7d634a11299f6924c0fb8278fc5f70154e6011bdad0247ffdf0c8c4c2
diff --git a/dev-python/pywavelets/pywavelets-1.8.0.ebuild
b/dev-python/pywavelets/pywavelets-1.8.0.ebuild
new file mode 100644
index 000000000000..3075d06baf2c
--- /dev/null
+++ b/dev-python/pywavelets/pywavelets-1.8.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=meson-python
+PYPI_PN="PyWavelets"
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Discrete Wavelet Transforms in Python"
+HOMEPAGE="
+ https://pywavelets.readthedocs.io/en/latest/
+ https://github.com/PyWavelets/pywt/
+ https://pypi.org/project/PyWavelets/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ <dev-python/numpy-3[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.22.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ >=dev-python/cython-3.0.4[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf pywt || die
+ epytest --pyargs pywt
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ if use examples; then
+ docinto examples
+ dodoc -r demo
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}