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, 19 Aug 2022 08:14:17
Message-Id: 1660896817.063d917915f5a876bb485963947ad266026f0bef.asturm@gentoo
1 commit: 063d917915f5a876bb485963947ad266026f0bef
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 14 21:37:03 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 19 08:13:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063d9179
7
8 sci-libs/ceres-solver: drop 1.14.0
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 sci-libs/ceres-solver/Manifest | 1 -
13 sci-libs/ceres-solver/ceres-solver-1.14.0.ebuild | 99 ------------------------
14 2 files changed, 100 deletions(-)
15
16 diff --git a/sci-libs/ceres-solver/Manifest b/sci-libs/ceres-solver/Manifest
17 index 0bc19ef944c4..8d35692a2766 100644
18 --- a/sci-libs/ceres-solver/Manifest
19 +++ b/sci-libs/ceres-solver/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST ceres-solver-1.14.0.tar.gz 5450130 BLAKE2B cfcfe07cecb267528081dfc6deb5283bc5a04b79d4595e45365960895b84a6dca2a3024b046868f06709fc81e8514730cbc409ab01cb0cbee488b5bad5b9f7cc SHA512 a2af9918d2730709361ec971431a2b22e6ca3ca440081be87fa52729ec43702020b021837bfe5a42a58db1ab89ea6aada11f2d1888da66bef614ec1f27ab30c6
22 DIST ceres-solver-2.0.0.tar.gz 11225245 BLAKE2B 1761908747d460f6a84cb519b4bbb49fec7e1e36cc616b438c45ace57d10bd3bb4d0cb2795e07d5096e0b9453511c185ffdd3872e317aa8095daeb86933643b0 SHA512 843b19389f4d628b2b8b8538655cb330e092ffcc960c6896c6e3065b3a34e330c81e993b7abcd754e575742e2104087efde3526945c92f7df3f6b700984e49f9
23 DIST ceres-solver-2.1.0.tar.gz 3802187 BLAKE2B d8ff780cf9b9de2541c15a2b95bde07a2d1c8e60bab3a8a4b13134b99da699da452467afe3310b9f70c3c2a6bd033ea3c4bd3c401153899e9c70867fae30c633 SHA512 db777c4a4b85a9972628c714413fe9ca1a92cc6c8b14d80401842a02c4d7e7df4e9d236775e231e8337e47f21e47cd82c1a0fbcfeffbd9b654e46a66262996f2
24
25 diff --git a/sci-libs/ceres-solver/ceres-solver-1.14.0.ebuild b/sci-libs/ceres-solver/ceres-solver-1.14.0.ebuild
26 deleted file mode 100644
27 index 67f410873961..000000000000
28 --- a/sci-libs/ceres-solver/ceres-solver-1.14.0.ebuild
29 +++ /dev/null
30 @@ -1,99 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -CMAKE_ECLASS=cmake
37 -PYTHON_COMPAT=( python3_{7,8,9} )
38 -inherit cmake-multilib python-any-r1 toolchain-funcs
39 -
40 -DESCRIPTION="Nonlinear least-squares minimizer"
41 -HOMEPAGE="http://ceres-solver.org/"
42 -SRC_URI="http://ceres-solver.org/${P}.tar.gz"
43 -
44 -LICENSE="sparse? ( BSD ) !sparse? ( LGPL-2.1 ) cxsparse? ( BSD )"
45 -SLOT="0/1"
46 -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
47 -IUSE="cxsparse doc examples gflags lapack openmp +schur sparse test"
48 -
49 -REQUIRED_USE="test? ( gflags ) sparse? ( lapack ) abi_x86_32? ( !sparse !lapack )"
50 -
51 -RESTRICT="!test? ( test )"
52 -
53 -BDEPEND="${PYTHON_DEPS}
54 - >=dev-cpp/eigen-3.3.4:3
55 - doc? (
56 - $(python_gen_any_dep '
57 - dev-python/sphinx[${PYTHON_USEDEP}]
58 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
59 - ')
60 - )
61 - lapack? ( virtual/pkgconfig )
62 -"
63 -RDEPEND="
64 - dev-cpp/glog[gflags?,${MULTILIB_USEDEP}]
65 - cxsparse? ( sci-libs/cxsparse )
66 - lapack? ( virtual/lapack )
67 - sparse? (
68 - sci-libs/amd
69 - sci-libs/camd
70 - sci-libs/ccolamd
71 - sci-libs/cholmod[metis(+)]
72 - sci-libs/colamd
73 - sci-libs/spqr
74 - )
75 -"
76 -DEPEND="${RDEPEND}"
77 -
78 -DOCS=( README.md VERSION )
79 -
80 -pkg_pretend() {
81 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
82 -}
83 -
84 -pkg_setup() {
85 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
86 - use doc && python-any-r1_pkg_setup
87 -}
88 -
89 -src_prepare() {
90 - cmake_src_prepare
91 -
92 - # search paths work for prefix
93 - sed -e "s:/usr:${EPREFIX}/usr:g" \
94 - -i cmake/*.cmake || die
95 -
96 - # remove Werror
97 - sed -e 's/-Werror=(all|extra)//g' \
98 - -i CMakeLists.txt || die
99 -}
100 -
101 -src_configure() {
102 - # CUSTOM_BLAS=OFF EIGENSPARSE=OFF MINIGLOG=OFF CXX11=OFF
103 - local mycmakeargs=(
104 - -DBUILD_BENCHMARKS=OFF
105 - -DBUILD_EXAMPLES=OFF
106 - -DBUILD_TESTING=$(usex test)
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 doc && mycmakeargs+=(
116 - -DCERES_DOCS_INSTALL_DIR="${EPREFIX}"/usr/share/doc/${PF}
117 - )
118 - use sparse || use cxsparse || mycmakeargs+=( -DEIGENSPARSE=ON )
119 - cmake-multilib_src_configure
120 -}
121 -
122 -src_install() {
123 - cmake-multilib_src_install
124 -
125 - if use examples; then
126 - docompress -x /usr/share/doc/${PF}/examples
127 - dodoc -r examples data
128 - fi
129 -}