commit:     4596e727ba20273cd77d6813f55f6eb84fa70bd7
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 14 09:51:35 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 09:52:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4596e727

dev-util/bear: drop 3.1.3, 3.1.4

Closes: https://github.com/gentoo/gentoo/pull/38592
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-util/bear/Manifest          |  1 -
 dev-util/bear/bear-3.1.3.ebuild | 93 -----------------------------------------
 dev-util/bear/bear-3.1.4.ebuild | 93 -----------------------------------------
 3 files changed, 187 deletions(-)

diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 80708b32dbc4..5e3903a5bc18 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +1 @@
-DIST bear-3.1.3.tar.gz 127766 BLAKE2B 
8fdb5b9bf8e1e026df2296b0d45f23ce1a9157dda28b2656d36c0799e2f02965711ecdf09780d075e18965afc6a771dbf26501e9e1e3b26f4784d4191e168748
 SHA512 
34039b51a7cd636bdb7fb716f69d6c70de3e7bfc5e2c83a3040942010fb7effe49b0afa0d29be182eb550d57b024fbe5bea779a7fda5f86201865bf491ba1672
 DIST bear-3.1.4.tar.gz 127672 BLAKE2B 
18deb1172fcd8afdf4721a04b5d72b182190afd92d645841023033d187c812a0a30805af2bfb67b794ab8a8f0ca42965bebab6d035e95e2a25c5fccfe48a1afd
 SHA512 
c63da7586d25a64dd8b3ff82f37505b36071dd064deb973c012840bc52ff6aec861fca21422b86b11629e86dc43d156b233d21b01e689369f0726799083afa98

diff --git a/dev-util/bear/bear-3.1.3.ebuild b/dev-util/bear/bear-3.1.3.ebuild
deleted file mode 100644
index 4055d23ea291..000000000000
--- a/dev-util/bear/bear-3.1.3.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit cmake multiprocessing python-any-r1
-
-DESCRIPTION="Build EAR generates a compilation database for clang tooling"
-HOMEPAGE="https://github.com/rizsotto/Bear";
-SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${P^}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=dev-cpp/nlohmann_json-3.11.2:=
-       >=dev-db/sqlite-3.14:=
-       >=dev-libs/libfmt-9.1.0:=
-       dev-libs/protobuf:=
-       >=dev-libs/spdlog-1.11.0:=
-       >=net-libs/grpc-1.49.2:=
-"
-
-DEPEND="
-       ${RDEPEND}
-       test? (
-               >=dev-cpp/gtest-1.13
-       )
-"
-
-BDEPEND="
-       virtual/pkgconfig
-       test? (
-               dev-build/libtool
-               $(python_gen_any_dep '
-                       dev-python/lit[${PYTHON_USEDEP}]
-               ')
-       )
-"
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       cmake_src_prepare
-       # Turn off testing before installation
-       sed -i 's/TEST_BEFORE_INSTALL/TEST_EXCLUDE_FROM_MAIN/g' CMakeLists.txt 
|| die
-}
-
-src_configure() {
-       # TODO: remove this when https://bugs.gentoo.org/928346 is fixed
-       export CMAKE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs)
-
-       local mycmakeargs=(
-               -DENABLE_UNIT_TESTS="$(usex test)"
-               -DENABLE_FUNC_TESTS="$(usex test)"
-       )
-       cmake_src_configure
-}
-
-src_test() {
-       if has sandbox ${FEATURES}; then
-               ewarn "\'FEATURES=sandbox\' detected"
-               ewarn "Bear overrides LD_PRELOAD and conflicts with gentoo 
sandbox"
-               ewarn "Skipping tests"
-       elif
-               has usersandbox ${FEATURES}; then
-               ewarn "\'FEATURES=usersandbox\' detected"
-               ewarn "Skipping tests"
-       elif
-               has network-sandbox ${FEATURES}; then
-               ewarn "\'FEATURES=network-sandbox\' detected"
-               ewarn "Skipping tests"
-       elif
-               has_version -b 'sys-devel/gcc-config[-native-symlinks]'; then
-               ewarn "\'sys-devel/gcc-config[-native-symlinks]\' detected, 
tests call /usr/bin/cc directly (hardcoded)"
-               ewarn "and will fail without generic cc symlink"
-               ewarn "Skipping tests"
-       else
-               einfo "test may use optional tools if found: qmake gfortran 
valgrind"
-               # unit tests
-               cmake_run_in "${BUILD_DIR}/subprojects/Build/BearSource" ctest 
--verbose
-               # functional tests
-               cmake_run_in "${BUILD_DIR}/subprojects/Build/BearTest" ctest 
--verbose
-       fi
-}

