Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
Date: Sat, 03 Jul 2021 20:40:08
Message-Id: 1625344790.f0b1df32a5b525b3de739564e29fe6f928214de4.gyakovlev@gentoo
1 commit: f0b1df32a5b525b3de739564e29fe6f928214de4
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 3 20:39:50 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 3 20:39:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b1df32
7
8 dev-util/bear: drop 3.0.11-r2, 3.0.12-r1
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 dev-util/bear/Manifest | 2 -
13 dev-util/bear/bear-3.0.11-r2.ebuild | 87 -------------------------------------
14 dev-util/bear/bear-3.0.12-r1.ebuild | 87 -------------------------------------
15 3 files changed, 176 deletions(-)
16
17 diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
18 index a95b698b433..5ffec631ff1 100644
19 --- a/dev-util/bear/Manifest
20 +++ b/dev-util/bear/Manifest
21 @@ -1,4 +1,2 @@
22 DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
23 -DIST bear-3.0.11.tar.gz 118678 BLAKE2B 209d904a84363a87e566798dcd65ffed96cdbf3d2e753af8dc2706adb995d2999bc112eabb88db28791cbb245c373eb330cf9c20d3d886bb2caeb5c01150e65d SHA512 6d362aede911a8ad35be30638a698579582ca5de770a7c3199bb205046f08f355387099261b8d857188d526ab62024f78e3d06a225734c5f9acca03e5dfea1ec
24 -DIST bear-3.0.12.tar.gz 118937 BLAKE2B 4ed41693a92583091b8510dd1ade55a3e5c897825205e59d9e9810aa63e5f17c5049b3b3de509665143083d44aeb6d85c63d944041bb36c6b1d842d0308d88f0 SHA512 e45e842793e9f5f2cd6b13a9795c2b6753c2fffd516e4af9f0362644c9d0952a2b0e505a4a9d53e9a1a4aa063d7368c6466367a78fececb70582ec7c4e8d7f10
25 DIST bear-3.0.13.tar.gz 120488 BLAKE2B 9159858110afc45f4888a294325be8609bdcb78a2421dbb8ae4b5109cbea80a06d907e961c398cf011025d93d8d1cceec640ce12d613fd80d38d8f06532305db SHA512 1c515d5941870b9bc76fa85d02229ace85653c6f985e00a8fa9e2f17ba9079d162d654a17024394819a7ae203167253641a3d7c17c490e49e30fa92d434e6a6e
26
27 diff --git a/dev-util/bear/bear-3.0.11-r2.ebuild b/dev-util/bear/bear-3.0.11-r2.ebuild
28 deleted file mode 100644
29 index 97791cb96b0..00000000000
30 --- a/dev-util/bear/bear-3.0.11-r2.ebuild
31 +++ /dev/null
32 @@ -1,87 +0,0 @@
33 -# Copyright 2020-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_{7..9} )
39 -
40 -inherit cmake python-any-r1
41 -
42 -DESCRIPTION="Build EAR generates a compilation database for clang tooling"
43 -HOMEPAGE="https://github.com/rizsotto/Bear"
44 -SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-3+"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~ppc64 ~x86"
49 -IUSE="test"
50 -
51 -RDEPEND="
52 - >=dev-cpp/nlohmann_json-3.7:=
53 - >=dev-db/sqlite-3.14:=
54 - >=dev-libs/libfmt-6.2:=
55 - dev-libs/protobuf:=
56 - >=dev-libs/spdlog-1.5
57 - >=net-libs/grpc-1.26:=
58 -"
59 -
60 -DEPEND="${RDEPEND}
61 - test? (
62 - >=dev-cpp/gtest-1.10
63 - )
64 -"
65 -
66 -BDEPEND="test? (
67 - $(python_gen_any_dep '
68 - dev-python/lit[${PYTHON_USEDEP}]
69 - ')
70 -)"
71 -
72 -RESTRICT="!test? ( test )"
73 -
74 -S="${WORKDIR}/${P^}"
75 -
76 -pkg_setup() {
77 - use test && python-any-r1_pkg_setup
78 -}
79 -
80 -src_prepare() {
81 - cmake_src_prepare
82 - # Turn off testing before installation
83 - sed -i 's/TEST_BEFORE_INSTALL/TEST_EXCLUDE_FROM_MAIN/g' CMakeLists.txt || die
84 -}
85 -
86 -src_configure() {
87 - local mycmakeargs=(
88 - -DENABLE_UNIT_TESTS="$(usex test ON OFF)"
89 - -DENABLE_FUNC_TESTS="$(usex test ON OFF)"
90 - )
91 - cmake_src_configure
92 -}
93 -
94 -src_test() {
95 - if has sandbox ${FEATURES}; then
96 - ewarn "\'FEATURES=sandbox\' detected"
97 - ewarn "Bear overrides LD_PRELOAD and conflicts with gentoo sandbox"
98 - ewarn "Skipping tests"
99 - elif
100 - has usersandbox ${FEATURES}; then
101 - ewarn "\'FEATURES=usersandbox\' detected"
102 - ewarn "Skipping tests"
103 - elif
104 - has network-sandbox ${FEATURES}; then
105 - ewarn "\'FEATURES=network-sandbox\' detected"
106 - ewarn "Skipping tests"
107 - elif
108 - has_version -b 'sys-devel/gcc-config[-native-symlinks]'; then
109 - ewarn "\'sys-devel/gcc-config[-native-symlinks]\' detected, tests call /usr/bin/cc directly (hardcoded)"
110 - ewarn "and will fail without generic cc symlink"
111 - ewarn "Skipping tests"
112 - else
113 - einfo "test may use optional tools if found: qmake gfortran valgrind"
114 - # unit tests
115 - cmake_run_in "${BUILD_DIR}/subprojects/Build/BearSource" ctest --verbose
116 - # functional tests
117 - cmake_run_in "${BUILD_DIR}/subprojects/Build/BearTest" ctest --verbose
118 - fi
119 -}
120
121 diff --git a/dev-util/bear/bear-3.0.12-r1.ebuild b/dev-util/bear/bear-3.0.12-r1.ebuild
122 deleted file mode 100644
123 index 97791cb96b0..00000000000
124 --- a/dev-util/bear/bear-3.0.12-r1.ebuild
125 +++ /dev/null
126 @@ -1,87 +0,0 @@
127 -# Copyright 2020-2021 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=7
131 -
132 -PYTHON_COMPAT=( python3_{7..9} )
133 -
134 -inherit cmake python-any-r1
135 -
136 -DESCRIPTION="Build EAR generates a compilation database for clang tooling"
137 -HOMEPAGE="https://github.com/rizsotto/Bear"
138 -SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
139 -
140 -LICENSE="GPL-3+"
141 -SLOT="0"
142 -KEYWORDS="~amd64 ~ppc64 ~x86"
143 -IUSE="test"
144 -
145 -RDEPEND="
146 - >=dev-cpp/nlohmann_json-3.7:=
147 - >=dev-db/sqlite-3.14:=
148 - >=dev-libs/libfmt-6.2:=
149 - dev-libs/protobuf:=
150 - >=dev-libs/spdlog-1.5
151 - >=net-libs/grpc-1.26:=
152 -"
153 -
154 -DEPEND="${RDEPEND}
155 - test? (
156 - >=dev-cpp/gtest-1.10
157 - )
158 -"
159 -
160 -BDEPEND="test? (
161 - $(python_gen_any_dep '
162 - dev-python/lit[${PYTHON_USEDEP}]
163 - ')
164 -)"
165 -
166 -RESTRICT="!test? ( test )"
167 -
168 -S="${WORKDIR}/${P^}"
169 -
170 -pkg_setup() {
171 - use test && python-any-r1_pkg_setup
172 -}
173 -
174 -src_prepare() {
175 - cmake_src_prepare
176 - # Turn off testing before installation
177 - sed -i 's/TEST_BEFORE_INSTALL/TEST_EXCLUDE_FROM_MAIN/g' CMakeLists.txt || die
178 -}
179 -
180 -src_configure() {
181 - local mycmakeargs=(
182 - -DENABLE_UNIT_TESTS="$(usex test ON OFF)"
183 - -DENABLE_FUNC_TESTS="$(usex test ON OFF)"
184 - )
185 - cmake_src_configure
186 -}
187 -
188 -src_test() {
189 - if has sandbox ${FEATURES}; then
190 - ewarn "\'FEATURES=sandbox\' detected"
191 - ewarn "Bear overrides LD_PRELOAD and conflicts with gentoo sandbox"
192 - ewarn "Skipping tests"
193 - elif
194 - has usersandbox ${FEATURES}; then
195 - ewarn "\'FEATURES=usersandbox\' detected"
196 - ewarn "Skipping tests"
197 - elif
198 - has network-sandbox ${FEATURES}; then
199 - ewarn "\'FEATURES=network-sandbox\' detected"
200 - ewarn "Skipping tests"
201 - elif
202 - has_version -b 'sys-devel/gcc-config[-native-symlinks]'; then
203 - ewarn "\'sys-devel/gcc-config[-native-symlinks]\' detected, tests call /usr/bin/cc directly (hardcoded)"
204 - ewarn "and will fail without generic cc symlink"
205 - ewarn "Skipping tests"
206 - else
207 - einfo "test may use optional tools if found: qmake gfortran valgrind"
208 - # unit tests
209 - cmake_run_in "${BUILD_DIR}/subprojects/Build/BearSource" ctest --verbose
210 - # functional tests
211 - cmake_run_in "${BUILD_DIR}/subprojects/Build/BearTest" ctest --verbose
212 - fi
213 -}