diff options
Diffstat (limited to 'sci-libs/kissfft/kissfft-131.1.0.ebuild')
-rw-r--r-- | sci-libs/kissfft/kissfft-131.1.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild b/sci-libs/kissfft/kissfft-131.1.0.ebuild index 719285275283..76993eb680fd 100644 --- a/sci-libs/kissfft/kissfft-131.1.0.ebuild +++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then inherit git-r3 else SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~x86" fi LICENSE="BSD" @@ -36,6 +36,10 @@ python_check_deps() { has_version -d "dev-python/numpy[${PYTHON_USEDEP}]" } +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { use test && python-any-r1_pkg_setup [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |