Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/clfft/
Date: Mon, 21 Sep 2015 16:05:19
Message-Id: 1442851048.280c06ecf91d57b80e671a7795307b3d6666b662.jlec@gentoo
1 commit: 280c06ecf91d57b80e671a7795307b3d6666b662
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 15:56:24 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 15:57:28 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=280c06ec
7
8 sci-libs/clfft: Drop old
9
10 Package-Manager: portage-2.2.20.1
11 RepoMan-Options: --force
12 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
13
14 sci-libs/clfft/clfft-0.9999.ebuild | 51 -----------------------------------
15 sci-libs/clfft/clfft-2.4-r1.ebuild | 54 --------------------------------------
16 sci-libs/clfft/clfft-2.6.1.ebuild | 9 ++++---
17 sci-libs/clfft/clfft-9999.ebuild | 17 +++++++-----
18 4 files changed, 16 insertions(+), 115 deletions(-)
19
20 diff --git a/sci-libs/clfft/clfft-0.9999.ebuild b/sci-libs/clfft/clfft-0.9999.ebuild
21 deleted file mode 100644
22 index fa91bc5..0000000
23 --- a/sci-libs/clfft/clfft-0.9999.ebuild
24 +++ /dev/null
25 @@ -1,51 +0,0 @@
26 -# Copyright 1999-2015 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -# $Id$
29 -
30 -EAPI=5
31 -
32 -inherit cmake-utils git-r3
33 -
34 -MY_PN="clFFT"
35 -
36 -DESCRIPTION="A software library containing FFT functions written in OpenCL"
37 -HOMEPAGE="https://github.com/clMathLibraries/clFFT"
38 -EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
39 -S="${WORKDIR}/${P}/src"
40 -
41 -LICENSE="Apache-2.0"
42 -SLOT="0"
43 -IUSE="test"
44 -
45 -RDEPEND="
46 - >=sys-devel/gcc-4.6:*
47 - virtual/opencl
48 - dev-libs/boost"
49 -DEPEND="${RDEPEND}"
50 -# test? (
51 -# dev-cpp/gtest
52 -# sci-libs/fftw:3.0
53 -# )"
54 -
55 -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
56 -# Therefore src_test() won't execute any test.
57 -RESTRICT="test"
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/clfft-2.4-fix-cmake-config-install.patch
61 -)
62 -
63 -pkg_pretend() {
64 - if [[ ${MERGE_TYPE} != binary ]]; then
65 - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
66 - die "Compilation with gcc older than 4.6 is not supported."
67 - fi
68 - fi
69 -}
70 -
71 -src_configure() {
72 - local mycmakeargs=(
73 - $(cmake-utils_use_build test TEST)
74 - )
75 - cmake-utils_src_configure
76 -}
77
78 diff --git a/sci-libs/clfft/clfft-2.4-r1.ebuild b/sci-libs/clfft/clfft-2.4-r1.ebuild
79 deleted file mode 100644
80 index 00f177e..0000000
81 --- a/sci-libs/clfft/clfft-2.4-r1.ebuild
82 +++ /dev/null
83 @@ -1,54 +0,0 @@
84 -# Copyright 1999-2015 Gentoo Foundation
85 -# Distributed under the terms of the GNU General Public License v2
86 -# $Id$
87 -
88 -EAPI=5
89 -
90 -inherit cmake-utils
91 -
92 -MY_PN="clFFT"
93 -
94 -DESCRIPTION="A software library containing FFT functions written in OpenCL"
95 -HOMEPAGE="https://github.com/clMathLibraries/clFFT"
96 -SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
97 -KEYWORDS="~amd64"
98 -S="${WORKDIR}/${MY_PN}-${PV}/src"
99 -
100 -LICENSE="Apache-2.0"
101 -SLOT="0"
102 -IUSE="test"
103 -
104 -RDEPEND="
105 - >=sys-devel/gcc-4.6:*
106 - virtual/opencl
107 - dev-libs/boost"
108 -DEPEND="${RDEPEND}"
109 -# test? (
110 -# dev-cpp/gtest
111 -# sci-libs/fftw:3.0
112 -# )"
113 -
114 -# The tests only get compiled to an executable named Test, which is not recogniozed by cmake.
115 -# Therefore src_test() won't execute any test.
116 -RESTRICT="test"
117 -
118 -PATCHES=(
119 - "${FILESDIR}/${P}"-client_CMakeLists.patch
120 - "${FILESDIR}/${P}"-scripts_perf_CMakeLists.patch
121 - "${FILESDIR}/${P}"-fix-cmake-config-install.patch
122 -)
123 -
124 -pkg_pretend() {
125 - if [[ ${MERGE_TYPE} != binary ]]; then
126 - if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
127 - die "Compilation with gcc older than 4.6 is not supported."
128 - fi
129 - fi
130 -}
131 -
132 -src_configure() {
133 - local mycmakeargs=(
134 - $(cmake-utils_use_build test TEST)
135 - )
136 - cmake-utils_src_configure
137 -}
138
139 diff --git a/sci-libs/clfft/clfft-2.6.1.ebuild b/sci-libs/clfft/clfft-2.6.1.ebuild
140 index 0e70116..bbb7f4e 100644
141 --- a/sci-libs/clfft/clfft-2.6.1.ebuild
142 +++ b/sci-libs/clfft/clfft-2.6.1.ebuild
143 @@ -1,6 +1,6 @@
144 # Copyright 1999-2015 Gentoo Foundation
145 # Distributed under the terms of the GNU General Public License v2
146 -# $Header: $
147 +# $Id$
148
149 EAPI=5
150
151 @@ -8,14 +8,13 @@ inherit cmake-utils
152
153 MY_PN="clFFT"
154
155 -DESCRIPTION="A software library containing FFT functions written in OpenCL"
156 +DESCRIPTION="Library containing FFT functions written in OpenCL"
157 HOMEPAGE="https://github.com/clMathLibraries/clFFT"
158 SRC_URI="https://github.com/clMathLibraries/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
159 -KEYWORDS="~amd64"
160 -S="${WORKDIR}/${MY_PN}-${PV}/src"
161
162 LICENSE="Apache-2.0"
163 SLOT="0"
164 +KEYWORDS="~amd64"
165 IUSE="+client examples test"
166
167 RDEPEND="
168 @@ -32,6 +31,8 @@ DEPEND="${RDEPEND}"
169 # Therefore src_test() won't execute any test.
170 RESTRICT="test"
171
172 +S="${WORKDIR}/${MY_PN}-${PV}/src"
173 +
174 PATCHES=(
175 "${FILESDIR}/${P}"-Install-cmake-configuration-to-lib-cmake-clFFT.patch
176 "${FILESDIR}/${P}"-Install-examples-to-share-clFFT-examples.patch
177
178 diff --git a/sci-libs/clfft/clfft-9999.ebuild b/sci-libs/clfft/clfft-9999.ebuild
179 index 3edc6c9..7c62a2c 100644
180 --- a/sci-libs/clfft/clfft-9999.ebuild
181 +++ b/sci-libs/clfft/clfft-9999.ebuild
182 @@ -8,14 +8,17 @@ inherit cmake-utils git-r3
183
184 MY_PN="clFFT"
185
186 -DESCRIPTION="A software library containing FFT functions written in OpenCL"
187 +DESCRIPTION="Library containing FFT functions written in OpenCL"
188 HOMEPAGE="https://github.com/clMathLibraries/clFFT"
189 -EGIT_REPO_URI="https://github.com/clMathLibraries/${MY_PN}.git git://github.com/clMathLibraries/${MY_PN}.git"
190 +EGIT_REPO_URI="
191 + https://github.com/clMathLibraries/${MY_PN}.git
192 + git://github.com/clMathLibraries/${MY_PN}.git
193 + "
194 EGIT_BRANCH="develop"
195 -S="${WORKDIR}/${P}/src"
196
197 LICENSE="Apache-2.0"
198 SLOT="0"
199 +KEYWORDS=""
200 IUSE="+client examples test"
201
202 RDEPEND="
203 @@ -32,6 +35,8 @@ DEPEND="${RDEPEND}"
204 # Therefore src_test() won't execute any test.
205 RESTRICT="test"
206
207 +S="${WORKDIR}/${P}/src"
208 +
209 pkg_pretend() {
210 if [[ ${MERGE_TYPE} != binary ]]; then
211 if [[ $(gcc-major-version) -lt 4 ]] || ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) ; then
212 @@ -42,9 +47,9 @@ pkg_pretend() {
213
214 src_configure() {
215 local mycmakeargs=(
216 - $(cmake-utils_use_build client CLIENT)
217 - $(cmake-utils_use_build examples EXAMPLES)
218 - $(cmake-utils_use_build test TEST)
219 + $(cmake-utils_use_build client CLIENT)
220 + $(cmake-utils_use_build examples EXAMPLES)
221 + $(cmake-utils_use_build test TEST)
222 )
223 cmake-utils_src_configure
224 }