diff options
Diffstat (limited to 'dev-python/pywavelets')
-rw-r--r-- | dev-python/pywavelets/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pywavelets/pywavelets-1.7.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pywavelets/Manifest b/dev-python/pywavelets/Manifest index 3937dfd6cfac..d3c13db47141 100644 --- a/dev-python/pywavelets/Manifest +++ b/dev-python/pywavelets/Manifest @@ -1,3 +1,5 @@ DIST pywavelets-1.6.0.tar.gz 3939946 BLAKE2B 6b008079a05431d3a52b6c42239b8ef188a3d4a416c77af18da970d8a1c7fa82e4ba2cddf9003c843f05cca5eb168ff28ed0ff1c341e948e3599894ac5490838 SHA512 2b2a0b5f649ed374e1c2d46c185afbe221018e37d1461f1a34f0a9a9b0d06d8d8e9b6afc5c28a4a109df6ec783531a481b7caf3c4dea913b98800fd774b89fab +DIST pywavelets-1.7.0.tar.gz 3934767 BLAKE2B ce94c7ac63bb55496b27656afe271f5280d972b1cf27c6726cbd3db2213a3427f4b9328d80df241761d80af16d827bbc09d2c91dd5897b4352f1be16429f4f9a SHA512 5e6838f3f992710d8c2eb1d06df4dd07c10d2b6f53fce2226d668b791aabec1f33eee1fae906eeda2cd53695cb3f6e22269b9051ae8f93605710a4e10aa3a39a EBUILD pywavelets-1.6.0.ebuild 1001 BLAKE2B 91d2973f2b2cddc6a76b40a1753107defa8f98799b81f6b6bff5b27d983aa19388cc9bfdcb0bd13f1a590f1aa0386da9c71735708ce228a4a68b5499303ad990 SHA512 21c25f4388071ed57d8c5954ee1fabaf42cae62cbee4be2ea010d74c765b541f5279e4fee1e1bf75f274f1fec65928b8cacc96546a45e4a05a6d58484d838705 +EBUILD pywavelets-1.7.0.ebuild 1001 BLAKE2B 91d2973f2b2cddc6a76b40a1753107defa8f98799b81f6b6bff5b27d983aa19388cc9bfdcb0bd13f1a590f1aa0386da9c71735708ce228a4a68b5499303ad990 SHA512 21c25f4388071ed57d8c5954ee1fabaf42cae62cbee4be2ea010d74c765b541f5279e4fee1e1bf75f274f1fec65928b8cacc96546a45e4a05a6d58484d838705 MISC metadata.xml 807 BLAKE2B 9cb49f78c72fe01c3777720ea7b641a35602abcdd12541abaab7faa21bc60bbdefe60d355fcdda7dbc3021570ca152391db5b2ababe3a7de8e830e3edc74a6e8 SHA512 e8264ef6a9cc4883ef5202f4de2709579e0539ea0db151da213d887b6fb33b7807b568b378ec94782031fcbd2ed177516774e89a25ac92275bf93adac3da12d7 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 +} |