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: Fri, 24 Dec 2021 12:08:25
Message-Id: 1640347659.6dd01499da11cbde2878549b8e8a50226a07e070.gyakovlev@gentoo
1 commit: 6dd01499da11cbde2878549b8e8a50226a07e070
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 24 12:07:25 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 12:07:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd01499
7
8 dev-util/bear: drop 2.4.4
9
10 Bug: https://bugs.gentoo.org/829806
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 dev-util/bear/bear-2.4.4.ebuild | 71 -----------------------------------------
14 1 file changed, 71 deletions(-)
15
16 diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
17 deleted file mode 100644
18 index af4cedd7fc4f..000000000000
19 --- a/dev-util/bear/bear-2.4.4.ebuild
20 +++ /dev/null
21 @@ -1,71 +0,0 @@
22 -# Copyright 2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -PYTHON_COMPAT=( python3_{7,8,9} )
28 -
29 -inherit bash-completion-r1 cmake python-single-r1
30 -
31 -DESCRIPTION="Build EAR generates a compilation database for clang tooling"
32 -HOMEPAGE="https://github.com/rizsotto/Bear"
33 -SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 -
35 -LICENSE="GPL-3+"
36 -SLOT="0"
37 -KEYWORDS="amd64 ~ppc64 x86"
38 -IUSE="test"
39 -
40 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
41 -
42 -DEPEND="test? (
43 - app-shells/bash
44 - $(python_gen_cond_dep '
45 - dev-python/lit[${PYTHON_USEDEP}]
46 - ')
47 -)"
48 -
49 -RDEPEND="${PYTHON_DEPS}"
50 -
51 -RESTRICT="!test? ( test )"
52 -
53 -S="${WORKDIR}/${P^}"
54 -
55 -src_configure() {
56 - local mycmakeargs=( -DUSE_SHELL_COMPLETION=OFF )
57 - cmake_src_configure
58 -}
59 -
60 -src_compile() {
61 - cmake_src_compile
62 - # need to fix it now, before tests are run
63 - python_fix_shebang "${BUILD_DIR}"/bear/bear
64 - python_fix_shebang test/functional/tools/cdb_diff.py
65 -}
66 -
67 -src_install() {
68 - cmake_src_install
69 - dobashcomp shell-completion/bash/bear
70 -}
71 -
72 -src_test() {
73 - if has sandbox ${FEATURES}; then
74 - ewarn "\'FEATURES=sandbox\' detected"
75 - ewarn "Bear overrides LD_PRELOAD and conflicts with gentoo sandbox"
76 - ewarn "Skipping tests"
77 - elif
78 - has usersandbox ${FEATURES}; then
79 - ewarn "\'FEATURES=usersandbox\' detected"
80 - ewarn "Skipping tests"
81 - elif
82 - has_version -b 'sys-devel/gcc-config[-native-symlinks]'; then
83 - ewarn "\'sys-devel/gcc-config[-native-symlinks]\' detected, tests call /usr/bin/cc directly (hardcoded)"
84 - ewarn "and will fail without generic cc symlink"
85 - ewarn "Skipping tests"
86 - else
87 - einfo "removing unwanted/unsupported/xfail tests"
88 - rm -v test/functional/cases/{end-to-end/scons.ft,intercept/cuda/successful_build.fts,run_pep8.ft} || die
89 - einfo "test may use optional tools if found: qmake gfortran"
90 - cmake_build check
91 - fi
92 -}