[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/files/
commit: c3b6ba5ade862374d38e8d8f0cf63c9d7072e919 Author: Nicolas PARLANT parhuet fr> AuthorDate: Tue Dec 9 09:40:21 2025 + Commit: Sam James gentoo org> CommitDate: Tue Dec 9 16:16:27 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b6ba5a sci-libs/kissfft: update patches update status PR for cmake-4 has been merged with 3.10 Signed-off-by: Nicolas PARLANT parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44968 Signed-off-by: Sam James gentoo.org> sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch | 3 +-- sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch | 17 ++--- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch index a3cb3e468e17..24eae3a4313e 100644 --- a/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch +++ b/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch @@ -1,5 +1,4 @@ -diff --git a/kissfft-config.cmake.in b/kissfft-config.cmake.in -index cd7139a..7d6c7a2 100644 +PR pending https://github.com/mborgerding/kissfft/pull/92.patch --- a/kissfft-config.cmake.in +++ b/kissfft-config.cmake.in @@ -66,14 +66,19 @@ foreach(_kissfft_datatype simd int16 int32 float double) diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch index 263b8f88fd36..235c4c409f54 100644 --- a/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch +++ b/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch @@ -1,18 +1,5 @@ -Taken from: https://github.com/mborgerding/kissfft/pull/101 - -From d42d353de36e843b7145b7be4aee0758040f92d1 Mon Sep 17 00:00:00 2001 -From: Christophe Marin -Date: Wed, 2 Apr 2025 11:39:34 +0200 -Subject: [PATCH] Bump minimum CMake version in kissfft-config.cmake - +Taken from: https://github.com/mborgerding/kissfft/pull/101.patch (merged) CMake 4 dropped support for CMake versions <= 3.5. -We'll use 3.6, which is the minimum version required to build kissfft. - kissfft-config.cmake.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/kissfft-config.cmake.in b/kissfft-config.cmake.in -index cd7139a..fd9553c 100644 --- a/kissfft-config.cmake.in +++ b/kissfft-config.cmake.in @@ -24,7 +24,7 @@ @@ -20,7 +7,7 @@ index cd7139a..fd9553c 100644 @PACKAGE_INIT@ -cmake_minimum_required(VERSION 3.3) -+cmake_minimum_required(VERSION 3.6) ++cmake_minimum_required(VERSION 3.10) # Set include glob of config files using SHARED/static component, BUILD_SHARED_LIBS by default set(_kissfft_shared_detected OFF)
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/files/, sci-libs/kissfft/
commit: 378e134da95b4547fec2437dffb6fb1c3d84a946
Author: Nicolas PARLANT parhuet fr>
AuthorDate: Tue Dec 9 10:01:02 2025 +
Commit: Sam James gentoo org>
CommitDate: Tue Dec 9 16:16:28 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378e134d
sci-libs/kissfft: add 131.2.0
rebased from live
close two bugs fixed by upstream
Closes: https://bugs.gentoo.org/837026
Closes: https://bugs.gentoo.org/965071
Signed-off-by: Nicolas PARLANT parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44968
Closes: https://github.com/gentoo/gentoo/pull/44968
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/Manifest | 1 +
.../kissfft/files/kissfft-131.2.0-fix_python.patch | 15
sci-libs/kissfft/kissfft-131.2.0.ebuild| 92 ++
3 files changed, 108 insertions(+)
diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest
index 12e96cdb00eb..26d7997008ec 100644
--- a/sci-libs/kissfft/Manifest
+++ b/sci-libs/kissfft/Manifest
@@ -1 +1,2 @@
DIST kissfft-131.1.0.tar.gz 52383 BLAKE2B
74e6d2e7d132a311b31c28a468e13d9772a53f0ea0abed0e0f49d8db9c183fb0646f58fd38df3e797b8577285899daf6b80446b149ce2582bb828410656d96df
SHA512
bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708
+DIST kissfft-131.2.0.tar.gz 52477 BLAKE2B
79c4f98ce09dfad13ac0b440422a6a0905a4fa9c7d7234bdab79cacf6ab3f28c034f136587fae72eccb27c7369c486dcc7a95b279d76584d6a7ea0ddc24de0d8
SHA512
5d02802a9e191e7cb77c26e9a34659a5d47c4e85bcfdf86a7cffdda66d8b79261f7fe5795ffabd78644b6094c01b32a84841669fbc0009ac9268ae1ba521af9e
diff --git a/sci-libs/kissfft/files/kissfft-131.2.0-fix_python.patch
b/sci-libs/kissfft/files/kissfft-131.2.0-fix_python.patch
new file mode 100644
index ..44f5bf8ad0fa
--- /dev/null
+++ b/sci-libs/kissfft/files/kissfft-131.2.0-fix_python.patch
@@ -0,0 +1,15 @@
+backport PR merged to fix python detection
+https://github.com/mborgerding/kissfft/pull/119.patch
+--- a/test/CMakeLists.txt
b/test/CMakeLists.txt
+@@ -53,8 +53,8 @@ if(KISSFFT_DATATYPE MATCHES "^simd$")
+ endif()
+ endif()
+
+-find_package(Python REQUIRED)
+-add_test(NAME testkiss.py COMMAND "${PYTHON_EXECUTABLE}"
"${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py")
++find_package(Python3 COMPONENTS Interpreter REQUIRED)
++add_test(NAME testkiss.py COMMAND "${Python3_INTERPRETER}"
"${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py")
+ list(APPEND TESTKISS_PY_ENV "KISSFFT_DATATYPE=${KISSFFT_DATATYPE}")
+ list(APPEND TESTKISS_PY_ENV "KISSFFT_OPENMP=${KISSFFT_OPENMP}")
+ set_tests_properties(testkiss.py PROPERTIES
diff --git a/sci-libs/kissfft/kissfft-131.2.0.ebuild
b/sci-libs/kissfft/kissfft-131.2.0.ebuild
new file mode 100644
index ..3e3fe3b61b3d
--- /dev/null
+++ b/sci-libs/kissfft/kissfft-131.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit cmake multibuild python-any-r1 toolchain-funcs
+
+DESCRIPTION="Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
+HOMEPAGE="https://github.com/mborgerding/kissfft";
+
+if [[ ${PV} == * ]] ; then
+ EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
+RESTRICT="!test? ( test )"
+
+RDEPEND="tools? ( media-libs/libpng:= )"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ sci-libs/fftw:3.0
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+PATCHES=(
+ # both merged after 131.2.0
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+ "${FILESDIR}"/${PN}-131.2.0-fix_python.patch
+ # PR pending https://github.com/mborgerding/kissfft/pull/92
+ "${FILESDIR}"/${PN}-131.1.0-cmake.patch
+)
+
+python_check_deps() {
+ python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+}
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=(
+ float
+ $(usev double)
+ $(usev int16 int16_t)
+ $(usev int32 int32_t)
+ $(usev cpu_flags_x86_sse simd)
+ )
+
+ use test && python-any-r1_pkg_setup
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+kissfft_configure() {
+ local mycmakeargs=(
+ -DKISSFFT_OPENMP=$(usex openmp 1 0)
+ -DKISSFFT_TEST=$(usex test)
+ -DKISSFFT_TOOLS=$(usex tools)
+ -DKISSFFT_USE_ALLOCA=$(usex alloca)
+ -DKISSFFT_DA
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 58c4a56c7bafa9848efc6fc6fafdb6003652b9e8
Author: Nicolas PARLANT parhuet fr>
AuthorDate: Tue Dec 9 10:49:31 2025 +
Commit: Sam James gentoo org>
CommitDate: Tue Dec 9 16:16:27 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c4a56c
sci-libs/kissfft: update live with missing libpng, enable py3.14
libpng is required for tools (/usr/bin/psdpng)
it's not required with sse/simd but float is enabled anyway
Signed-off-by: Nicolas PARLANT parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44968
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-.ebuild | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index b86bd9cfb69a..150ba41c4605 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
inherit cmake multibuild python-any-r1 toolchain-funcs
-DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
+DESCRIPTION="Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft";
if [[ ${PV} == * ]] ; then
@@ -23,7 +23,9 @@ SLOT="0"
IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
RESTRICT="!test? ( test )"
+RDEPEND="tools? ( media-libs/libpng:= )"
DEPEND="
+ ${RDEPEND}
test? (
sci-libs/fftw:3.0
$(python_gen_any_dep '
@@ -33,6 +35,7 @@ DEPEND="
"
PATCHES=(
+ # PR pending https://github.com/mborgerding/kissfft/pull/92
"${FILESDIR}"/${PN}-131.1.0-cmake.patch
)
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 54567b3ec9426488798807f094de79ff558436c2
Author: James Le Cuirot gentoo org>
AuthorDate: Fri Nov 28 22:06:38 2025 +
Commit: James Le Cuirot gentoo org>
CommitDate: Fri Nov 28 22:06:38 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54567b3e
sci-libs/kissfft: Upstream has merged the cross patch
Signed-off-by: James Le Cuirot gentoo.org>
sci-libs/kissfft/kissfft-.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index f005780f3a89..b86bd9cfb69a 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -33,7 +33,6 @@ DEPEND="
"
PATCHES=(
- "${FILESDIR}"/${PN}-131.1.0-cross.patch
"${FILESDIR}"/${PN}-131.1.0-cmake.patch
)
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 3a78994b5e1b553213b2a10d90905d896ffbc4de
Author: Andreas Sturmlechner gentoo org>
AuthorDate: Mon Jun 30 16:52:51 2025 +
Commit: Andreas Sturmlechner gentoo org>
CommitDate: Mon Jun 30 18:46:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a78994b
sci-libs/kissfft: drop 131.1.0-r1, 131.1.0-r2
Signed-off-by: Andreas Sturmlechner gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 63 --
sci-libs/kissfft/kissfft-131.1.0-r2.ebuild | 87 --
2 files changed, 150 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
deleted file mode 100644
index b4a8adf61398..
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..12} )
-
-inherit cmake python-any-r1 toolchain-funcs
-
-DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
-HOMEPAGE="https://github.com/mborgerding/kissfft";
-
-if [[ ${PV} == * ]] ; then
- EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
- inherit git-r3
-else
- SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~riscv x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- sci-libs/fftw:3.0
- $(python_gen_any_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-131.1.0-cross.patch
- "${FILESDIR}"/${PN}-131.1.0-cmake.patch
-)
-
-python_check_deps() {
- python_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
-}
-
-src_configure() {
- local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp 1 0)
- -DKISSFFT_TEST=$(usex test)
- -DKISSFFT_TOOLS=$(usex tools)
- -DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
- )
-
- cmake_src_configure
-}
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
deleted file mode 100644
index 5478a756071e..
--- a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake multibuild python-any-r1 toolchain-funcs
-
-DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
-HOMEPAGE="https://github.com/mborgerding/kissfft";
-
-if [[ ${PV} == * ]] ; then
- EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
- inherit git-r3
-else
- SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~riscv x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- sci-libs/fftw:3.0
- $(python_gen_any_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-131.1.0-cross.patch
- "${FILESDIR}"/${PN}-131.1.0-cmake.patch
-)
-
-python_check_deps() {
- python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
-}
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- MULTIBUILD_VARIANTS=(
- float
- $(usev double)
- $(usev int16 int16_t)
- $(usev int32 int32_t)
- $(usev cpu_flags_x86_sse simd)
- )
-
- use test && python-any-r1_pkg_setup
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-kissfft_configure() {
- local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp 1 0)
- -DKISSFFT_TEST=$(usex test)
- -DKISSFFT_TOOLS=$(usex tools)
- -DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT}
- )
-
- cmake_src_configure
-}
-
-src_configure() {
- multibuild_foreach_variant kissfft_configure
-}
-
-src_compile() {
- multibuild_foreach_variant cmake_src_compile
-}
-
-src_test() {
- multibuild_foreach_variant cmake_src_test
-}
-
-src_install() {
- multibuild_foreach_va
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/files/, sci-libs/kissfft/
commit: d7f81a7f79b424fedc4548f1640db3f5a7ba56f9
Author: Andreas Sturmlechner gentoo org>
AuthorDate: Mon Jun 30 17:13:21 2025 +
Commit: Andreas Sturmlechner gentoo org>
CommitDate: Mon Jun 30 18:46:03 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f81a7f
sci-libs/kissfft: Fix kissfft-config.cmake module w/ CMake-4
Only changes a cmake module used by revdeps, not dropping stable keywords.
Closes: https://bugs.gentoo.org/957670
Signed-off-by: Andreas Sturmlechner gentoo.org>
.../kissfft/files/kissfft-131.1.0-cmake4.patch | 26 +++
sci-libs/kissfft/kissfft-131.1.0-r3.ebuild | 87 ++
2 files changed, 113 insertions(+)
diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch
b/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch
new file mode 100644
index ..263b8f88fd36
--- /dev/null
+++ b/sci-libs/kissfft/files/kissfft-131.1.0-cmake4.patch
@@ -0,0 +1,26 @@
+Taken from: https://github.com/mborgerding/kissfft/pull/101
+
+From d42d353de36e843b7145b7be4aee0758040f92d1 Mon Sep 17 00:00:00 2001
+From: Christophe Marin
+Date: Wed, 2 Apr 2025 11:39:34 +0200
+Subject: [PATCH] Bump minimum CMake version in kissfft-config.cmake
+
+CMake 4 dropped support for CMake versions <= 3.5.
+We'll use 3.6, which is the minimum version required to build kissfft.
+---
+ kissfft-config.cmake.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kissfft-config.cmake.in b/kissfft-config.cmake.in
+index cd7139a..fd9553c 100644
+--- a/kissfft-config.cmake.in
b/kissfft-config.cmake.in
+@@ -24,7 +24,7 @@
+
+ @PACKAGE_INIT@
+
+-cmake_minimum_required(VERSION 3.3)
++cmake_minimum_required(VERSION 3.6)
+
+ # Set include glob of config files using SHARED/static component,
BUILD_SHARED_LIBS by default
+ set(_kissfft_shared_detected OFF)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r3.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r3.ebuild
new file mode 100644
index ..b464797e5edb
--- /dev/null
+++ b/sci-libs/kissfft/kissfft-131.1.0-r3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cmake multibuild python-any-r1 toolchain-funcs
+
+DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
+HOMEPAGE="https://github.com/mborgerding/kissfft";
+
+if [[ ${PV} == * ]] ; then
+ EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="amd64 ~arm arm64 ~riscv x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ sci-libs/fftw:3.0
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+ "${FILESDIR}"/${PN}-131.1.0-cmake{,4}.patch # bug #957670, PR pending
+)
+
+python_check_deps() {
+ python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+}
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=(
+ float
+ $(usev double)
+ $(usev int16 int16_t)
+ $(usev int32 int32_t)
+ $(usev cpu_flags_x86_sse simd)
+ )
+
+ use test && python-any-r1_pkg_setup
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+kissfft_configure() {
+ local mycmakeargs=(
+ -DKISSFFT_OPENMP=$(usex openmp 1 0)
+ -DKISSFFT_TEST=$(usex test)
+ -DKISSFFT_TOOLS=$(usex tools)
+ -DKISSFFT_USE_ALLOCA=$(usex alloca)
+ -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT}
+ )
+
+ cmake_src_configure
+}
+
+src_configure() {
+ multibuild_foreach_variant kissfft_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_test() {
+ multibuild_foreach_variant cmake_src_test
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: c4e937b765f704b37fe8130fa38ad6f8f9b57119
Author: Alfred Wingate protonmail com>
AuthorDate: Wed Apr 30 01:46:10 2025 +
Commit: Sam James gentoo org>
CommitDate: Wed Apr 30 14:24:46 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e937b7
sci-libs/kissfft: enable py3.13
Closes: https://bugs.gentoo.org/952673
Signed-off-by: Alfred Wingate protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41854
Closes: https://github.com/gentoo/gentoo/pull/41854
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r2.ebuild | 2 +-
sci-libs/kissfft/kissfft-.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index 77e5c509ab50..5478a756071e 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake multibuild python-any-r1 toolchain-funcs
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index 793fba1399dd..f005780f3a89 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake multibuild python-any-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: b581e761dbff1e46ede4822021c07ef22c02b0df
Author: Alfred Wingate protonmail com>
AuthorDate: Wed Apr 30 01:45:08 2025 +
Commit: Sam James gentoo org>
CommitDate: Wed Apr 30 14:24:45 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b581e761
sci-libs/kissfft: fix tests
Fixes: dfb63cf60c75563bf69670cd168a16d2d4d8324c
Signed-off-by: Alfred Wingate protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41854
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r2.ebuild | 6 +-
sci-libs/kissfft/kissfft-.ebuild | 6 +-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index 200fee708116..77e5c509ab50 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -78,6 +78,10 @@ src_compile() {
multibuild_foreach_variant cmake_src_compile
}
+src_test() {
+ multibuild_foreach_variant cmake_src_test
+}
+
src_install() {
multibuild_foreach_variant cmake_src_install
}
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index 8d8b1bb59f38..793fba1399dd 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -78,6 +78,10 @@ src_compile() {
multibuild_foreach_variant cmake_src_compile
}
+src_test() {
+ multibuild_foreach_variant cmake_src_test
+}
+
src_install() {
multibuild_foreach_variant cmake_src_install
}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 5d2d9be69956b91404a6be4f9de4488d4a0b39dd
Author: Sam James gentoo org>
AuthorDate: Thu Dec 5 17:47:23 2024 +
Commit: Sam James gentoo org>
CommitDate: Thu Dec 5 17:47:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2d9be6
sci-libs/kissfft: Stabilize 131.1.0-r2 amd64, #945562
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index daed35703e8f..200fee708116 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm arm64 ~riscv x86"
+ KEYWORDS="amd64 ~arm arm64 ~riscv x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 3ce3a3cbbd3f5bae0126e83b4ce6395dcc1974da
Author: Jakov Smolić gentoo org>
AuthorDate: Sun Dec 1 22:35:52 2024 +
Commit: Jakov Smolić gentoo org>
CommitDate: Sun Dec 1 22:35:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce3a3cb
sci-libs/kissfft: Stabilize 131.1.0-r2 x86, #945562
Signed-off-by: Jakov Smolić gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index 39f0f161e1ec..daed35703e8f 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~riscv x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: dfb63cf60c75563bf69670cd168a16d2d4d8324c
Author: Violet Purcell inventati org>
AuthorDate: Sat Oct 19 16:06:31 2024 +
Commit: Andrew Ammerlaan gentoo org>
CommitDate: Sun Oct 20 11:57:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb63cf6
sci-libs/kissfft: allow parallel installation of multiple datatypes
KissFFT can be built for five different primary datatypes: float,
double, int16_t, int32_t, and SIMD. Currently, we build the float
datatype by default and instead use SIMD if cpu_flags_x86_sse is
enabled. This can lead to awkwardness in programs that expect KissFFT to
be built with a specific data type, such as media-sound/TauonMusicBox in
GURU, which currently is forced to depend on
sci-libs/kissfft[-cpu_flags_x86_sse], which forces a rather irritating
package.use entry for anyone on an amd64 CPU who has set
CPU_FLAGS_X86 accordingly. Instead, always build the float datatype, and
additionally build the SIMD datatype based on cpu_flags_x86_sse. Also
add USE flags to enable the building of the double, int16_t, and int32_t
variants, which may enable more unbundling of KissFFT from other
packages.
Signed-off-by: Violet Purcell inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/39045
Signed-off-by: Andrew Ammerlaan gentoo.org>
...ssfft-.ebuild => kissfft-131.1.0-r2.ebuild} | 28 ++
sci-libs/kissfft/kissfft-.ebuild | 28 ++
sci-libs/kissfft/metadata.xml | 3 +++
3 files changed, 51 insertions(+), 8 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
similarity index 71%
copy from sci-libs/kissfft/kissfft-.ebuild
copy to sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index 14e039c7eec1..8d8b1bb59f38 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake python-any-r1 toolchain-funcs
+inherit cmake multibuild python-any-r1 toolchain-funcs
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft";
@@ -20,7 +20,7 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
+IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
RESTRICT="!test? ( test )"
DEPEND="
@@ -46,18 +46,38 @@ pkg_pretend() {
}
pkg_setup() {
+ MULTIBUILD_VARIANTS=(
+ float
+ $(usev double)
+ $(usev int16 int16_t)
+ $(usev int32 int32_t)
+ $(usev cpu_flags_x86_sse simd)
+ )
+
use test && python-any-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_configure() {
+kissfft_configure() {
local mycmakeargs=(
-DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ -DKISSFFT_DATATYPE=${MULTIBUILD_VARIANT}
)
cmake_src_configure
}
+
+src_configure() {
+ multibuild_foreach_variant kissfft_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+}
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index 14e039c7eec1..8d8b1bb59f38 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake python-any-r1 toolchain-funcs
+inherit cmake multibuild python-any-r1 toolchain-funcs
DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
HOMEPAGE="https://github.com/mborgerding/kissfft";
@@ -20,7 +20,7 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
+IUSE="alloca cpu_flags_x86_sse double int16 int32 openmp test tools"
RESTRICT="!test? ( test )"
DEPEND="
@@ -46,18 +46,38 @@ pkg_pretend() {
}
pkg_setup() {
+ MULTIBUILD_VARIANTS=(
+ float
+ $(usev double)
+ $(usev int16 int16_t)
+ $(usev int32 int32_t)
+ $(usev cpu_flags_x86_sse simd)
+ )
+
use test && python-any-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
-src_configure() {
+kissfft_configure() {
local mycmakeargs=(
-DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ -
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: cfaf5bc8606de38042eefb54ab8ad8d98db474cb
Author: Andreas Sturmlechner gentoo org>
AuthorDate: Thu Aug 29 19:47:18 2024 +
Commit: Andreas Sturmlechner gentoo org>
CommitDate: Fri Aug 30 13:11:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfaf5bc8
sci-libs/kissfft: drop 131.1.0
Bug: https://bugs.gentoo.org/938697
Signed-off-by: Andreas Sturmlechner gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 62 -
1 file changed, 62 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
deleted file mode 100644
index 9fb779d33ddd..
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit cmake python-any-r1 toolchain-funcs
-
-DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
-HOMEPAGE="https://github.com/mborgerding/kissfft";
-
-if [[ ${PV} == * ]] ; then
- EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
- inherit git-r3
-else
- SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="alloca cpu_flags_x86_sse openmp test tools"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- test? (
- sci-libs/fftw:3.0
- $(python_gen_any_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-131.1.0-cross.patch
-)
-
-python_check_deps() {
- python_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
-}
-
-src_configure() {
- local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp 1 0)
- -DKISSFFT_TEST=$(usex test)
- -DKISSFFT_TOOLS=$(usex tools)
- -DKISSFFT_USE_ALLOCA=$(usex alloca)
- -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
- )
-
- cmake_src_configure
-}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 438a45b7ab3affb9aa93ddbe6b85661b51ed4e32
Author: Sam James gentoo org>
AuthorDate: Fri Aug 30 02:30:14 2024 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 30 02:30:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438a45b7
sci-libs/kissfft: Stabilize 131.1.0-r1 amd64, #938697
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index ddf795e20e8c..fea82f5057b3 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: a933ed6261bc2852e543e97fbdbaacd875c87d0f
Author: Sam James gentoo org>
AuthorDate: Fri Aug 30 02:30:15 2024 +
Commit: Sam James gentoo org>
CommitDate: Fri Aug 30 02:30:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a933ed62
sci-libs/kissfft: Stabilize 131.1.0-r1 x86, #938697
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index fea82f5057b3..b4a8adf61398 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
+ KEYWORDS="amd64 ~arm arm64 ~riscv x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: a72c4ac6944d4c12d8bd81240644679a5f63f0d0
Author: Sam James gentoo org>
AuthorDate: Thu Aug 29 19:40:19 2024 +
Commit: Sam James gentoo org>
CommitDate: Thu Aug 29 19:40:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72c4ac6
sci-libs/kissfft: Stabilize 131.1.0-r1 arm64, #938697
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index 14e039c7eec1..ddf795e20e8c 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+ KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/, sci-libs/kissfft/files/
commit: 38ef80f7c87a6c640df9c801289dd28de96a0321
Author: David Roman gmail com>
AuthorDate: Thu Feb 1 10:40:22 2024 +
Commit: Yixun Lan gentoo org>
CommitDate: Thu Feb 22 12:10:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ef80f7
sci-libs/kissfft: add cmake patch
Also:
- update EAPI 7 -> 8
- add python12 support
Signed-off-by: David Roman gmail.com>
Signed-off-by: Yixun Lan gentoo.org>
sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch | 26 ++
...ssfft-.ebuild => kissfft-131.1.0-r1.ebuild} | 9
sci-libs/kissfft/kissfft-.ebuild | 9
3 files changed, 36 insertions(+), 8 deletions(-)
diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch
b/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch
new file mode 100644
index ..a3cb3e468e17
--- /dev/null
+++ b/sci-libs/kissfft/files/kissfft-131.1.0-cmake.patch
@@ -0,0 +1,26 @@
+diff --git a/kissfft-config.cmake.in b/kissfft-config.cmake.in
+index cd7139a..7d6c7a2 100644
+--- a/kissfft-config.cmake.in
b/kissfft-config.cmake.in
+@@ -66,14 +66,19 @@ foreach(_kissfft_datatype simd int16 int32 float double)
+ endforeach()
+
+ if(_kissfft_datatype_detected)
+-if(NOT TARGET kissfft::kissfft-${_kissfft_datatype_detected})
+-message(FATAL_ERROR "kissfft with
datatype=${_kissfft_datatype_detected} is not installed")
++if(TARGET kissfft::kissfft-${_kissfft_datatype_detected}-openmp)
++ set(_kissfft_openmp_detected "-openmp")
+ endif()
++
++if(NOT TARGET
kissfft::kissfft-${_kissfft_datatype_detected}${_kissfft_openmp_detected})
++message(FATAL_ERROR "kissfft with
datatype=${_kissfft_datatype_detected}${_kissfft_openmp_detected} is not
installed")
++endif()
++
+ if(TARGET kissfft::kissfft)
+ message(SEND_ERROR "kissfft::kissfft already exists. You cannot use 2
find_package's with datatype that are visible to eachother.")
+ else()
+ add_library(kissfft::kissfft INTERFACE IMPORTED)
+-set_property(TARGET kissfft::kissfft PROPERTY
INTERFACE_LINK_LIBRARIES kissfft::kissfft-${_kissfft_datatype_detected})
++set_property(TARGET kissfft::kissfft PROPERTY
INTERFACE_LINK_LIBRARIES
kissfft::kissfft-${_kissfft_datatype_detected}${_kissfft_openmp_detected})
+ endif()
+ endif()
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
similarity index 88%
copy from sci-libs/kissfft/kissfft-.ebuild
copy to sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
index 238fe43ab8ee..14e039c7eec1 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit cmake python-any-r1 toolchain-funcs
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; 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 ~riscv ~x86"
fi
LICENSE="BSD"
@@ -34,6 +34,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-131.1.0-cross.patch
+ "${FILESDIR}"/${PN}-131.1.0-cmake.patch
)
python_check_deps() {
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index 238fe43ab8ee..14e039c7eec1 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit cmake python-any-r1 toolchain-funcs
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; 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 ~riscv ~x86"
fi
LICENSE="BSD"
@@ -34,6 +34,7 @@ DEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-131.1.0-cross.patch
+ "${FILESDIR}"/${PN}-131.1.0-cmake.patch
)
python_check_deps() {
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 65862dd39aea472318251fa34b83ac67a006ddf9 Author: David Roman gmail com> AuthorDate: Thu Feb 1 10:43:20 2024 + Commit: Yixun Lan gentoo org> CommitDate: Thu Feb 22 12:11:21 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65862dd3 sci-libs/kissfft: add github upstream metadata Closes: https://github.com/gentoo/gentoo/pull/35132 Signed-off-by: David Roman gmail.com> Signed-off-by: Yixun Lan gentoo.org> sci-libs/kissfft/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml index 06198343b639..9cc777a3ea9c 100644 --- a/sci-libs/kissfft/metadata.xml +++ b/sci-libs/kissfft/metadata.xml @@ -9,4 +9,7 @@ Use alloca(3) instead of malloc(3) for memory management Build command line tools + + mborgerding/kissfft +
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 1b97a23a2cd56c9855a76dd19fbca5b1808db774
Author: Jakov Smolić gentoo org>
AuthorDate: Tue Jan 23 22:59:19 2024 +
Commit: Jakov Smolić gentoo org>
CommitDate: Tue Jan 23 22:59:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b97a23a
sci-libs/kissfft: Keyword 131.1.0 riscv, #922617
Signed-off-by: Jakov Smolić gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index a06cd743a6c7..453b134283b6 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-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; 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 ~riscv ~x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/files/
commit: e37b1ab4b48975628e7eab7791fd9e18417d3e77 Author: James Le Cuirot gentoo org> AuthorDate: Mon Dec 25 23:28:01 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Dec 25 23:28:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e37b1ab4 sci-libs/kissfft: Forgot to commit the patch No one noticed, right? ;) Signed-off-by: James Le Cuirot gentoo.org> sci-libs/kissfft/files/kissfft-131.1.0-cross.patch | 30 ++ 1 file changed, 30 insertions(+) diff --git a/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch b/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch new file mode 100644 index ..137a5a939872 --- /dev/null +++ b/sci-libs/kissfft/files/kissfft-131.1.0-cross.patch @@ -0,0 +1,30 @@ +From 8b308c28e5c3684ac002289b0eebc64500bbed1c Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sun, 24 Dec 2023 16:37:38 + +Subject: [PATCH] GNUInstallDirs is not supposed to be used conditionally + +Always include it to fix cross-compiling. This should not break Windows. + +Closes: https://github.com/mborgerding/kissfft/issues/65 +--- + CMakeLists.txt | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0213798..c4d7d3e 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -105,9 +105,7 @@ endif() + # Add GNUInstallDirs for GNU infrastructure before target)include_directories + # + +-if(CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU)$" AND NOT CMAKE_CROSSCOMPILING) +-include(GNUInstallDirs) +-endif() ++include(GNUInstallDirs) + + # + # Declare PKGINCLUDEDIR for kissfft include path +-- +2.43.0 +
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: a864e26922f45315b1d723fed369142711d8e62c
Author: James Le Cuirot gentoo org>
AuthorDate: Sun Dec 24 16:42:35 2023 +
Commit: James Le Cuirot gentoo org>
CommitDate: Sun Dec 24 16:42:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a864e269
sci-libs/kissfft: Fix cross-compiling with patch
Submitted upstream but sadly upstream looks a bit dead.
Signed-off-by: James Le Cuirot gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 4
sci-libs/kissfft/kissfft-.ebuild| 4
2 files changed, 8 insertions(+)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 8cd5a54a6850..a06cd743a6c7 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -32,6 +32,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+)
+
python_check_deps() {
python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index 9bd7014dd1fb..238fe43ab8ee 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -32,6 +32,10 @@ DEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-131.1.0-cross.patch
+)
+
python_check_deps() {
python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 0be531f69a84588ff8712fb80bee2654a6061654
Author: Andrew Ammerlaan gentoo org>
AuthorDate: Wed Oct 5 14:30:00 2022 +
Commit: Andrew Ammerlaan gentoo org>
CommitDate: Wed Oct 5 14:31:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0be531f6
sci-libs/kissfft: enable py3.10, py3.11 and disable py3.7
Closes: https://bugs.gentoo.org/846266
Signed-off-by: Andrew Ammerlaan gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 4 ++--
sci-libs/kissfft/kissfft-.ebuild| 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 76993eb680fd..900a50486450 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit cmake python-any-r1 toolchain-funcs
@@ -33,7 +33,7 @@ DEPEND="
"
python_check_deps() {
- has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+ python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
pkg_pretend() {
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index bc06fee4c8e0..814cce24e11a 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit cmake python-any-r1 toolchain-funcs
@@ -33,7 +33,7 @@ DEPEND="
"
python_check_deps() {
- has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+ python_has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
}
pkg_pretend() {
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 3d8b98664e9f771d493c7ac52f63dc27b7a57a53
Author: Joonas Niilola gentoo org>
AuthorDate: Thu May 19 12:10:52 2022 +
Commit: Joonas Niilola gentoo org>
CommitDate: Thu May 19 12:10:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8b9866
sci-libs/kissfft: Stabilize 131.1.0 amd64, #829841
Signed-off-by: Joonas Niilola gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index bc06fee4c8e0..76993eb680fd 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; 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"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 4fd9cba02c85e6a99cadae42dcef198ac14dcc84
Author: David Seifert gentoo org>
AuthorDate: Mon May 16 08:12:19 2022 +
Commit: David Seifert gentoo org>
CommitDate: Mon May 16 08:12:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd9cba0
sci-libs/kissfft: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 6 +-
sci-libs/kissfft/kissfft-.ebuild| 6 +-
2 files changed, 10 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..bc06fee4c8e0 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
@@ -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
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index 719285275283..bc06fee4c8e0 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.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
@@ -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
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: ba2eb87c865d17a690ed0db9dacdb957a5b3f2c4
Author: Aisha Tammy bsd ac>
AuthorDate: Mon May 17 22:23:19 2021 +
Commit: Sam James gentoo org>
CommitDate: Mon May 17 22:25:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba2eb87c
sci-libs/kissfft: fix tests
Closes: https://bugs.gentoo.org/790302
Signed-off-by: Aisha Tammy aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/20857
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
sci-libs/kissfft/kissfft-.ebuild| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index d85c68aee2c..71928527528 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -43,7 +43,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
index ad2bc1ff31a..71928527528 100644
--- a/sci-libs/kissfft/kissfft-.ebuild
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="BSD"
@@ -43,7 +43,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
- -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_OPENMP=$(usex openmp 1 0)
-DKISSFFT_TEST=$(usex test)
-DKISSFFT_TOOLS=$(usex tools)
-DKISSFFT_USE_ALLOCA=$(usex alloca)
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 352cc4248b47db1d7b72d2e653612b71566940c0
Author: Sam James gentoo org>
AuthorDate: Sat May 15 19:32:54 2021 +
Commit: Sam James gentoo org>
CommitDate: Sat May 15 19:32:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352cc424
sci-libs/kissfft: Keyword 131.1.0 arm, #787380
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index ad2bc1ff31a..6a30a96033a 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~arm ~x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 1c0ffc309f55b5d8076c6df85712d59f05535963
Author: Sam James gentoo org>
AuthorDate: Sat May 15 19:33:04 2021 +
Commit: Sam James gentoo org>
CommitDate: Sat May 15 19:33:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c0ffc30
sci-libs/kissfft: Keyword 131.1.0 arm64, #787380
Signed-off-by: Sam James gentoo.org>
sci-libs/kissfft/kissfft-131.1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
index 6a30a96033a..d85c68aee2c 100644
--- a/sci-libs/kissfft/kissfft-131.1.0.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == * ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/
commit: 395eb9c6329ad0d2790d190b0441928563b116ad
Author: Aisha Tammy bsd ac>
AuthorDate: Fri Apr 23 16:46:36 2021 +
Commit: David Seifert gentoo org>
CommitDate: Fri Apr 23 16:46:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395eb9c6
sci-libs/kissfft: new fft library
* new dependency of vtk
Closes: https://github.com/gentoo/gentoo/pull/20513
Closes: https://bugs.gentoo.org/754690
Bug: https://bugs.gentoo.org/754684
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy aisha.cc>
Signed-off-by: David Seifert gentoo.org>
sci-libs/kissfft/Manifest | 1 +
sci-libs/kissfft/kissfft-131.1.0.ebuild | 54 +
sci-libs/kissfft/kissfft-.ebuild| 54 +
sci-libs/kissfft/metadata.xml | 16 ++
4 files changed, 125 insertions(+)
diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest
new file mode 100644
index 000..12e96cdb00e
--- /dev/null
+++ b/sci-libs/kissfft/Manifest
@@ -0,0 +1 @@
+DIST kissfft-131.1.0.tar.gz 52383 BLAKE2B
74e6d2e7d132a311b31c28a468e13d9772a53f0ea0abed0e0f49d8db9c183fb0646f58fd38df3e797b8577285899daf6b80446b149ce2582bb828410656d96df
SHA512
bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708
diff --git a/sci-libs/kissfft/kissfft-131.1.0.ebuild
b/sci-libs/kissfft/kissfft-131.1.0.ebuild
new file mode 100644
index 000..ad2bc1ff31a
--- /dev/null
+++ b/sci-libs/kissfft/kissfft-131.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake python-any-r1 toolchain-funcs
+
+DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
+HOMEPAGE="https://github.com/mborgerding/kissfft";
+
+if [[ ${PV} == * ]] ; then
+ EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="alloca cpu_flags_x86_sse openmp test tools"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ sci-libs/fftw:3.0
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+python_check_deps() {
+ has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_TEST=$(usex test)
+ -DKISSFFT_TOOLS=$(usex tools)
+ -DKISSFFT_USE_ALLOCA=$(usex alloca)
+ -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-libs/kissfft/kissfft-.ebuild
b/sci-libs/kissfft/kissfft-.ebuild
new file mode 100644
index 000..ad2bc1ff31a
--- /dev/null
+++ b/sci-libs/kissfft/kissfft-.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake python-any-r1 toolchain-funcs
+
+DESCRIPTION="A Fast Fourier Transform (FFT) library that tries to Keep it
Simple, Stupid"
+HOMEPAGE="https://github.com/mborgerding/kissfft";
+
+if [[ ${PV} == * ]] ; then
+ EGIT_REPO_URI="https://github.com/mborgerding/kissfft";
+ inherit git-r3
+else
+ SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz ->
${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="alloca cpu_flags_x86_sse openmp test tools"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ test? (
+ sci-libs/fftw:3.0
+ $(python_gen_any_dep '
+ dev-python/numpy[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+python_check_deps() {
+ has_version -d "dev-python/numpy[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKISSFFT_OPENMP=$(usex openmp)
+ -DKISSFFT_TEST=$(usex test)
+ -DKISSFFT_TOOLS=$(usex tools)
+ -DKISSFFT_USE_ALLOCA=$(usex alloca)
+ -DKISSFFT_DATATYPE=$(usex cpu_flags_x86_sse simd float)
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-libs/kissfft/metadata.xml b/sci-libs/kissfft/metadata.xml
new file mode 100644
index 000..1dd34da24f4
--- /dev/null
+++ b/sci-libs/kissfft/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.
