Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/fftw/
Date: Tue, 30 Mar 2021 18:18:10
Message-Id: 1617128273.46056a122449288e449e0f0f8030e20f5bc2e2df.sam@gentoo
1 commit: 46056a122449288e449e0f0f8030e20f5bc2e2df
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 18:17:14 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 18:17:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46056a12
7
8 sci-libs/fftw: drop 2.1.5-r9 (drop :2.1 slot)
9
10 Closes: https://bugs.gentoo.org/772815
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sci-libs/fftw/Manifest | 1 -
14 sci-libs/fftw/fftw-2.1.5-r9.ebuild | 137 -------------------------------------
15 2 files changed, 138 deletions(-)
16
17 diff --git a/sci-libs/fftw/Manifest b/sci-libs/fftw/Manifest
18 index 3db9f31dca7..a4327766903 100644
19 --- a/sci-libs/fftw/Manifest
20 +++ b/sci-libs/fftw/Manifest
21 @@ -1,2 +1 @@
22 -DIST fftw-2.1.5.tar.gz 1256888 BLAKE2B 61e2eed91459479ab893a423c1a6f38dd7e9637e0466fa0a59fccfa2cec930e8870a5febfccfacfe44e876e40534c34e05dc62b8e7bf188b43fe3a65c6a7bdba SHA512 8724a7f66aa19b271aa0ffb0e3762919f08082ac4400f52d11b50aef9b9d23a7d4fc5d6b2eae0ac166e2bb30a4d38a52c878e8bf8e24aba01ab1c3ddf5ebec15
23 DIST fftw-3.3.9.tar.gz 4146999 BLAKE2B 6ea6966f3c5056102e6c3e4628b072c7e9832e3250b292808ed934b3a82515fd77658cbaff50d7b1268fb8c9444b10e39b22d100b7c31ea2452f3cee59c9f280 SHA512 52ebc2a33063a41fd478f6ea2acbf3b511867f736591d273dd57f9dfca5d3e0b0c73157921b3a36f1a7cfd741a8a6bde0fd80de578040ae730ea168b5ba466cf
24
25 diff --git a/sci-libs/fftw/fftw-2.1.5-r9.ebuild b/sci-libs/fftw/fftw-2.1.5-r9.ebuild
26 deleted file mode 100644
27 index 0d4eae2fdb7..00000000000
28 --- a/sci-libs/fftw/fftw-2.1.5-r9.ebuild
29 +++ /dev/null
30 @@ -1,137 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -FORTRAN_NEEDED=fortran
37 -
38 -inherit autotools flag-o-matic fortran-2 multibuild toolchain-funcs
39 -
40 -DESCRIPTION="Fast C library for the Discrete Fourier Transform"
41 -HOMEPAGE="http://www.fftw.org"
42 -SRC_URI="http://www.fftw.org/${P}.tar.gz"
43 -
44 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
45 -
46 -LICENSE="GPL-2+"
47 -SLOT="2.1"
48 -IUSE="doc float fortran mpi openmp threads static-libs"
49 -
50 -RDEPEND="mpi? ( virtual/mpi )"
51 -DEPEND="${RDEPEND}"
52 -
53 -PATCHES=(
54 - "${FILESDIR}"/${P}-as-needed.patch
55 - "${FILESDIR}"/${P}-configure.in.patch
56 - "${FILESDIR}"/${P}-no-test.patch
57 - "${FILESDIR}"/${P}-cc.patch
58 - "${FILESDIR}"/${P}-texinfo5.1.patch
59 - "${FILESDIR}"/${P}-parallel-tests.patch
60 -)
61 -
62 -pkg_pretend() {
63 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
64 -}
65 -
66 -pkg_setup() {
67 - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
68 - tc-check-openmp
69 - FORTRAN_NEED_OPENMP=1
70 - fi
71 -
72 - fortran-2_pkg_setup
73 -
74 - MULTIBUILD_VARIANTS=( single double )
75 -}
76 -
77 -src_prepare() {
78 - default
79 -
80 - # fix info files
81 - local infofile
82 - for infofile in doc/fftw*info*; do
83 - cat >> ${infofile} <<-EOF || die
84 - INFO-DIR-SECTION Libraries
85 - START-INFO-DIR-ENTRY
86 - * fftw: (fftw). ${DESCRIPTION}
87 - END-INFO-DIR-ENTRY
88 - EOF
89 - done
90 -
91 - mv configure.{in,ac} || die
92 - sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
93 -
94 - eautoreconf
95 -
96 - # 'FAQ' is actually a dir and causes issues with einstalldocs
97 - rm -r FAQ || die
98 -
99 - multibuild_copy_sources
100 -}
101 -
102 -fftw_src_configure() {
103 - local myconf=(
104 - --with-gcc=$(tc-getCC)
105 - --enable-shared
106 - --enable-type-prefix
107 - --enable-vec-recurse
108 - $(use_enable fortran)
109 - $(use_enable mpi)
110 - $(use_enable static-libs static)
111 - $(use_enable x86 i386-hacks)
112 - $(use_with openmp)
113 - )
114 -
115 - if use openmp || use threads; then
116 - myconf+=( --enable-threads )
117 - else
118 - myconf+=( --disable-threads )
119 - fi
120 -
121 - [[ $MULTIBUILD_VARIANT == single ]] && myconf+=( --enable-float )
122 -
123 - econf "${myconf[@]}"
124 -}
125 -
126 -src_configure() {
127 - # this one is reported to cause trouble on pentium4 m series
128 - filter-mfpmath sse
129 -
130 - # here I need (surprise) to increase optimization:
131 - # --enable-i386-hacks requires -fomit-frame-pointer to work properly
132 - if use x86; then
133 - is-flag -fomit-frame-pointer || append-flags -fomit-frame-pointer
134 - fi
135 - use openmp && [[ $(tc-getCC)$ == icc* ]] && append-ldflags $(no-as-needed)
136 -
137 - multibuild_foreach_variant run_in_build_dir fftw_src_configure
138 -}
139 -
140 -src_compile() {
141 - multibuild_foreach_variant run_in_build_dir default_src_compile
142 -}
143 -
144 -src_test() {
145 - multibuild_foreach_variant run_in_build_dir default_src_test
146 -}
147 -
148 -src_install() {
149 - use doc && HTML_DOCS=( doc/*.{html,gif} )
150 - multibuild_foreach_variant run_in_build_dir default_src_install
151 -
152 - doheader fortran/fftw_f77.i
153 -
154 - create_fftw_symlinks() {
155 - local i f letter=$1
156 - for i in fft rfft; do
157 - for f in "${ED%/}"/usr/{include,$(get_libdir)}/*${letter}${i}*; do
158 - ln -s $(basename ${f}) ${f/${letter}${i}/${i}} || die
159 - done
160 - done
161 - }
162 - create_fftw_symlinks $(usex float s d)
163 -
164 - if ! use static-libs; then
165 - find "${D}" -name '*.la' -delete || die
166 - fi
167 -}