From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6EA5A1382C5 for ; Fri, 23 Apr 2021 16:46:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6182E0821; Fri, 23 Apr 2021 16:46:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9016CE0821 for ; Fri, 23 Apr 2021 16:46:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9EBC340D92 for ; Fri, 23 Apr 2021 16:46:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC9435D2 for ; Fri, 23 Apr 2021 16:46:54 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1619196396.395eb9c6329ad0d2790d190b0441928563b116ad.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/kissfft/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/kissfft/Manifest sci-libs/kissfft/kissfft-131.1.0.ebuild sci-libs/kissfft/kissfft-9999.ebuild sci-libs/kissfft/metadata.xml X-VCS-Directories: sci-libs/kissfft/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 395eb9c6329ad0d2790d190b0441928563b116ad X-VCS-Branch: master Date: Fri, 23 Apr 2021 16:46:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bd656013-a609-49ee-94fc-6792169a64a6 X-Archives-Hash: 201a8bf7658cac7b11b9b71cdc26aef8 commit: 395eb9c6329ad0d2790d190b0441928563b116ad Author: Aisha Tammy bsd ac> AuthorDate: Fri Apr 23 16:46:36 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Apr 23 16:46:36 2021 +0000 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-9999.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 00000000000..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 00000000000..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} == *9999 ]] ; 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-9999.ebuild b/sci-libs/kissfft/kissfft-9999.ebuild new file mode 100644 index 00000000000..ad2bc1ff31a --- /dev/null +++ b/sci-libs/kissfft/kissfft-9999.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} == *9999 ]] ; 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 00000000000..1dd34da24f4 --- /dev/null +++ b/sci-libs/kissfft/metadata.xml @@ -0,0 +1,16 @@ + + + + + gentoo@aisha.cc + Aisha Tammy + + + sci@gentoo.org + Gentoo Science Project + + + Use alloca(3) instead of malloc(3) for memory management + Build command line tools + +