summaryrefslogtreecommitdiff
path: root/dev-python/pywavelets
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pywavelets')
-rw-r--r--dev-python/pywavelets/Manifest2
-rw-r--r--dev-python/pywavelets/pywavelets-1.4.0.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest
index 57abdf6159a6..87d4908d7f45 100644
--- a/dev-python/pywavelets/Manifest
+++ b/dev-python/pywavelets/Manifest
@@ -1,3 +1,5 @@
DIST PyWavelets-1.3.0.tar.gz 4585209 BLAKE2B 0835fe2ea375eb6036862f137569f77c9723203c581695688f73704e9f21e7dd4034e535b67bcf2b6e2819d2ebc69e6336b8d1ea16702412ce637f914a830b3c SHA512 57eaf4bd5d92f40658208a14c75f58dd7a523f702e209a1383b01e2f5a6d62b15d498126151819060bd2931aea6e280fd5c2dea1e22c21953c16a60d9f184c6f
+DIST PyWavelets-1.4.0.tar.gz 4589435 BLAKE2B 7a8711e3b1312de9fc8bba9d79212f63aa8d21b5e9ba5b1330553dad2dc96b8e4d19d550eee2e162bd92ca0f9b44d7f6784083446964c058095d941fd17a9f27 SHA512 e8b0400457fd336b86a01466b6ca2b998960bbefee06febc252b4588df8d3fe7ea364938a50ba1affc6b041f281afb249449c2d860e4d8d437bef608e0818ad0
EBUILD pywavelets-1.3.0.ebuild 1002 BLAKE2B f01b34d40c8bf1212b306156aefcc0f604b78b08bf38a03e4fc9cb5bf0868eb51afc0511a5c68607aacc31b53dfed00f8b76303aaf4c46202eefaa20ba70b519 SHA512 867b620507100782b11bceb28ab57c559f016b35814d8dbf30b2deb881970b672c47eb5cf708136545fba9d2f541804e7ac92ede55bc3e8fc011c74f777bc0ae
+EBUILD pywavelets-1.4.0.ebuild 1002 BLAKE2B f01b34d40c8bf1212b306156aefcc0f604b78b08bf38a03e4fc9cb5bf0868eb51afc0511a5c68607aacc31b53dfed00f8b76303aaf4c46202eefaa20ba70b519 SHA512 867b620507100782b11bceb28ab57c559f016b35814d8dbf30b2deb881970b672c47eb5cf708136545fba9d2f541804e7ac92ede55bc3e8fc011c74f777bc0ae
MISC metadata.xml 805 BLAKE2B ed7a8e670ccab1e38e43540cf439a3488e7684d2a2951f3bc7cd2eca5d294bd2e0ed3fd01f44c674297c15aae4ce4d07536882669692dfdeb279e460f6b0e6f4 SHA512 eee1c53a3b3c9579ff6960b763825001fd9aca8da7720dbd36658a2967c3b6c4bd77892449f15677a84b983b58811c831023bc1c152bc8f84f44412d49178199
diff --git a/dev-python/pywavelets/pywavelets-1.4.0.ebuild b/dev-python/pywavelets/pywavelets-1.4.0.ebuild
new file mode 100644
index 000000000000..fe8c19594c61
--- /dev/null
+++ b/dev-python/pywavelets/pywavelets-1.4.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+MY_PN="${PN/pyw/PyW}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Discrete Wavelet Transforms in Python"
+HOMEPAGE="
+ https://pywavelets.readthedocs.io/en/latest/
+ https://github.com/PyWavelets/pywt/
+"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.17.3[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc/source \
+ dev-python/numpydoc
+
+python_test() {
+ epytest "${BUILD_DIR}/lib"
+}
+
+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
+}