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/coinor-cppad/, sci-libs/coinor-cppad/files/
Date: Sat, 27 Feb 2021 03:08:26
Message-Id: 1614395203.ca92672a0c280c20cbca4b344f871610b662c863.sam@gentoo
1 commit: ca92672a0c280c20cbca4b344f871610b662c863
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 26 19:37:14 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 03:06:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca92672a
7
8 sci-libs/coinor-cppad: remove old
9
10 Package-Manager: Portage-3.0.15, Repoman-3.0.2
11 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sci-libs/coinor-cppad/Manifest | 1 -
15 .../coinor-cppad/coinor-cppad-20140519-r1.ebuild | 59 ------
16 .../files/coinor-cppad-20140519-boost.patch | 79 --------
17 .../files/coinor-cppad-20140519-dash.patch | 215 ---------------------
18 4 files changed, 354 deletions(-)
19
20 diff --git a/sci-libs/coinor-cppad/Manifest b/sci-libs/coinor-cppad/Manifest
21 index 16ecbbb85d3..51f68ba1364 100644
22 --- a/sci-libs/coinor-cppad/Manifest
23 +++ b/sci-libs/coinor-cppad/Manifest
24 @@ -1,2 +1 @@
25 DIST coinor-cppad-20210000.5.tar.gz 1663397 BLAKE2B 3ce4f5733641fac16ac00b6e49cb74e2237502eac32f592190491ddd5dcb8a41f340c1eed8529dbdecb343f7a791d4fc5ddc1e21ce9f9706f28608ac3a5e965a SHA512 40cbe8dc32af9bb3b92cdd4c81e6f75424ece701df9251d4c63652998ca4cb8d50057e190a16e51333d168299f33ff2353074fa7f24f2cec29f68db53f6ae17c
26 -DIST cppad-20140519.gpl.tgz 2208236 BLAKE2B 5d53891ef3b458c3914f5d59f6656290be2811fbc84ca3f9bd253ce4620b1a4b00397e1beed694cdc5284a1f74441b68520b861c90d158c4eee11d1f8927b362 SHA512 8f47e545bc76f66edccb9ea083ddebcb5852fa1807d727b6e1f445ca74731e74f7614a1d33b48c6eafbc5129b319e513594b415ee838bdc634f9c00a6d9a22af
27
28 diff --git a/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild b/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild
29 deleted file mode 100644
30 index 537f051053f..00000000000
31 --- a/sci-libs/coinor-cppad/coinor-cppad-20140519-r1.ebuild
32 +++ /dev/null
33 @@ -1,59 +0,0 @@
34 -# Copyright 1999-2014 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -AUTOTOOLS_AUTORECONF=yes
40 -
41 -inherit autotools-utils multilib
42 -
43 -MYP=cppad-${PV}
44 -
45 -DESCRIPTION="COIN-OR C++ Algorithmic Differentiation"
46 -HOMEPAGE="https://projects.coin-or.org/CppAD/"
47 -SRC_URI="http://www.coin-or.org/download/source/CppAD/${MYP}.gpl.tgz"
48 -
49 -LICENSE="GPL-3"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
52 -IUSE="doc examples"
53 -
54 -RDEPEND="
55 - dev-libs/boost[threads]
56 - sci-libs/adolc:0=
57 - sci-libs/ipopt:0="
58 -DEPEND="${RDEPEND}
59 - virtual/pkgconfig
60 - doc? ( app-doc/doxygen[dot] )"
61 -
62 -S="${WORKDIR}/${MYP}"
63 -
64 -PATCHES=(
65 - "${FILESDIR}"/${P}-dash.patch
66 - "${FILESDIR}"/${P}-boost.patch
67 - )
68 -
69 -src_configure() {
70 - local myeconfargs=( $(use doc Documentation) )
71 - autotools-utils_src_configure CXX_FLAGS="${CXXFLAGS}"
72 -}
73 -
74 -src_compile() {
75 - autotools-utils_src_compile
76 - if use doc; then
77 - ./build.sh doxygen || die
78 - fi
79 -}
80 -
81 -src_test() {
82 - autotools-utils_src_test check test
83 -}
84 -
85 -src_install() {
86 - use doc && HTML_DOC=( "${BUILD_DIR}"/doxydocs/html/. )
87 - autotools-utils_src_install
88 - if use examples; then
89 - insinto /usr/share/doc/${PF}/examples
90 - doins -r example/*
91 - fi
92 -}
93
94 diff --git a/sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch b/sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch
95 deleted file mode 100644
96 index 7a4d3ae83ac..00000000000
97 --- a/sci-libs/coinor-cppad/files/coinor-cppad-20140519-boost.patch
98 +++ /dev/null
99 @@ -1,79 +0,0 @@
100 - configure.ac | 18 ++++++++++--------
101 - 1 file changed, 10 insertions(+), 8 deletions(-)
102 -
103 -diff --git a/configure.ac b/configure.ac
104 -index 033621f..87e129a 100644
105 ---- a/configure.ac
106 -+++ b/configure.ac
107 -@@ -550,13 +550,14 @@ dnl check for boost thread library
108 - AC_LANG_PUSH([C++])
109 - LDFLAGS_save=$LDFLAGS
110 - CXXFLAGS_save=$CXXFLAGS
111 -+LIBS_save=$LIBS
112 - boost_thread_found='no'
113 - if test "$BOOST_DIR" != '' ; then
114 - CXXFLAGS="-I$BOOST_DIR/include $CXXFLAGS"
115 - fi
116 - if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then
117 -- bthread_lib='-lboost_thread-mt'
118 -- LDFLAGS="$LDFLAGS_save $bthread_lib"
119 -+ bthread_lib='-lboost_thread-mt -lboost_system'
120 -+ LIBS="$LIBS_save $bthread_lib"
121 - AC_LINK_IFELSE(
122 - [AC_LANG_PROGRAM(
123 - [# include <boost/thread.hpp>],
124 -@@ -568,7 +569,7 @@ if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then
125 - fi
126 - if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
127 - bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.so"
128 -- LDFLAGS="$LDFLAGS_save $bthread_lib"
129 -+ LIBS="$LIBS_save $bthread_lib"
130 - AC_LINK_IFELSE(
131 - [AC_LANG_PROGRAM(
132 - [# include <boost/thread.hpp>],
133 -@@ -580,7 +581,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
134 - fi
135 - if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
136 - bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.a"
137 -- LDFLAGS="$LDFLAGS_save $bthread_lib"
138 -+ LIBS="$LIBS_save $bthread_lib"
139 - AC_LINK_IFELSE(
140 - [AC_LANG_PROGRAM(
141 - [# include <boost/thread.hpp>],
142 -@@ -591,8 +592,8 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
143 - )
144 - fi
145 - if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then
146 -- bthread_lib='-lboost_thread'
147 -- LDFLAGS="$LDFLAGS_save $bthread_lib"
148 -+ bthread_lib='-lboost_thread -lboost_system'
149 -+ LIBS="$LIBS_save $bthread_lib"
150 - AC_LINK_IFELSE(
151 - [AC_LANG_PROGRAM(
152 - [# include <boost/thread.hpp>],
153 -@@ -604,7 +605,7 @@ if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then
154 - fi
155 - if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
156 - bthread_lib="$BOOST_DIR/lib/libboost_thread.so"
157 -- LDFLAGS="$LDFLAGS_save $bthread_lib"
158 -+ LIBS="$LIBS_save $bthread_lib"
159 - AC_LINK_IFELSE(
160 - [AC_LANG_PROGRAM(
161 - [# include <boost/thread.hpp>],
162 -@@ -616,7 +617,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
163 - fi
164 - if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
165 - bthread_lib="$BOOST_DIR/lib/libboost_thread.a"
166 -- LDFLAGS="$LDFLAGS_save $bthread_lib"
167 -+ LIBS="$LIBS_save $bthread_lib"
168 - AC_LINK_IFELSE(
169 - [AC_LANG_PROGRAM(
170 - [# include <boost/thread.hpp>],
171 -@@ -636,6 +637,7 @@ else
172 - fi
173 - LDFLAGS=$LDFLAGS_save
174 - CXXFLAGS=$CXXFLAGS_save
175 -+LIBS=$LIBS_save
176 - AC_LANG_POP([C++])
177 - #
178 - dnl --------------------------------------------------------------------------
179
180 diff --git a/sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch b/sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch
181 deleted file mode 100644
182 index fe0b210f107..00000000000
183 --- a/sci-libs/coinor-cppad/files/coinor-cppad-20140519-dash.patch
184 +++ /dev/null
185 @@ -1,215 +0,0 @@
186 - configure.ac | 56 ++++++++++++++++++++++++++++----------------------------
187 - 1 file changed, 28 insertions(+), 28 deletions(-)
188 -
189 -diff --git a/configure.ac b/configure.ac
190 -index 9e917dd..033621f 100644
191 ---- a/configure.ac
192 -+++ b/configure.ac
193 -@@ -194,7 +194,7 @@ AC_ARG_WITH(sparse_list,
194 - )
195 - AC_MSG_RESULT([$sparse_list])
196 - if test "$sparse_set" = "yes" ; then
197 -- if test "$sparse_list" == "yes" ; then
198 -+ if test "$sparse_list" = "yes" ; then
199 - AC_MSG_ERROR([cannot --with both sparse_set and sparse_list])
200 - fi
201 - AC_SUBST(cppad_internal_sparse_set, sparse_set)
202 -@@ -374,7 +374,7 @@ AC_SUBST(cppad_max_num_threads, [$max_num_threads])
203 - dnl type used for addresses in AD tapes [ default = unsigned int ] -----------
204 - AC_MSG_CHECKING([TAPE_ADDR_TYPE])
205 - AC_ARG_VAR(TAPE_ADDR_TYPE, [type used for addresses in AD tapes])
206 --if test "$TAPE_ADDR_TYPE" == "" ; then
207 -+if test "$TAPE_ADDR_TYPE" = "" ; then
208 - addr_t="unsigned int"
209 - else
210 - addr_t="$TAPE_ADDR_TYPE"
211 -@@ -382,22 +382,22 @@ fi
212 - AC_SUBST(cppad_tape_addr_type, [$addr_t])
213 - AC_MSG_RESULT([$addr_t])
214 - ok="no"
215 --if test "$addr_t" == "size_t" ; then
216 -+if test "$addr_t" = "size_t" ; then
217 - ok="yes"
218 - fi
219 --if test "$addr_t" == "int" ; then
220 -+if test "$addr_t" = "int" ; then
221 - AC_MSG_WARN(
222 - [TAPE_ADDR_TYPE=int is for CppAD developers (not users)]
223 - )
224 - ok="yes"
225 - fi
226 --if test "$addr_t" == "unsigned int" ; then
227 -+if test "$addr_t" = "unsigned int" ; then
228 - ok="yes"
229 - fi
230 --if test "$addr_t" == "unsigned short int" ; then
231 -+if test "$addr_t" = "unsigned short int" ; then
232 - ok="yes"
233 - fi
234 --if test "$ok" == "no" ; then
235 -+if test "$ok" = "no" ; then
236 - AC_MSG_ERROR(
237 - [$addr_t is not a valid choice for TAPE_ADDR_TYPE]
238 - )
239 -@@ -406,7 +406,7 @@ fi
240 - dnl type used for tape identifier [ default = unsigned int ] -----------
241 - AC_MSG_CHECKING([TAPE_ID_TYPE])
242 - AC_ARG_VAR(TAPE_ID_TYPE, [type used for addresses in AD tapes])
243 --if test "$TAPE_ID_TYPE" == "" ; then
244 -+if test "$TAPE_ID_TYPE" = "" ; then
245 - tape_id_t="unsigned int"
246 - else
247 - tape_id_t="$TAPE_ID_TYPE"
248 -@@ -414,22 +414,22 @@ fi
249 - AC_SUBST(cppad_tape_id_type, [$tape_id_t])
250 - AC_MSG_RESULT([$tape_id_t])
251 - ok="no"
252 --if test "$tape_id_t" == "size_t" ; then
253 -+if test "$tape_id_t" = "size_t" ; then
254 - ok="yes"
255 - fi
256 --if test "$tape_id_t" == "int" ; then
257 -+if test "$tape_id_t" = "int" ; then
258 - AC_MSG_WARN(
259 - [TAPE_ID_TYPE=int is for CppAD developers (not users)]
260 - )
261 - ok="yes"
262 - fi
263 --if test "$tape_id_t" == "unsigned int" ; then
264 -+if test "$tape_id_t" = "unsigned int" ; then
265 - ok="yes"
266 - fi
267 --if test "$tape_id_t" == "unsigned short int" ; then
268 -+if test "$tape_id_t" = "unsigned short int" ; then
269 - ok="yes"
270 - fi
271 --if test "$ok" == "no" ; then
272 -+if test "$ok" = "no" ; then
273 - AC_MSG_ERROR(
274 - [$tape_id_t is not a valid choice for TAPE_ID_TYPE]
275 - )
276 -@@ -447,7 +447,7 @@ AC_SUBST(cppad_has_rvalue, 0)
277 - dnl Determine if size_t has same size as unsigned int
278 - AC_CHECK_SIZEOF([size_t])
279 - AC_CHECK_SIZEOF([unsigned int])
280 --if test "$ac_cv_size_t" == "$ac_cv_unsigned_int" ; then
281 -+if test "$ac_cv_size_t" = "$ac_cv_unsigned_int" ; then
282 - AC_SUBST(cppad_size_t_same_unsigned_int, 1)
283 - else
284 - AC_SUBST(cppad_size_t_same_unsigned_int, 0)
285 -@@ -485,8 +485,8 @@ AC_PROG_RANLIB
286 - dnl AC_PROG_CXX([compiler-search-list]) outputs CXX as C++ compiler to use
287 - AC_PROG_CXX
288 - AC_MSG_CHECKING([whether using Microsoft C++ compiler])
289 --AM_CONDITIONAL(CppAD_MS_COMPILER, test "$CXX" == "cl" || test "$CXX" == "icl")
290 --if test "$CXX" == "cl" || test "$CXX" == "icl"; then
291 -+AM_CONDITIONAL(CppAD_MS_COMPILER, test "$CXX" = "cl" || test "$CXX" = "icl")
292 -+if test "$CXX" = "cl" || test "$CXX" = "icl"; then
293 - AC_MSG_RESULT([yes])
294 - else
295 - AC_MSG_RESULT([no])
296 -@@ -531,7 +531,7 @@ AC_CHECK_LIB(
297 - [pthread="no"]
298 - )
299 - AM_CONDITIONAL(CppAD_PTHREAD, test "$pthread" = "yes")
300 --if test "$pthread" == "yes" ; then
301 -+if test "$pthread" = "yes" ; then
302 - AC_SUBST(PTHREAD_LIB,"-lpthread")
303 - else
304 - AC_SUBST(PTHREAD_LIB,"")
305 -@@ -554,7 +554,7 @@ boost_thread_found='no'
306 - if test "$BOOST_DIR" != '' ; then
307 - CXXFLAGS="-I$BOOST_DIR/include $CXXFLAGS"
308 - fi
309 --if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then
310 -+if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then
311 - bthread_lib='-lboost_thread-mt'
312 - LDFLAGS="$LDFLAGS_save $bthread_lib"
313 - AC_LINK_IFELSE(
314 -@@ -566,7 +566,7 @@ if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then
315 - [boost_thread_found='no']
316 - )
317 - fi
318 --if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
319 -+if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
320 - bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.so"
321 - LDFLAGS="$LDFLAGS_save $bthread_lib"
322 - AC_LINK_IFELSE(
323 -@@ -578,7 +578,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
324 - [boost_thread_found='no']
325 - )
326 - fi
327 --if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
328 -+if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
329 - bthread_lib="$BOOST_DIR/lib/libboost_thread-mt.a"
330 - LDFLAGS="$LDFLAGS_save $bthread_lib"
331 - AC_LINK_IFELSE(
332 -@@ -590,7 +590,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
333 - [boost_thread_found='no']
334 - )
335 - fi
336 --if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then
337 -+if test "$BOOST_DIR" = '' && test "$boost_thread_found" = 'no' ; then
338 - bthread_lib='-lboost_thread'
339 - LDFLAGS="$LDFLAGS_save $bthread_lib"
340 - AC_LINK_IFELSE(
341 -@@ -602,7 +602,7 @@ if test "$BOOST_DIR" == '' && test "$boost_thread_found" == 'no' ; then
342 - [boost_thread_found='no']
343 - )
344 - fi
345 --if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
346 -+if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
347 - bthread_lib="$BOOST_DIR/lib/libboost_thread.so"
348 - LDFLAGS="$LDFLAGS_save $bthread_lib"
349 - AC_LINK_IFELSE(
350 -@@ -614,7 +614,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
351 - [boost_thread_found='no']
352 - )
353 - fi
354 --if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
355 -+if test "$BOOST_DIR" != '' && test "$boost_thread_found" = 'no' ; then
356 - bthread_lib="$BOOST_DIR/lib/libboost_thread.a"
357 - LDFLAGS="$LDFLAGS_save $bthread_lib"
358 - AC_LINK_IFELSE(
359 -@@ -627,7 +627,7 @@ if test "$BOOST_DIR" != '' && test "$boost_thread_found" == 'no' ; then
360 - )
361 - fi
362 - AM_CONDITIONAL(CppAD_BTHREAD, test "$boost_thread_found" = 'yes')
363 --if test "$boost_thread_found" == 'yes' ; then
364 -+if test "$boost_thread_found" = 'yes' ; then
365 - AC_SUBST(BTHREAD_LIB,"$bthread_lib")
366 - AC_MSG_RESULT([boost::thread library... yes])
367 - else
368 -@@ -650,12 +650,12 @@ fi
369 - AC_SUBST(CPPAD_IPOPT_LD_PATH, "$IPOPT_LD_PATH")
370 - #
371 - AC_SUBST(CPPAD_IPOPT_LIBS, "$IPOPT_LIBS -lipopt")
372 --if test "$have_pkg_config" == "yes"; then
373 -+if test "$have_pkg_config" = "yes"; then
374 - dnl set CPPAD_IPOPT_LIBS
375 - PKG_CONFIG_PATH="$IPOPT_DIR/lib/pkgconfig:$IPOPT_DIR/share/pkgconfig"
376 - PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$IPOPT_DIR/lib64/pkgconfig"
377 - export PKG_CONFIG_PATH
378 -- if pkg-config --libs ipopt >& /dev/null ; then
379 -+ if pkg-config --libs ipopt > /dev/null 2>&1 ; then
380 - CPPAD_IPOPT_LIBS=`pkg-config --libs ipopt`
381 - else
382 - dnl check for blas library
383 -@@ -696,7 +696,7 @@ dnl
384 - AC_SUBST(cppad_description, "Differentiation of C++ Algorithms")
385 - AC_SUBST(cppad_version, ${PACKAGE_VERSION} )
386 - AC_SUBST(cppad_url, "http://www.coin-or.org/CppAD")
387 --if test "$prefix" == "NONE" ; then
388 -+if test "$prefix" = "NONE" ; then
389 - cppad_cflags_value="-I$HOME/include"
390 - cppad_libs_value="-L$HOME/lib"
391 - else
392 -@@ -707,7 +707,7 @@ if test "$POSTFIX_DIR" != "" ; then
393 - cppad_cflags_value="$cppad_cflags_value/$POSTFIX_DIR"
394 - cppad_libs_value="$cppad_libs_value/$POSTFIX_DIR"
395 - fi
396 --if test "$IPOPT_DIR" == "" ; then
397 -+if test "$IPOPT_DIR" = "" ; then
398 - cppad_libs_value=""
399 - cppad_requires_value=""
400 - else