diff options
Diffstat (limited to 'dev-python/pyFFTW')
-rw-r--r-- | dev-python/pyFFTW/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyFFTW/pyFFTW-0.13.0.ebuild | 42 | ||||
-rw-r--r-- | dev-python/pyFFTW/pyFFTW-9999.ebuild | 16 |
3 files changed, 53 insertions, 9 deletions
diff --git a/dev-python/pyFFTW/Manifest b/dev-python/pyFFTW/Manifest index d0f0adb1c9c2..f7af749ccb94 100644 --- a/dev-python/pyFFTW/Manifest +++ b/dev-python/pyFFTW/Manifest @@ -1,4 +1,6 @@ DIST pyFFTW-0.12.0.tar.gz 147372 BLAKE2B 1ea1f1f8de6759c42781a535b30d7119c0cb02dffea3abfe4130a97c465e000aa9b3064a219718569552304513a77ac51aa309f1be29f9eecae25c63cce70c6c SHA512 e4d7258d5c053b5367d8c4f1892eba8e595f9d540c1c3e6caf61e0c113d598ba872b5e72a21edace66be70d9ad75c599e4b1fbc692e0015c3c1ae35e9a7ba599 +DIST pyFFTW-0.13.0.tar.gz 158660 BLAKE2B c54096f0814625d49832094a6d823c6d258801a0831b07846993da97a713238a5df5b59beddc38b7e940685403178b2f3100f5713334fc9861757420bc87303a SHA512 1d4c69cc19dd00f2433037f25ea90335544403b542c0c5ca00cb055e0fde076ec9e00990f02da2385466be171ed8c910a5ce06a7cfa5efbc6544b2383bbce599 EBUILD pyFFTW-0.12.0-r1.ebuild 898 BLAKE2B 036d3ce450d070ba141eef9a14b6a370fd3d4a49f12fda27b53e08ff5f492a22071f8ed5555ba4e50b02138da7c40e3f58cfc37392896391d8fbff6e9c787722 SHA512 c9a5a7296d07d6b9fbebdafc868ec4ae987d671dda45d568d7564d66829e6f3de7b234d045e938a268a850ed31761a041171f2077ed9d40715ad5c645cf2c584 -EBUILD pyFFTW-9999.ebuild 898 BLAKE2B 036d3ce450d070ba141eef9a14b6a370fd3d4a49f12fda27b53e08ff5f492a22071f8ed5555ba4e50b02138da7c40e3f58cfc37392896391d8fbff6e9c787722 SHA512 c9a5a7296d07d6b9fbebdafc868ec4ae987d671dda45d568d7564d66829e6f3de7b234d045e938a268a850ed31761a041171f2077ed9d40715ad5c645cf2c584 +EBUILD pyFFTW-0.13.0.ebuild 932 BLAKE2B eb8d1dc786c8ddec960824a495b7495a1fbd3c14d495546156eed8de0105f055e231cb231aea105b403bbfc0c42343855e8b57bf83747d2e458d6dc5500bf16f SHA512 dcdea264e5c14a2da73c4dcccd444970b0ca9249bad11f9071ad89eef4c49285de8402232eb71e218e0644d3e0ee7051d9db5510fcd0d567761f94b27c45516e +EBUILD pyFFTW-9999.ebuild 932 BLAKE2B eb8d1dc786c8ddec960824a495b7495a1fbd3c14d495546156eed8de0105f055e231cb231aea105b403bbfc0c42343855e8b57bf83747d2e458d6dc5500bf16f SHA512 dcdea264e5c14a2da73c4dcccd444970b0ca9249bad11f9071ad89eef4c49285de8402232eb71e218e0644d3e0ee7051d9db5510fcd0d567761f94b27c45516e MISC metadata.xml 469 BLAKE2B f5f6504ccb53aaf8fb993ea0fd780430f54d8500762ababa8992b22a3b20c3511a8b4d581e4ec7c90ad6593c355ddcca36f2b66d5f1aada806514fab272207c7 SHA512 b2dcfff7de1c959732800e56377e74a23fff5d1d7b6a818d720845be576a9640865a329d99599fbc95fb1b853550760769ce7df0ebac33082b7468419c93a80c diff --git a/dev-python/pyFFTW/pyFFTW-0.13.0.ebuild b/dev-python/pyFFTW/pyFFTW-0.13.0.ebuild new file mode 100644 index 000000000000..db7b32f540a5 --- /dev/null +++ b/dev-python/pyFFTW/pyFFTW-0.13.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="A pythonic python wrapper around FFTW" +HOMEPAGE="https://github.com/pyFFTW/pyFFTW" + +LICENSE="BSD" +SLOT="0" +if [[ "${PV}" = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pyFFTW/pyFFTW.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://github.com/pyFFTW/pyFFTW/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +DEPEND=" + >=dev-python/numpy-1.16[${PYTHON_USEDEP}] + >=sci-libs/fftw-3.3:3.0=[threads] +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] + test? ( + >=dev-python/dask-1.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.2.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + cp -r -l -n tests/ "${BUILD_DIR}/lib" || die + cd "${BUILD_DIR}/lib" || die + eunittest + rm -r tests/ || die +} diff --git a/dev-python/pyFFTW/pyFFTW-9999.ebuild b/dev-python/pyFFTW/pyFFTW-9999.ebuild index 8ec87a34fe67..db7b32f540a5 100644 --- a/dev-python/pyFFTW/pyFFTW-9999.ebuild +++ b/dev-python/pyFFTW/pyFFTW-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="A pythonic python wrapper around FFTW" @@ -20,23 +20,23 @@ else fi DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/numpy-1.16[${PYTHON_USEDEP}] >=sci-libs/fftw-3.3:3.0=[threads] " RDEPEND="${DEPEND}" BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/cython-0.29.18[${PYTHON_USEDEP}] test? ( - dev-python/dask[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] + >=dev-python/dask-1.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.2.0[${PYTHON_USEDEP}] ) " distutils_enable_tests unittest python_test() { - cp -r -l -n test/ "${BUILD_DIR}/lib" || die + cp -r -l -n tests/ "${BUILD_DIR}/lib" || die cd "${BUILD_DIR}/lib" || die eunittest - rm -r test/ || die + rm -r tests/ || die } |