diff --git a/dev-util/bear/bear-3.1.4.ebuild b/dev-util/bear/bear-3.1.4.ebuild
deleted file mode 100644
index 6abba52decd6..000000000000
--- a/dev-util/bear/bear-3.1.4.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 2020-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit cmake multiprocessing python-any-r1
-
-DESCRIPTION="Build EAR generates a compilation database for clang tooling"
-HOMEPAGE="https://github.com/rizsotto/Bear";
-SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${P^}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       dev-cpp/abseil-cpp:=
-       >=dev-cpp/nlohmann_json-3.11.2:=
-       >=dev-libs/libfmt-9.1.0:=
-       dev-libs/protobuf:=
-       >=dev-libs/spdlog-1.11.0:=
-       >=net-libs/grpc-1.49.2:=
-"
-
-DEPEND="
-       ${RDEPEND}
-       test? (
-               >=dev-cpp/gtest-1.13
-       )
-"
-
-BDEPEND="
-       virtual/pkgconfig
-       test? (
-               dev-build/libtool
-               $(python_gen_any_dep '
-                       dev-python/lit[${PYTHON_USEDEP}]
-               ')
-       )
-"
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       cmake_src_prepare
-       # Turn off testing before installation
-       sed -i 's/TEST_BEFORE_INSTALL/TEST_EXCLUDE_FROM_MAIN/g' CMakeLists.txt 
|| die
-}
-
-src_configure() {
-       # TODO: remove this when https://bugs.gentoo.org/928346 is fixed
-       export CMAKE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs)
-
-       local mycmakeargs=(
-               -DENABLE_UNIT_TESTS="$(usex test)"
-               -DENABLE_FUNC_TESTS="$(usex test)"
-       )
-       cmake_src_configure
-}
-
-src_test() {
-       if has sandbox ${FEATURES}; then
-               ewarn "\'FEATURES=sandbox\' detected"
-               ewarn "Bear overrides LD_PRELOAD and conflicts with gentoo 
sandbox"
-               ewarn "Skipping tests"
-       elif
-               has usersandbox ${FEATURES}; then
-               ewarn "\'FEATURES=usersandbox\' detected"
-               ewarn "Skipping tests"
-       elif
-               has network-sandbox ${FEATURES}; then
-               ewarn "\'FEATURES=network-sandbox\' detected"
-               ewarn "Skipping tests"
-       elif
-               has_version -b 'sys-devel/gcc-config[-native-symlinks]'; then
-               ewarn "\'sys-devel/gcc-config[-native-symlinks]\' detected, 
tests call /usr/bin/cc directly (hardcoded)"
-               ewarn "and will fail without generic cc symlink"
-               ewarn "Skipping tests"
-       else
-               einfo "test may use optional tools if found: qmake gfortran 
valgrind"
-               # unit tests
-               cmake_run_in "${BUILD_DIR}/subprojects/Build/BearSource" ctest 
--verbose
-               # functional tests
-               cmake_run_in "${BUILD_DIR}/subprojects/Build/BearTest" ctest 
--verbose
-       fi
-}

Reply via email to