From 6399d329b6c6206e7f642fd3e70067cb971e683f Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 21 Apr 2021 21:01:58 -0700 Subject: dev-util/bear: bump to 3.0.11 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev --- dev-util/bear/Manifest | 2 +- dev-util/bear/bear-3.0.10.ebuild | 86 ---------------------------------------- dev-util/bear/bear-3.0.11.ebuild | 86 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 87 deletions(-) delete mode 100644 dev-util/bear/bear-3.0.10.ebuild create mode 100644 dev-util/bear/bear-3.0.11.ebuild (limited to 'dev-util/bear') diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest index 8e01ff47b80d..02761498f4b9 100644 --- a/dev-util/bear/Manifest +++ b/dev-util/bear/Manifest @@ -1,3 +1,3 @@ DIST bear-2.4.3.tar.gz 49933 BLAKE2B 2a91c30d81f9d0e58a25458579f6b0c867c07d2e532bd2ed29305645e152bd564156f708c4a07a683577412b3fdab1f106685ecf1ad88eaad2f33f0bc43a5baa SHA512 a4690cfc9938d8752ca5c8322ca4c5039746ade059e4459e7f3f91b2bf3d36ea691a5d855cab7a4e7ad8ff76478c48c4394593e069a1cf8396ead41017421753 DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5 -DIST bear-3.0.10.tar.gz 117101 BLAKE2B fcf60a9b642f1583392689e70cb744119d243c3799c7bdfa8381386b32af4f27e4366775a2b718ff49552b1823d5b7550eb2a0e994dc863c978bc13552e38e30 SHA512 9a7a2a7ed6fa0f67457e6678c991fe945b0a54acb3b681ea09d901adcde26da72721073d81b31a2721e94dd83e73e86af49ea195e1d15cdbfa5ae40cc229af96 +DIST bear-3.0.11.tar.gz 118678 BLAKE2B 209d904a84363a87e566798dcd65ffed96cdbf3d2e753af8dc2706adb995d2999bc112eabb88db28791cbb245c373eb330cf9c20d3d886bb2caeb5c01150e65d SHA512 6d362aede911a8ad35be30638a698579582ca5de770a7c3199bb205046f08f355387099261b8d857188d526ab62024f78e3d06a225734c5f9acca03e5dfea1ec diff --git a/dev-util/bear/bear-3.0.10.ebuild b/dev-util/bear/bear-3.0.10.ebuild deleted file mode 100644 index 7e4916e9e4cf..000000000000 --- a/dev-util/bear/bear-3.0.10.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit cmake 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" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" -IUSE="test" - -RDEPEND=" - >=dev-cpp/nlohmann_json-3.7:= - >=dev-db/sqlite-3.14:= - >=dev-libs/libfmt-6.2 - >=dev-libs/spdlog-1.5 - >=net-libs/grpc-1.26 -" - -DEPEND="${RDEPEND} - test? ( - >=dev-cpp/gtest-1.10 - ) -" - -BDEPEND="test? ( - $(python_gen_any_dep ' - dev-python/lit[${PYTHON_USEDEP}] - ') -)" - -RESTRICT="!test? ( test )" - -S="${WORKDIR}/${P^}" - -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() { - local mycmakeargs=( - -DENABLE_UNIT_TESTS="$(usex test ON OFF)" - -DENABLE_FUNC_TESTS="$(usex test ON OFF)" - ) - 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.0.11.ebuild b/dev-util/bear/bear-3.0.11.ebuild new file mode 100644 index 000000000000..7e4916e9e4cf --- /dev/null +++ b/dev-util/bear/bear-3.0.11.ebuild @@ -0,0 +1,86 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit cmake 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" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="test" + +RDEPEND=" + >=dev-cpp/nlohmann_json-3.7:= + >=dev-db/sqlite-3.14:= + >=dev-libs/libfmt-6.2 + >=dev-libs/spdlog-1.5 + >=net-libs/grpc-1.26 +" + +DEPEND="${RDEPEND} + test? ( + >=dev-cpp/gtest-1.10 + ) +" + +BDEPEND="test? ( + $(python_gen_any_dep ' + dev-python/lit[${PYTHON_USEDEP}] + ') +)" + +RESTRICT="!test? ( test )" + +S="${WORKDIR}/${P^}" + +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() { + local mycmakeargs=( + -DENABLE_UNIT_TESTS="$(usex test ON OFF)" + -DENABLE_FUNC_TESTS="$(usex test ON OFF)" + ) + 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 +} -- cgit v1.2.3-65-gdbad