From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- sci-libs/nfft/Manifest | 4 ++-- sci-libs/nfft/nfft-3.3.2.ebuild | 49 -------------------------------------- sci-libs/nfft/nfft-3.5.2.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 51 deletions(-) delete mode 100644 sci-libs/nfft/nfft-3.3.2.ebuild create mode 100644 sci-libs/nfft/nfft-3.5.2.ebuild (limited to 'sci-libs/nfft') diff --git a/sci-libs/nfft/Manifest b/sci-libs/nfft/Manifest index 9b7d770b2ce6..647cf896842e 100644 --- a/sci-libs/nfft/Manifest +++ b/sci-libs/nfft/Manifest @@ -1,3 +1,3 @@ -DIST nfft-3.3.2.tar.gz 2821259 BLAKE2B b0029ecb0027a18de84f1a4db058101a26038547642c524125dec66bc6dc1da19873314ff6e4f483c401d39ee7c999cb9225de456be0928d55bca9fb1c1f6e69 SHA512 66bcd2439c9ba27063aa1db01c526a580c5c67938e2db332068ce20035ede1d8766e8f134a0e5dac5263aca14121573ca4f5a906b452c43f218636f5f6161c02 -EBUILD nfft-3.3.2.ebuild 1210 BLAKE2B 5324accc33d7acefc5f3e58e3f2ad5f3056c757ef456033110c07448b1c3804d31bc4ba0a2d78f4757f18af7afb4a1bb5fc70f215d3330f52521f0fc3b2c9c3f SHA512 18575547e097de5dac7c90c3b7e0094567094705e82f5ca34d5745636cd1100b6178d0f2e6b607ed62fdc2efdf45eb7af431a46dddccb7b57c2db592af2b5b98 +DIST nfft-3.5.2.tar.gz 5377870 BLAKE2B 5a9b79fd2db781f163f3e694e25096f9abfac67ae9e2f0614444e99160ac6ce150356b72130ba44f82c541120f8876723a06e989a5c125e1da1b85976b7ff500 SHA512 e5437b358f22807de2251527025accf326d77322e029cfc3df6ee733ccca4d020cbd3c045773735de0641618c71e5cc9b8f4df53becea3b7a7e27750f21fa64e +EBUILD nfft-3.5.2.ebuild 1156 BLAKE2B 05598b4f826a66a98ad47833f50068b2f1d77b9203db8dc1abe44e4e0f0a08b1d39085916a0101bcd072a61376231802367f09259b76812ddca1a9cbd8bb7d89 SHA512 93b8eddfd7c41e50f2c4c1b373b486ea886dd8820ceb733f38230bfb9a0cc8388209cb1eeeac86dfb083ab4dcd5f80ec0c972b1528a491c6918e4312a7531891 MISC metadata.xml 441 BLAKE2B c392cc2a2c0066e66c7d798829e10361811aa2ad350c4fe8fa61c5ee5bce261775e19141e4a4cdd9ef5411d88ce240d5f61b86a1c8c6690b68e020d8d34618a3 SHA512 72f45a8c112412d0a1db5265b29d4688263465d0039f3f178d7a44dbfb4c87336339c4517b5a948ba631248a27e0e727e92cb1617dbdfedf39910c0df44c6caa diff --git a/sci-libs/nfft/nfft-3.3.2.ebuild b/sci-libs/nfft/nfft-3.3.2.ebuild deleted file mode 100644 index 37901af7444f..000000000000 --- a/sci-libs/nfft/nfft-3.3.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="library for nonequispaced discrete Fourier transformations" -HOMEPAGE="https://www-user.tu-chemnitz.de/~potts/nfft/" -SRC_URI="https://github.com/NFFT/nfft/releases/download/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc openmp static-libs" - -RDEPEND="sci-libs/fftw:3.0[threads,openmp?]" -DEPEND="${RDEPEND}" - -pkg_pretend() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - if ! tc-has-openmp; then - ewarn "OpenMP is not available in your current selected compiler" - - if tc-is-clang; then - ewarn "OpenMP support in sys-devel/clang is provided by sys-libs/libomp," - ewarn "which you will need to build ${CATEGORY}/${PN} with USE=\"openmp\"" - fi - - die "need openmp capable compiler" - fi - fi -} - -src_configure() { - econf \ - --enable-all \ - --enable-shared \ - $(use_enable openmp) \ - $(use_enable static-libs static) -} - -src_install() { - default - use doc || rm -r "${ED}/usr/share/doc/${P}/html" || die - - # infft uses pkg-config to record its private dependencies - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/nfft/nfft-3.5.2.ebuild b/sci-libs/nfft/nfft-3.5.2.ebuild new file mode 100644 index 000000000000..f0ea656c7539 --- /dev/null +++ b/sci-libs/nfft/nfft-3.5.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="library for nonequispaced discrete Fourier transformations" +HOMEPAGE="https://www-user.tu-chemnitz.de/~potts/nfft/" +SRC_URI="https://github.com/NFFT/nfft/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc openmp" + +RDEPEND="sci-libs/fftw:3.0[threads,openmp?]" +DEPEND="${RDEPEND}" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + if ! tc-has-openmp; then + ewarn "OpenMP is not available in your current selected compiler" + + if tc-is-clang; then + ewarn "OpenMP support in sys-devel/clang is provided by sys-libs/libomp," + ewarn "which you will need to build ${CATEGORY}/${PN} with USE=\"openmp\"" + fi + + die "need openmp capable compiler" + fi + fi +} + +src_configure() { + econf \ + --enable-all \ + --enable-shared \ + --disable-static \ + $(use_enable openmp) +} + +src_install() { + default + + if ! use doc; then + rm -r "${ED}"/usr/share/doc/${P}/html || die + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} -- cgit v1.2.3