Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/ceres-solver/
Date: Fri, 01 May 2020 20:32:07
Message-Id: 1588365094.79996b214863489ff4ea8d55968f34796b624278.asturm@gentoo
1 commit: 79996b214863489ff4ea8d55968f34796b624278
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 1 18:04:50 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri May 1 20:31:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79996b21
7
8 sci-libs/ceres-solver: Drop 1.12.0
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sci-libs/ceres-solver/Manifest | 1 -
14 sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild | 97 ------------------------
15 sci-libs/ceres-solver/metadata.xml | 1 -
16 3 files changed, 99 deletions(-)
17
18 diff --git a/sci-libs/ceres-solver/Manifest b/sci-libs/ceres-solver/Manifest
19 index 0b1e2173e3d..941bf4bbf4f 100644
20 --- a/sci-libs/ceres-solver/Manifest
21 +++ b/sci-libs/ceres-solver/Manifest
22 @@ -1,2 +1 @@
23 -DIST ceres-solver-1.12.0.tar.gz 5008861 BLAKE2B 52b3954dde96386bd031543ab9d7370368f58f76f1dec9d24ef10803da787cc96f40a1c775626fde832b70ebd94cf4274c70a8fb4bd7e1bcf040e119cbec09f8 SHA512 485eece0471cf05d31b5dd7e133e23115a334a4ed557a3c1bd0b715a063f840738af8f507e935522a0dae90ce6851984c0002a25e9b445b90889792f68a05571
24 DIST ceres-solver-1.14.0.tar.gz 5450130 BLAKE2B cfcfe07cecb267528081dfc6deb5283bc5a04b79d4595e45365960895b84a6dca2a3024b046868f06709fc81e8514730cbc409ab01cb0cbee488b5bad5b9f7cc SHA512 a2af9918d2730709361ec971431a2b22e6ca3ca440081be87fa52729ec43702020b021837bfe5a42a58db1ab89ea6aada11f2d1888da66bef614ec1f27ab30c6
25
26 diff --git a/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild b/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild
27 deleted file mode 100644
28 index 05747c215b0..00000000000
29 --- a/sci-libs/ceres-solver/ceres-solver-1.12.0.ebuild
30 +++ /dev/null
31 @@ -1,97 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -PYTHON_COMPAT=( python3_6 )
38 -
39 -inherit cmake-multilib eutils python-any-r1 toolchain-funcs
40 -
41 -DESCRIPTION="Nonlinear least-squares minimizer"
42 -HOMEPAGE="http://ceres-solver.org/"
43 -SRC_URI="http://ceres-solver.org/${P}.tar.gz"
44 -
45 -LICENSE="sparse? ( BSD ) !sparse? ( LGPL-2.1 ) cxsparse? ( BSD )"
46 -SLOT="0/1"
47 -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
48 -IUSE="cxsparse c++11 doc examples gflags lapack openmp +schur sparse test"
49 -RESTRICT="!test? ( test )"
50 -
51 -REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )"
52 -
53 -RDEPEND="
54 - dev-cpp/glog[gflags?,${MULTILIB_USEDEP}]
55 - cxsparse? ( sci-libs/cxsparse )
56 - lapack? ( virtual/lapack )
57 - sparse? (
58 - sci-libs/amd
59 - sci-libs/camd
60 - sci-libs/ccolamd
61 - sci-libs/cholmod[metis(+)]
62 - sci-libs/colamd
63 - sci-libs/spqr
64 - )"
65 -
66 -DEPEND="${RDEPEND}
67 - dev-cpp/eigen:3
68 - doc? ( dev-python/sphinx dev-python/sphinx_rtd_theme )
69 - lapack? ( virtual/pkgconfig )
70 - ${PYTHON_DEPS}"
71 -
72 -pkg_pretend() {
73 - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
74 - if [[ $(tc-getCXX) == *g++* ]] && ! tc-has-openmp; then
75 - ewarn "OpenMP is not available in your current selected gcc"
76 - die "need openmp capable gcc"
77 - fi
78 - fi
79 -}
80 -
81 -pkg_setup() {
82 - use doc && python-any-r1_pkg_setup
83 -}
84 -
85 -src_prepare() {
86 - # search paths work for prefix
87 - sed -e "s:/usr:${EPREFIX}/usr:g" \
88 - -i cmake/*.cmake || die
89 -
90 - # remove Werror
91 - sed -e 's/-Werror=(all|extra)//g' \
92 - -i CMakeLists.txt || die
93 -
94 - # respect gentoo doc install directory
95 - sed -e "s:share/doc/ceres:share/doc/${PF}:" \
96 - -i docs/source/CMakeLists.txt || die
97 - cmake-utils_src_prepare
98 -}
99 -
100 -src_configure() {
101 - # CUSTOM_BLAS=OFF EIGENSPARSE=OFF MINIGLOG=OFF CXX11=OFF
102 - local mycmakeargs=(
103 - -DBUILD_SHARED_LIBS=ON
104 - -DBUILD_EXAMPLES=OFF
105 - -DENABLE_TESTING="$(usex test)"
106 - -DCXX11="$(usex c++11)"
107 - -DBUILD_DOCUMENTATION="$(usex doc)"
108 - -DGFLAGS="$(usex gflags)"
109 - -DLAPACK="$(usex lapack)"
110 - -DOPENMP="$(usex openmp)"
111 - -DSCHUR_SPECIALIZATIONS="$(usex schur)"
112 - -DCXSPARSE="$(usex cxsparse)"
113 - -DSUITESPARSE="$(usex sparse)"
114 - )
115 - use sparse || use cxsparse || mycmakeargs+=( -DEIGENSPARSE=ON )
116 - cmake-multilib_src_configure
117 -}
118 -
119 -src_install() {
120 - cmake-multilib_src_install
121 - dodoc README.md VERSION
122 -
123 - if use examples; then
124 - docinto /usr/share/doc/${PF}
125 - docompress -x /usr/share/doc/${PF}/examples
126 - doins -r examples data
127 - fi
128 -}
129
130 diff --git a/sci-libs/ceres-solver/metadata.xml b/sci-libs/ceres-solver/metadata.xml
131 index 42d1cafcb8b..57c1a1394e0 100644
132 --- a/sci-libs/ceres-solver/metadata.xml
133 +++ b/sci-libs/ceres-solver/metadata.xml
134 @@ -29,6 +29,5 @@
135 <flag name="sparse">Enable support for sparse matrix algebra with various
136 packages from SuiteSparse</flag>
137 <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag>
138 - <flag name="c++11">Build ceres-solver using the C++11 standard</flag>
139 </use>
140 </pkgmetadata>