summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-13 06:30:22 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-13 06:54:51 +0200
commitc779705a34add1c94958b04b6e7c917a1a1ae334 (patch)
treea50736c866a6a966e45b5c509063b1c26d0ec0a0 /dev-python/pywavelets
parentdev-python/pytools: Bump to 2024.1.13 (diff)
downloadgentoo-c779705a34add1c94958b04b6e7c917a1a1ae334.tar.gz
gentoo-c779705a34add1c94958b04b6e7c917a1a1ae334.tar.bz2
gentoo-c779705a34add1c94958b04b6e7c917a1a1ae334.zip
dev-python/pywavelets: Bump to 1.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pywavelets')
-rw-r--r--dev-python/pywavelets/Manifest1
-rw-r--r--dev-python/pywavelets/pywavelets-1.7.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest
index 162a9502dc7c..34ac02f88f24 100644
--- a/dev-python/pywavelets/Manifest
+++ b/dev-python/pywavelets/Manifest
@@ -1 +1,2 @@
DIST pywavelets-1.6.0.tar.gz 3939946 BLAKE2B 6b008079a05431d3a52b6c42239b8ef188a3d4a416c77af18da970d8a1c7fa82e4ba2cddf9003c843f05cca5eb168ff28ed0ff1c341e948e3599894ac5490838 SHA512 2b2a0b5f649ed374e1c2d46c185afbe221018e37d1461f1a34f0a9a9b0d06d8d8e9b6afc5c28a4a109df6ec783531a481b7caf3c4dea913b98800fd774b89fab
+DIST pywavelets-1.7.0.tar.gz 3934767 BLAKE2B ce94c7ac63bb55496b27656afe271f5280d972b1cf27c6726cbd3db2213a3427f4b9328d80df241761d80af16d827bbc09d2c91dd5897b4352f1be16429f4f9a SHA512 5e6838f3f992710d8c2eb1d06df4dd07c10d2b6f53fce2226d668b791aabec1f33eee1fae906eeda2cd53695cb3f6e22269b9051ae8f93605710a4e10aa3a39a
diff --git a/dev-python/pywavelets/pywavelets-1.7.0.ebuild b/dev-python/pywavelets/pywavelets-1.7.0.ebuild
new file mode 100644
index 000000000000..3075d06baf2c
--- /dev/null
+++ b/dev-python/pywavelets/pywavelets-1.7.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
+}