* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-10-22 11:26 Yixun Lan
0 siblings, 0 replies; 52+ messages in thread
From: Yixun Lan @ 2022-10-22 11:26 UTC (permalink / raw
To: gentoo-commits
commit: c1e3aeb20227963a187af9b7f38c7e27e4ac44be
Author: Xin Yang <yangmame <AT> icloud <DOT> com>
AuthorDate: Sat Oct 22 09:44:41 2022 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 11:25:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e3aeb2
dev-util/bear: keyword 3.0.19 riscv, #877899
Closes: https://github.com/gentoo/gentoo/pull/27892
Signed-off-by: Xin Yang <yangmame <AT> icloud.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
dev-util/bear/bear-3.0.19.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.19.ebuild b/dev-util/bear/bear-3.0.19.ebuild
index 71c521da77db..9ac6d7e10574 100644
--- a/dev-util/bear/bear-3.0.19.ebuild
+++ b/dev-util/bear/bear-3.0.19.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
IUSE="test"
RDEPEND="
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-11-18 9:07 Petr Vaněk
0 siblings, 0 replies; 52+ messages in thread
From: Petr Vaněk @ 2024-11-18 9:07 UTC (permalink / raw
To: gentoo-commits
commit: 9a578c2afc7eae26280483c467c5a91afb4fec3c
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sat Oct 12 23:46:35 2024 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 09:06:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a578c2a
dev-util/bear: add 3.1.5
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/38963
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.1.5.ebuild | 113 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 5e3903a5bc18..4b6cbb75bce1 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1 +1,2 @@
DIST bear-3.1.4.tar.gz 127672 BLAKE2B 18deb1172fcd8afdf4721a04b5d72b182190afd92d645841023033d187c812a0a30805af2bfb67b794ab8a8f0ca42965bebab6d035e95e2a25c5fccfe48a1afd SHA512 c63da7586d25a64dd8b3ff82f37505b36071dd064deb973c012840bc52ff6aec861fca21422b86b11629e86dc43d156b233d21b01e689369f0726799083afa98
+DIST bear-3.1.5.tar.gz 152228 BLAKE2B 64d03d1ca5b1473e4d0b2106969285a2391471a0027cf387c72fe70769293fa361196cb1d37ebb528d27b5741b792472fad09688761ab7f73dc0ea7db96d8be1 SHA512 acf233f7bb8215694734b6c947c965323c0a5ea0c2a6bbb210a37e38fdf545326ca8de3a7b31ce81469756afd1c02233775ddc5936fd04132f216def6e3ce1de
diff --git a/dev-util/bear/bear-3.1.5.ebuild b/dev-util/bear/bear-3.1.5.ebuild
new file mode 100644
index 000000000000..b3a0ae0c42c0
--- /dev/null
+++ b/dev-util/bear/bear-3.1.5.ebuild
@@ -0,0 +1,113 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit cuda 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="cuda test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/libfmt-9.1.0:=
+ dev-libs/protobuf:=
+ >=dev-libs/spdlog-1.11.0:=
+ >=net-libs/grpc-1.49.2:=
+ cuda? ( dev-util/nvidia-cuda-toolkit )
+"
+
+DEPEND="
+ ${RDEPEND}
+ >=dev-cpp/nlohmann_json-3.11.2:=
+ test? (
+ >=dev-cpp/gtest-1.13
+ )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ dev-build/libtool
+ $(python_gen_any_dep '
+ dev-python/lit[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1.4-tests.patch"
+ "${FILESDIR}/${PN}-3.1.4-reduce-grpc-verbosity.patch"
+)
+
+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 "tests will fail"
+ fi
+ if has usersandbox "${FEATURES}"; then
+ ewarn "FEATURES=usersandbox detected"
+ ewarn "tests will fail"
+ fi
+ if
+ has network-sandbox "${FEATURES}"; then
+ ewarn "FEATURES=network-sandbox detected"
+ ewarn "tests will fail"
+ fi
+ if
+ 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"
+ fi
+
+ einfo "test may use optional tools if found: gfortran libtool nvcc valgrind"
+
+ # unit tests
+ BUILD_DIR="${BUILD_DIR}/subprojects/Build/BearSource" cmake_src_test
+
+ # functional tests
+ if use cuda; then
+ NVCC_CCBIN="$(cuda_gccdir)"
+ export NVCC_CCBIN
+ else
+ LIT_SKIP_TESTS+=( "cases/compilation/output/compile_cuda.sh" )
+ fi
+
+ mylitopts+=(-j "$(makeopts_jobs)" )
+ [[ -n "${LIT_SKIP_TESTS[*]}" ]] && mylitopts+=( --filter-out "($( IFS='|'; echo "${LIT_SKIP_TESTS[*]}"))" )
+
+ export LIT_OPTS="${mylitopts[*]}"
+
+ BUILD_DIR="${BUILD_DIR}/subprojects/Build/BearTest" cmake_src_test
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-11-18 9:07 Petr Vaněk
0 siblings, 0 replies; 52+ messages in thread
From: Petr Vaněk @ 2024-11-18 9:07 UTC (permalink / raw
To: gentoo-commits
commit: 734f7d72af7ccd2f2197d23862f49245b5f28e04
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 08:59:01 2024 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 09:06:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=734f7d72
dev-util/bear: restrict <libfmt-11 in 3.1.4
Bear 3.1.4 fails to build with libfmt 11 [1]. The issue was fixed in
[2], which is part of 3.1.5 release.
[1] https://github.com/rizsotto/Bear/issues/592
[2] https://github.com/rizsotto/Bear/commit/8afeafe61299c87449023d63336389f159b55808
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
dev-util/bear/{bear-3.1.4-r1.ebuild => bear-3.1.4-r2.ebuild} | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-util/bear/bear-3.1.4-r1.ebuild b/dev-util/bear/bear-3.1.4-r2.ebuild
similarity index 97%
rename from dev-util/bear/bear-3.1.4-r1.ebuild
rename to dev-util/bear/bear-3.1.4-r2.ebuild
index ed91401baefe..10a1423f03cb 100644
--- a/dev-util/bear/bear-3.1.4-r1.ebuild
+++ b/dev-util/bear/bear-3.1.4-r2.ebuild
@@ -18,8 +18,10 @@ KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="cuda test"
RESTRICT="!test? ( test )"
+# <libfmt-11 https://github.com/rizsotto/Bear/issues/592
RDEPEND="
>=dev-libs/libfmt-9.1.0:=
+ <dev-libs/libfmt-11
dev-libs/protobuf:=
>=dev-libs/spdlog-1.11.0:=
>=net-libs/grpc-1.49.2:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-09-14 9:53 Florian Schmaus
0 siblings, 0 replies; 52+ messages in thread
From: Florian Schmaus @ 2024-09-14 9:53 UTC (permalink / raw
To: gentoo-commits
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
-}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-09-13 19:33 Arthur Zamarin
0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2024-09-13 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 20121339f5081aed171bd35d840c4b5eac6b81ce
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 19:33:48 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 19:33:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20121339
dev-util/bear: Stabilize 3.1.4-r1 x86, #939594
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-util/bear/bear-3.1.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.4-r1.ebuild b/dev-util/bear/bear-3.1.4-r1.ebuild
index 94032f1f0113..ed91401baefe 100644
--- a/dev-util/bear/bear-3.1.4-r1.ebuild
+++ b/dev-util/bear/bear-3.1.4-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P^}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="cuda test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-09-13 19:33 Arthur Zamarin
0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2024-09-13 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 30b80dd059d90d5a6beb7c14da5e2fc96038da5f
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 19:33:47 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 19:33:47 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b80dd0
dev-util/bear: Stabilize 3.1.4-r1 amd64, #939594
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-util/bear/bear-3.1.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.4-r1.ebuild b/dev-util/bear/bear-3.1.4-r1.ebuild
index b3a0ae0c42c0..94032f1f0113 100644
--- a/dev-util/bear/bear-3.1.4-r1.ebuild
+++ b/dev-util/bear/bear-3.1.4-r1.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P^}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="cuda test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-08-13 13:05 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2024-08-13 13:05 UTC (permalink / raw
To: gentoo-commits
commit: 2b87f69dcdec90f7fa9fb9cba0b2f8c19a26817d
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Jul 9 13:47:17 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 13:03:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b87f69d
dev-util/bear: fix 3.1.4-r1 test
Typo from using cmake.eclass code.
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/bear-3.1.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.4-r1.ebuild b/dev-util/bear/bear-3.1.4-r1.ebuild
index d573a78f9b17..4dfcf1c91fa8 100644
--- a/dev-util/bear/bear-3.1.4-r1.ebuild
+++ b/dev-util/bear/bear-3.1.4-r1.ebuild
@@ -104,7 +104,7 @@ src_test() {
fi
mylitopts+=(-j "$(makeopts_jobs)" )
- [[ -n "${LIT_SKIP_TESTS[*]}" ]] && mylitopts+=( --filter-out "($( IFS='|'; echo "${CMAKE_SKIP_TESTS[*]}"))" )
+ [[ -n "${LIT_SKIP_TESTS[*]}" ]] && mylitopts+=( --filter-out "($( IFS='|'; echo "${LIT_SKIP_TESTS[*]}"))" )
export LIT_OPTS="${mylitopts[*]}"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-07-03 5:30 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2024-07-03 5:30 UTC (permalink / raw
To: gentoo-commits
commit: fc815399a844265855f7b5faaa56e1a608fc8056
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sat May 25 20:59:08 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 3 05:30:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc815399
dev-util/bear: add 3.1.4
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/36816
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.1.4.ebuild | 93 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 7f7b17831dbd..80708b32dbc4 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1 +1,2 @@
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.4.ebuild b/dev-util/bear/bear-3.1.4.ebuild
new file mode 100644
index 000000000000..6abba52decd6
--- /dev/null
+++ b/dev-util/bear/bear-3.1.4.ebuild
@@ -0,0 +1,93 @@
+# 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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-05-12 15:41 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-05-12 15:41 UTC (permalink / raw
To: gentoo-commits
commit: 41f5c04c2d0abf278d1e140a8b1d703d57cf3f62
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 15:40:30 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 15:40:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f5c04c
dev-util/bear: Stabilize 3.1.3 amd64, #931789
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/bear-3.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.3.ebuild b/dev-util/bear/bear-3.1.3.ebuild
index f00fc1e688f8..efc81655b48c 100644
--- a/dev-util/bear/bear-3.1.3.ebuild
+++ b/dev-util/bear/bear-3.1.3.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P^}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-05-12 15:41 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-05-12 15:41 UTC (permalink / raw
To: gentoo-commits
commit: 13dd33f56b3f93011fa802d1432bd4dfa22f3aa3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 15:40:32 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 15:40:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13dd33f5
dev-util/bear: Stabilize 3.1.3 x86, #931789
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/bear-3.1.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.3.ebuild b/dev-util/bear/bear-3.1.3.ebuild
index efc81655b48c..4055d23ea291 100644
--- a/dev-util/bear/bear-3.1.3.ebuild
+++ b/dev-util/bear/bear-3.1.3.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P^}"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-04-01 7:14 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2024-04-01 7:14 UTC (permalink / raw
To: gentoo-commits
commit: 34734a17a456ded2122211876e2ff3612ee259d1
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sun Mar 31 15:47:47 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 1 07:13:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34734a17
dev-util/bear: limit parallelism
I can't find a way to pass -l through cmake --build of ExternalProject,
but at least it passes -j now
[sam: added Bug: tag.]
Bug: https://bugs.gentoo.org/928346
Closes: https://bugs.gentoo.org/922199
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/36016
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/bear-3.1.3.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.3.ebuild b/dev-util/bear/bear-3.1.3.ebuild
index c9917bdeddae..f00fc1e688f8 100644
--- a/dev-util/bear/bear-3.1.3.ebuild
+++ b/dev-util/bear/bear-3.1.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit cmake python-any-r1
+inherit cmake multiprocessing python-any-r1
DESCRIPTION="Build EAR generates a compilation database for clang tooling"
HOMEPAGE="https://github.com/rizsotto/Bear"
@@ -55,6 +55,9 @@ src_prepare() {
}
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)"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2024-03-16 13:34 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2024-03-16 13:34 UTC (permalink / raw
To: gentoo-commits
commit: ec6fa6712907bc5e80c8beb60c19eb2999e55070
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sat Feb 17 13:56:58 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 13:34:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6fa671
dev-util/bear: add myself as a maintainer
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/35393
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/metadata.xml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dev-util/bear/metadata.xml b/dev-util/bear/metadata.xml
index d8aa9d5eb352..49faddbc65c4 100644
--- a/dev-util/bear/metadata.xml
+++ b/dev-util/bear/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>alexey+gentoo@asokolov.org</email>
+ <name>Alexey Sokolov</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<longdescription lang="en">
Bear is a tool that generates a compilation database for clang tooling.
The concept behind Bear is: to execute the original build command and intercept the exec calls issued by the build tool.
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-09-15 6:06 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-09-15 6:06 UTC (permalink / raw
To: gentoo-commits
commit: 41f6df8ee577515b240d33e603a9a5b2a710576d
Author: Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Fri Sep 1 04:18:14 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 06:03:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f6df8e
dev-util/bear: add 3.1.3
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Closes: https://github.com/gentoo/gentoo/pull/32546
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.1.3.ebuild | 90 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 91 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 2fd6ec1a7c9d..9425105b679e 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,3 +1,4 @@
DIST bear-3.0.20.tar.gz 125393 BLAKE2B 826a774beeb0596038f69b345a3659fe58f897bdb1a63f5faeac1d4242ae3cf4bf346ab82d2f87934d0786e5c0d4e835837b838a62f5a92c28ffe5e6a3d6a900 SHA512 4cf0e648b73fd4c0ac109c4a853e203efccb34ac7373d6c2f3ee3d5089853b791008990df768871dfd1268324bcce97c44657b4c3a2d1383134cba3eaec40bdd
DIST bear-3.0.21.tar.gz 125827 BLAKE2B f7dcd383f27c370edb2fa0225e8337b2abe086df25a0272f61051600c017527b4079750328cb811b6967ad6fab51647909333eb1d084e24060fe56ca1036e40d SHA512 9fe43a52fb30b7b413244576c6ea0d493bb720e54d0b6263280224efef4b0432dee46697df160ba7e76bc1a5c8735fe814e0eb686ed797658b563bcb8c5bb7e5
DIST bear-3.1.2.tar.gz 127197 BLAKE2B b9ef373aab194f0e7330c5f457b88e3c11bb3b202940eff65ecbae79b123254df9629c06f4781570b19675834be80fba041b070820663a6b9a747fc6d269be25 SHA512 02701e8a53b9d776ca838248f5b5d149d7ded6e024ce65bd1ca3b440ab1bf95691dc3d36bb28f043ce24bc1da6e666fb022ff92fa9df7c3142451742de16ca3e
+DIST bear-3.1.3.tar.gz 127766 BLAKE2B 8fdb5b9bf8e1e026df2296b0d45f23ce1a9157dda28b2656d36c0799e2f02965711ecdf09780d075e18965afc6a771dbf26501e9e1e3b26f4784d4191e168748 SHA512 34039b51a7cd636bdb7fb716f69d6c70de3e7bfc5e2c83a3040942010fb7effe49b0afa0d29be182eb550d57b024fbe5bea779a7fda5f86201865bf491ba1672
diff --git a/dev-util/bear/bear-3.1.3.ebuild b/dev-util/bear/bear-3.1.3.ebuild
new file mode 100644
index 000000000000..d07cd15e5151
--- /dev/null
+++ b/dev-util/bear/bear-3.1.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+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"
+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? (
+ sys-devel/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() {
+ 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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-07-07 10:14 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-07-07 10:14 UTC (permalink / raw
To: gentoo-commits
commit: a45fb485a876a5c4145f8a883f57ce7becd899a0
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 7 10:14:26 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 7 10:14:26 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a45fb485
dev-util/bear: Stabilize 3.1.2 x86, #909808
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/bear-3.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.2.ebuild b/dev-util/bear/bear-3.1.2.ebuild
index 558970d1d6eb..14d790f1e387 100644
--- a/dev-util/bear/bear-3.1.2.ebuild
+++ b/dev-util/bear/bear-3.1.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="test"
RDEPEND="
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-07-07 4:40 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-07-07 4:40 UTC (permalink / raw
To: gentoo-commits
commit: 71b132c297878bb0eefe1b34b9c1da5f0ff23dad
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 7 04:40:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 7 04:40:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b132c2
dev-util/bear: Stabilize 3.1.2 amd64, #909808
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/bear-3.1.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.1.2.ebuild b/dev-util/bear/bear-3.1.2.ebuild
index a02a930c0f9c..558970d1d6eb 100644
--- a/dev-util/bear/bear-3.1.2.ebuild
+++ b/dev-util/bear/bear-3.1.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="test"
RDEPEND="
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-06-06 6:41 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-06-06 6:41 UTC (permalink / raw
To: gentoo-commits
commit: 66d6ab30d3a32ac1d7863818c70422afa11b63a4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 6 06:39:49 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 06:41:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d6ab30
dev-util/bear: add 3.1.2
Closes: https://bugs.gentoo.org/896058
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.1.2.ebuild | 95 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 82b0fe16290c..2fd6ec1a7c9d 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +1,3 @@
DIST bear-3.0.20.tar.gz 125393 BLAKE2B 826a774beeb0596038f69b345a3659fe58f897bdb1a63f5faeac1d4242ae3cf4bf346ab82d2f87934d0786e5c0d4e835837b838a62f5a92c28ffe5e6a3d6a900 SHA512 4cf0e648b73fd4c0ac109c4a853e203efccb34ac7373d6c2f3ee3d5089853b791008990df768871dfd1268324bcce97c44657b4c3a2d1383134cba3eaec40bdd
DIST bear-3.0.21.tar.gz 125827 BLAKE2B f7dcd383f27c370edb2fa0225e8337b2abe086df25a0272f61051600c017527b4079750328cb811b6967ad6fab51647909333eb1d084e24060fe56ca1036e40d SHA512 9fe43a52fb30b7b413244576c6ea0d493bb720e54d0b6263280224efef4b0432dee46697df160ba7e76bc1a5c8735fe814e0eb686ed797658b563bcb8c5bb7e5
+DIST bear-3.1.2.tar.gz 127197 BLAKE2B b9ef373aab194f0e7330c5f457b88e3c11bb3b202940eff65ecbae79b123254df9629c06f4781570b19675834be80fba041b070820663a6b9a747fc6d269be25 SHA512 02701e8a53b9d776ca838248f5b5d149d7ded6e024ce65bd1ca3b440ab1bf95691dc3d36bb28f043ce24bc1da6e666fb022ff92fa9df7c3142451742de16ca3e
diff --git a/dev-util/bear/bear-3.1.2.ebuild b/dev-util/bear/bear-3.1.2.ebuild
new file mode 100644
index 000000000000..a02a930c0f9c
--- /dev/null
+++ b/dev-util/bear/bear-3.1.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+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 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="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? (
+ sys-devel/libtool
+ $(python_gen_any_dep '
+ dev-python/lit[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${P^}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0.21-libfmt-10.0.0.patch
+)
+
+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)"
+ -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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-04-25 14:56 Arthur Zamarin
0 siblings, 0 replies; 52+ messages in thread
From: Arthur Zamarin @ 2023-04-25 14:56 UTC (permalink / raw
To: gentoo-commits
commit: 221331585e1fdea30e8f0f9d0538cf9bb1994eb1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 14:56:34 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 14:56:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22133158
dev-util/bear: Keyword 3.0.21 arm64, #905038
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-util/bear/bear-3.0.21.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.21.ebuild b/dev-util/bear/bear-3.0.21.ebuild
index 6b0aff0cffe9..6a865c940fcb 100644
--- a/dev-util/bear/bear-3.0.21.ebuild
+++ b/dev-util/bear/bear-3.0.21.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="test"
RDEPEND="
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-02-16 5:52 WANG Xuerui
0 siblings, 0 replies; 52+ messages in thread
From: WANG Xuerui @ 2023-02-16 5:52 UTC (permalink / raw
To: gentoo-commits
commit: f1074163bbcd77c50200203ee9fb9f713be61693
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 08:47:49 2023 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 05:51:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1074163
dev-util/bear: keyword 3.0.21 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
dev-util/bear/bear-3.0.21.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.21.ebuild b/dev-util/bear/bear-3.0.21.ebuild
index cf921dc9e0cb..14481878c2f2 100644
--- a/dev-util/bear/bear-3.0.21.ebuild
+++ b/dev-util/bear/bear-3.0.21.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86"
IUSE="test"
RDEPEND="
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2023-02-07 2:59 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2023-02-07 2:59 UTC (permalink / raw
To: gentoo-commits
commit: bbf79fd157fdd86da7759664fa90492e753939cd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 7 02:57:36 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 7 02:59:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf79fd1
dev-util/bear: add 3.0.21
Updated min. versions to bundled copies.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.21.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index ae15db499318..82b0fe16290c 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1 +1,2 @@
DIST bear-3.0.20.tar.gz 125393 BLAKE2B 826a774beeb0596038f69b345a3659fe58f897bdb1a63f5faeac1d4242ae3cf4bf346ab82d2f87934d0786e5c0d4e835837b838a62f5a92c28ffe5e6a3d6a900 SHA512 4cf0e648b73fd4c0ac109c4a853e203efccb34ac7373d6c2f3ee3d5089853b791008990df768871dfd1268324bcce97c44657b4c3a2d1383134cba3eaec40bdd
+DIST bear-3.0.21.tar.gz 125827 BLAKE2B f7dcd383f27c370edb2fa0225e8337b2abe086df25a0272f61051600c017527b4079750328cb811b6967ad6fab51647909333eb1d084e24060fe56ca1036e40d SHA512 9fe43a52fb30b7b413244576c6ea0d493bb720e54d0b6263280224efef4b0432dee46697df160ba7e76bc1a5c8735fe814e0eb686ed797658b563bcb8c5bb7e5
diff --git a/dev-util/bear/bear-3.0.21.ebuild b/dev-util/bear/bear-3.0.21.ebuild
new file mode 100644
index 000000000000..cf921dc9e0cb
--- /dev/null
+++ b/dev-util/bear/bear-3.0.21.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+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 ~riscv ~x86"
+IUSE="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.10
+ )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ sys-devel/libtool
+ $(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)"
+ -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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-12-21 23:09 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2022-12-21 23:09 UTC (permalink / raw
To: gentoo-commits
commit: f71f82592977e587d17d9078bedec005cca81ff3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 21 23:05:39 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 21 23:05:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71f8259
dev-util/bear: add subslot dep on dev-libs/spdlog
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/{bear-3.0.20.ebuild => bear-3.0.20-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.20.ebuild b/dev-util/bear/bear-3.0.20-r1.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.20.ebuild
rename to dev-util/bear/bear-3.0.20-r1.ebuild
index b5097f2c2007..46a19355ce1b 100644
--- a/dev-util/bear/bear-3.0.20.ebuild
+++ b/dev-util/bear/bear-3.0.20-r1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
>=dev-db/sqlite-3.14:=
dev-libs/libfmt:=
dev-libs/protobuf:=
- >=dev-libs/spdlog-1.5
+ >=dev-libs/spdlog-1.5:=
>=net-libs/grpc-1.26:=
"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-11-10 7:58 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2022-11-10 7:58 UTC (permalink / raw
To: gentoo-commits
commit: 921eead920ebbe9bce2f67d097f9aef5dd79415a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 07:57:37 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 07:57:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921eead9
dev-util/bear: add 3.0.20
Closes: https://bugs.gentoo.org/861176
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.20.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index c654704a0b5f..b33a606156fb 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +1,3 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
DIST bear-3.0.19.tar.gz 125086 BLAKE2B 0c6a27359e8c88ab0dbaa3f5442a87efeaba4f6a9b8d0912ad026231421e2555a524b194a19972f549600951bc1f6620398c48338f7eac8850ba6c3969f2e6ac SHA512 688766a76cc3bee1dc82478d29d6e8754618f92633c842586fce95f2f1096764902ffd64a6f2f59101e58eba5472bf39ddb178c3dfcd48491fa4eb63d111585c
+DIST bear-3.0.20.tar.gz 125393 BLAKE2B 826a774beeb0596038f69b345a3659fe58f897bdb1a63f5faeac1d4242ae3cf4bf346ab82d2f87934d0786e5c0d4e835837b838a62f5a92c28ffe5e6a3d6a900 SHA512 4cf0e648b73fd4c0ac109c4a853e203efccb34ac7373d6c2f3ee3d5089853b791008990df768871dfd1268324bcce97c44657b4c3a2d1383134cba3eaec40bdd
diff --git a/dev-util/bear/bear-3.0.20.ebuild b/dev-util/bear/bear-3.0.20.ebuild
new file mode 100644
index 000000000000..d4c5a6e6cc28
--- /dev/null
+++ b/dev-util/bear/bear-3.0.20.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+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 ~riscv ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-cpp/nlohmann_json-3.7.3:=
+ >=dev-db/sqlite-3.14:=
+ dev-libs/libfmt:=
+ dev-libs/protobuf:=
+ >=dev-libs/spdlog-1.5
+ >=net-libs/grpc-1.26:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ >=dev-cpp/gtest-1.10
+ )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ sys-devel/libtool
+ $(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)"
+ -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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-07-06 19:33 Sam James
0 siblings, 0 replies; 52+ messages in thread
From: Sam James @ 2022-07-06 19:33 UTC (permalink / raw
To: gentoo-commits
commit: 64a86eb89ec5cb4dced5e6b4a5df7cc6c8044b85
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 6 19:33:07 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 6 19:33:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64a86eb8
dev-util/bear: add libfmt version cap
Closes: https://bugs.gentoo.org/856715
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/bear/bear-3.0.17.ebuild | 4 ++--
dev-util/bear/bear-3.0.19.ebuild | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-util/bear/bear-3.0.17.ebuild b/dev-util/bear/bear-3.0.17.ebuild
index a4051dc0e04c..b31cd181b486 100644
--- a/dev-util/bear/bear-3.0.17.ebuild
+++ b/dev-util/bear/bear-3.0.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -19,7 +19,7 @@ IUSE="test"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2:=
+ <dev-libs/libfmt-9.0.0:=
dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
diff --git a/dev-util/bear/bear-3.0.19.ebuild b/dev-util/bear/bear-3.0.19.ebuild
index c13981978dd7..71c521da77db 100644
--- a/dev-util/bear/bear-3.0.19.ebuild
+++ b/dev-util/bear/bear-3.0.19.ebuild
@@ -19,7 +19,7 @@ IUSE="test"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7.3:=
>=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2:=
+ <dev-libs/libfmt-9.0.0:=
dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-07-04 17:56 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2022-07-04 17:56 UTC (permalink / raw
To: gentoo-commits
commit: 4d54f80a96731cb66a2a6d64ee2b07fffa819d78
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 4 17:56:10 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jul 4 17:56:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d54f80a
dev-util/bear: drop 3.0.16-r2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 -
dev-util/bear/bear-3.0.16-r2.ebuild | 87 -------------------------------------
2 files changed, 88 deletions(-)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 01b27cf96c00..75749bfbe8ca 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,4 +1,3 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
-DIST bear-3.0.16.tar.gz 122948 BLAKE2B bb720170488968e79d26b7022859a3a55f191661a65d8c5c1ce6120911919ffcd74a32035eebb419e4fe9a616f6dec1c66804445d9e8b243c7d26a87284f7776 SHA512 3906011aa01f42c7841046614e9f1972a39288749cbdeab4b55e517d48a05cb02a48be2b055b4ce65300ffa0a940609e713f55bd1a47ce4fc9a8cb2702487f07
DIST bear-3.0.17.tar.gz 123861 BLAKE2B 9dea85c7c0ec5ec4954d08147cdac31e0b28c9780281a544687340e6e226e5403ad82f74db0fb9edd3f65c9a982531afb612e1c744430735e6de97d8d29a2189 SHA512 08e50b04c87745ae60623c32de07e710ffb4e78d9978f13cca9d51929b45477c780f1fe47178569310dca20dab5fef49dbffdf17a087c388f111eb11ffadf5b1
DIST bear-3.0.19.tar.gz 125086 BLAKE2B 0c6a27359e8c88ab0dbaa3f5442a87efeaba4f6a9b8d0912ad026231421e2555a524b194a19972f549600951bc1f6620398c48338f7eac8850ba6c3969f2e6ac SHA512 688766a76cc3bee1dc82478d29d6e8754618f92633c842586fce95f2f1096764902ffd64a6f2f59101e58eba5472bf39ddb178c3dfcd48491fa4eb63d111585c
diff --git a/dev-util/bear/bear-3.0.16-r2.ebuild b/dev-util/bear/bear-3.0.16-r2.ebuild
deleted file mode 100644
index ce27dec8b196..000000000000
--- a/dev-util/bear/bear-3.0.16-r2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-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 ~x86"
-IUSE="test"
-
-RDEPEND="
- >=dev-cpp/nlohmann_json-3.7:=
- >=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2:=
- dev-libs/protobuf:=
- >=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
-}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-07-04 17:56 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2022-07-04 17:56 UTC (permalink / raw
To: gentoo-commits
commit: a781e48f72f4b3af2a6f76530993953b65a0e4ec
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 4 17:55:10 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jul 4 17:55:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a781e48f
dev-util/bear: add 3.0.19
Closes: https://bugs.gentoo.org/849104
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.19.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 01fadb98ab4f..01b27cf96c00 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,3 +1,4 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
DIST bear-3.0.16.tar.gz 122948 BLAKE2B bb720170488968e79d26b7022859a3a55f191661a65d8c5c1ce6120911919ffcd74a32035eebb419e4fe9a616f6dec1c66804445d9e8b243c7d26a87284f7776 SHA512 3906011aa01f42c7841046614e9f1972a39288749cbdeab4b55e517d48a05cb02a48be2b055b4ce65300ffa0a940609e713f55bd1a47ce4fc9a8cb2702487f07
DIST bear-3.0.17.tar.gz 123861 BLAKE2B 9dea85c7c0ec5ec4954d08147cdac31e0b28c9780281a544687340e6e226e5403ad82f74db0fb9edd3f65c9a982531afb612e1c744430735e6de97d8d29a2189 SHA512 08e50b04c87745ae60623c32de07e710ffb4e78d9978f13cca9d51929b45477c780f1fe47178569310dca20dab5fef49dbffdf17a087c388f111eb11ffadf5b1
+DIST bear-3.0.19.tar.gz 125086 BLAKE2B 0c6a27359e8c88ab0dbaa3f5442a87efeaba4f6a9b8d0912ad026231421e2555a524b194a19972f549600951bc1f6620398c48338f7eac8850ba6c3969f2e6ac SHA512 688766a76cc3bee1dc82478d29d6e8754618f92633c842586fce95f2f1096764902ffd64a6f2f59101e58eba5472bf39ddb178c3dfcd48491fa4eb63d111585c
diff --git a/dev-util/bear/bear-3.0.19.ebuild b/dev-util/bear/bear-3.0.19.ebuild
new file mode 100644
index 000000000000..c13981978dd7
--- /dev/null
+++ b/dev-util/bear/bear-3.0.19.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+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 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-cpp/nlohmann_json-3.7.3:=
+ >=dev-db/sqlite-3.14:=
+ >=dev-libs/libfmt-6.2:=
+ dev-libs/protobuf:=
+ >=dev-libs/spdlog-1.5
+ >=net-libs/grpc-1.26:=
+"
+
+DEPEND="${RDEPEND}
+ test? (
+ >=dev-cpp/gtest-1.10
+ )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ sys-devel/libtool
+ $(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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2022-04-08 5:25 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2022-04-08 5:25 UTC (permalink / raw
To: gentoo-commits
commit: 5ca05f960163078dfbd737ba42b4077fa8bf82be
Author: Denis Pronin <dannftk <AT> yandex <DOT> ru>
AuthorDate: Sat Mar 19 10:02:26 2022 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr 8 04:58:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ca05f96
dev-util/bear-2.4.4-r1: support python-3.10
enabled opportunity for a user to use python-3.10 for
dev-util/bear-2.4.4-r1
Closes: https://github.com/gentoo/gentoo/pull/24656
Signed-off-by: Denis Pronin <dannftk <AT> yandex.ru>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/bear-2.4.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-2.4.4-r1.ebuild b/dev-util/bear/bear-2.4.4-r1.ebuild
index af4cedd7fc4f..08fbed8fe87a 100644
--- a/dev-util/bear/bear-2.4.4-r1.ebuild
+++ b/dev-util/bear/bear-2.4.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8,9,10} )
inherit bash-completion-r1 cmake python-single-r1
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-12-24 12:08 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-12-24 12:08 UTC (permalink / raw
To: gentoo-commits
commit: 6dd01499da11cbde2878549b8e8a50226a07e070
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 24 12:07:25 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Dec 24 12:07:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd01499
dev-util/bear: drop 2.4.4
Bug: https://bugs.gentoo.org/829806
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/bear-2.4.4.ebuild | 71 -----------------------------------------
1 file changed, 71 deletions(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
deleted file mode 100644
index af4cedd7fc4f..000000000000
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit bash-completion-r1 cmake python-single-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 x86"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="test? (
- app-shells/bash
- $(python_gen_cond_dep '
- dev-python/lit[${PYTHON_USEDEP}]
- ')
-)"
-
-RDEPEND="${PYTHON_DEPS}"
-
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${P^}"
-
-src_configure() {
- local mycmakeargs=( -DUSE_SHELL_COMPLETION=OFF )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
- # need to fix it now, before tests are run
- python_fix_shebang "${BUILD_DIR}"/bear/bear
- python_fix_shebang test/functional/tools/cdb_diff.py
-}
-
-src_install() {
- cmake_src_install
- dobashcomp shell-completion/bash/bear
-}
-
-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_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 "removing unwanted/unsupported/xfail tests"
- rm -v test/functional/cases/{end-to-end/scons.ft,intercept/cuda/successful_build.fts,run_pep8.ft} || die
- einfo "test may use optional tools if found: qmake gfortran"
- cmake_build check
- fi
-}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-12-24 12:08 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-12-24 12:08 UTC (permalink / raw
To: gentoo-commits
commit: 7f9e2cc58269ddd27b1ff422045f7eb1bc06b592
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 24 12:03:25 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Dec 24 12:07:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9e2cc5
dev-util/bear: fix automagic completion installation
install with out eclass instead unconditionally
Closes: https://bugs.gentoo.org/829806
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-2.4.4.ebuild => bear-2.4.4-r1.ebuild} | 12 +++++++++++-
dev-util/bear/bear-2.4.4.ebuild | 12 +++++++++++-
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4-r1.ebuild
similarity index 88%
copy from dev-util/bear/bear-2.4.4.ebuild
copy to dev-util/bear/bear-2.4.4-r1.ebuild
index e7c189ffb934..af4cedd7fc4f 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
-inherit cmake python-single-r1
+inherit bash-completion-r1 cmake python-single-r1
DESCRIPTION="Build EAR generates a compilation database for clang tooling"
HOMEPAGE="https://github.com/rizsotto/Bear"
@@ -31,6 +31,11 @@ RESTRICT="!test? ( test )"
S="${WORKDIR}/${P^}"
+src_configure() {
+ local mycmakeargs=( -DUSE_SHELL_COMPLETION=OFF )
+ cmake_src_configure
+}
+
src_compile() {
cmake_src_compile
# need to fix it now, before tests are run
@@ -38,6 +43,11 @@ src_compile() {
python_fix_shebang test/functional/tools/cdb_diff.py
}
+src_install() {
+ cmake_src_install
+ dobashcomp shell-completion/bash/bear
+}
+
src_test() {
if has sandbox ${FEATURES}; then
ewarn "\'FEATURES=sandbox\' detected"
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
index e7c189ffb934..af4cedd7fc4f 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
-inherit cmake python-single-r1
+inherit bash-completion-r1 cmake python-single-r1
DESCRIPTION="Build EAR generates a compilation database for clang tooling"
HOMEPAGE="https://github.com/rizsotto/Bear"
@@ -31,6 +31,11 @@ RESTRICT="!test? ( test )"
S="${WORKDIR}/${P^}"
+src_configure() {
+ local mycmakeargs=( -DUSE_SHELL_COMPLETION=OFF )
+ cmake_src_configure
+}
+
src_compile() {
cmake_src_compile
# need to fix it now, before tests are run
@@ -38,6 +43,11 @@ src_compile() {
python_fix_shebang test/functional/tools/cdb_diff.py
}
+src_install() {
+ cmake_src_install
+ dobashcomp shell-completion/bash/bear
+}
+
src_test() {
if has sandbox ${FEATURES}; then
ewarn "\'FEATURES=sandbox\' detected"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-12-20 4:19 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-12-20 4:19 UTC (permalink / raw
To: gentoo-commits
commit: 3aadc88d1b942fdfe737a2f83d26a4861dd1b4ed
Author: Douglas Agbeve <douglas <AT> agbeve <DOT> com>
AuthorDate: Sun Dec 19 19:21:02 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 04:18:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aadc88d
dev-util/bear: bump to v3.0.17
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Douglas Agbeve <douglas <AT> agbeve.com>
Closes: https://github.com/gentoo/gentoo/pull/23423
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.17.ebuild | 87 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 250709be46ab..01fadb98ab4f 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +1,3 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
DIST bear-3.0.16.tar.gz 122948 BLAKE2B bb720170488968e79d26b7022859a3a55f191661a65d8c5c1ce6120911919ffcd74a32035eebb419e4fe9a616f6dec1c66804445d9e8b243c7d26a87284f7776 SHA512 3906011aa01f42c7841046614e9f1972a39288749cbdeab4b55e517d48a05cb02a48be2b055b4ce65300ffa0a940609e713f55bd1a47ce4fc9a8cb2702487f07
+DIST bear-3.0.17.tar.gz 123861 BLAKE2B 9dea85c7c0ec5ec4954d08147cdac31e0b28c9780281a544687340e6e226e5403ad82f74db0fb9edd3f65c9a982531afb612e1c744430735e6de97d8d29a2189 SHA512 08e50b04c87745ae60623c32de07e710ffb4e78d9978f13cca9d51929b45477c780f1fe47178569310dca20dab5fef49dbffdf17a087c388f111eb11ffadf5b1
diff --git a/dev-util/bear/bear-3.0.17.ebuild b/dev-util/bear/bear-3.0.17.ebuild
new file mode 100644
index 000000000000..94cca1494941
--- /dev/null
+++ b/dev-util/bear/bear-3.0.17.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+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 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-cpp/nlohmann_json-3.7:=
+ >=dev-db/sqlite-3.14:=
+ >=dev-libs/libfmt-6.2:=
+ dev-libs/protobuf:=
+ >=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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-10-17 0:03 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-10-17 0:03 UTC (permalink / raw
To: gentoo-commits
commit: f975d077fc58e6cea0cf3f7ae6445550920adecc
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 23:57:26 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Oct 17 00:03:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f975d077
dev-util/bear: revbump for hlohmann_json dep adjustment
This effectively reverts commit 337bfe306203ea8a984452d8a3e08a4044bf74a0.
But we do a revision bump for dep change
Bear-issue: https://github.com/rizsotto/Bear/issues/420
Closes: https://bugs.gentoo.org/817233
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-3.0.16-r1.ebuild => bear-3.0.16-r2.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.16-r1.ebuild b/dev-util/bear/bear-3.0.16-r2.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.16-r1.ebuild
rename to dev-util/bear/bear-3.0.16-r2.ebuild
index dd769033b4b..ce27dec8b19 100644
--- a/dev-util/bear/bear-3.0.16-r1.ebuild
+++ b/dev-util/bear/bear-3.0.16-r2.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="test"
RDEPEND="
- <dev-cpp/nlohmann_json-3.10.3:=
+ >=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
>=dev-libs/libfmt-6.2:=
dev-libs/protobuf:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-10-12 16:13 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-10-12 16:13 UTC (permalink / raw
To: gentoo-commits
commit: 337bfe306203ea8a984452d8a3e08a4044bf74a0
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 16:12:27 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 16:12:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337bfe30
dev-util/bear: revbump for hlohmann_json dep adjustment
Bug: https://bugs.gentoo.org/817233
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-3.0.16.ebuild => bear-3.0.16-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.16.ebuild b/dev-util/bear/bear-3.0.16-r1.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.16.ebuild
rename to dev-util/bear/bear-3.0.16-r1.ebuild
index ce27dec8b19..dd769033b4b 100644
--- a/dev-util/bear/bear-3.0.16.ebuild
+++ b/dev-util/bear/bear-3.0.16-r1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="test"
RDEPEND="
- >=dev-cpp/nlohmann_json-3.7:=
+ <dev-cpp/nlohmann_json-3.10.3:=
>=dev-db/sqlite-3.14:=
>=dev-libs/libfmt-6.2:=
dev-libs/protobuf:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-10-07 5:34 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-10-07 5:34 UTC (permalink / raw
To: gentoo-commits
commit: e6cc4ecea518ee0a41f2d7949d86c79dc710bc59
Author: TheAifam5 <theaifam5 <AT> gmail <DOT> com>
AuthorDate: Sat Sep 25 13:54:37 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Oct 7 05:29:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6cc4ece
dev-util/bear: bump to 3.0.16, drop 3.0.13
https://bugs.gentoo.org/809017
Closes: https://github.com/gentoo/gentoo/pull/22399
Signed-off-by: TheAifam5 <theaifam5 <AT> gmail.com>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 2 +-
dev-util/bear/{bear-3.0.13.ebuild => bear-3.0.16.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 5ffec631ff1..250709be46a 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +1,2 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
-DIST bear-3.0.13.tar.gz 120488 BLAKE2B 9159858110afc45f4888a294325be8609bdcb78a2421dbb8ae4b5109cbea80a06d907e961c398cf011025d93d8d1cceec640ce12d613fd80d38d8f06532305db SHA512 1c515d5941870b9bc76fa85d02229ace85653c6f985e00a8fa9e2f17ba9079d162d654a17024394819a7ae203167253641a3d7c17c490e49e30fa92d434e6a6e
+DIST bear-3.0.16.tar.gz 122948 BLAKE2B bb720170488968e79d26b7022859a3a55f191661a65d8c5c1ce6120911919ffcd74a32035eebb419e4fe9a616f6dec1c66804445d9e8b243c7d26a87284f7776 SHA512 3906011aa01f42c7841046614e9f1972a39288749cbdeab4b55e517d48a05cb02a48be2b055b4ce65300ffa0a940609e713f55bd1a47ce4fc9a8cb2702487f07
diff --git a/dev-util/bear/bear-3.0.13.ebuild b/dev-util/bear/bear-3.0.16.ebuild
similarity index 100%
rename from dev-util/bear/bear-3.0.13.ebuild
rename to dev-util/bear/bear-3.0.16.ebuild
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-07-14 21:27 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-07-14 21:27 UTC (permalink / raw
To: gentoo-commits
commit: 8469eba13074d5ae721e9d8e723a8523386b40c8
Author: Douglas Agbeve <douglas <AT> agbeve <DOT> com>
AuthorDate: Wed Jul 14 10:07:54 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jul 14 21:25:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8469eba1
dev-util/bear: python_10 support
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/21634
Signed-off-by: Douglas Agbeve <douglas <AT> agbeve.com>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/bear-3.0.13.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.13.ebuild b/dev-util/bear/bear-3.0.13.ebuild
index 97791cb96b0..ce27dec8b19 100644
--- a/dev-util/bear/bear-3.0.13.ebuild
+++ b/dev-util/bear/bear-3.0.13.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
inherit cmake python-any-r1
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-07-04 9:48 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-07-04 9:48 UTC (permalink / raw
To: gentoo-commits
commit: ba12e842aa9082cd018376d41386df24d42a38fe
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 4 09:47:26 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jul 4 09:48:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba12e842
Revert "dev-util/bear: use older fmt"
https://bugs.gentoo.org/800236
This reverts commit 6416826991f08ac0f54fc8b1ff4b140bedd29684.
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-3.0.13-r1.ebuild => bear-3.0.13.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.13-r1.ebuild b/dev-util/bear/bear-3.0.13.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.13-r1.ebuild
rename to dev-util/bear/bear-3.0.13.ebuild
index 2681fb25ea7..97791cb96b0 100644
--- a/dev-util/bear/bear-3.0.13-r1.ebuild
+++ b/dev-util/bear/bear-3.0.13.ebuild
@@ -19,7 +19,7 @@ IUSE="test"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
- dev-libs/libfmt:0/7
+ >=dev-libs/libfmt-6.2:=
dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-07-04 9:10 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-07-04 9:10 UTC (permalink / raw
To: gentoo-commits
commit: 6416826991f08ac0f54fc8b1ff4b140bedd29684
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 4 09:08:58 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jul 4 09:10:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64168269
dev-util/bear: use older fmt
Bug: https://bugs.gentoo.org/800236
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-3.0.13.ebuild => bear-3.0.13-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.13.ebuild b/dev-util/bear/bear-3.0.13-r1.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.13.ebuild
rename to dev-util/bear/bear-3.0.13-r1.ebuild
index 97791cb96b0..2681fb25ea7 100644
--- a/dev-util/bear/bear-3.0.13.ebuild
+++ b/dev-util/bear/bear-3.0.13-r1.ebuild
@@ -19,7 +19,7 @@ IUSE="test"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2:=
+ dev-libs/libfmt:0/7
dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-07-03 20:40 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-07-03 20:40 UTC (permalink / raw
To: gentoo-commits
commit: f0b1df32a5b525b3de739564e29fe6f928214de4
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 3 20:39:50 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 3 20:39:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b1df32
dev-util/bear: drop 3.0.11-r2, 3.0.12-r1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 2 -
dev-util/bear/bear-3.0.11-r2.ebuild | 87 -------------------------------------
dev-util/bear/bear-3.0.12-r1.ebuild | 87 -------------------------------------
3 files changed, 176 deletions(-)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index a95b698b433..5ffec631ff1 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,4 +1,2 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
-DIST bear-3.0.11.tar.gz 118678 BLAKE2B 209d904a84363a87e566798dcd65ffed96cdbf3d2e753af8dc2706adb995d2999bc112eabb88db28791cbb245c373eb330cf9c20d3d886bb2caeb5c01150e65d SHA512 6d362aede911a8ad35be30638a698579582ca5de770a7c3199bb205046f08f355387099261b8d857188d526ab62024f78e3d06a225734c5f9acca03e5dfea1ec
-DIST bear-3.0.12.tar.gz 118937 BLAKE2B 4ed41693a92583091b8510dd1ade55a3e5c897825205e59d9e9810aa63e5f17c5049b3b3de509665143083d44aeb6d85c63d944041bb36c6b1d842d0308d88f0 SHA512 e45e842793e9f5f2cd6b13a9795c2b6753c2fffd516e4af9f0362644c9d0952a2b0e505a4a9d53e9a1a4aa063d7368c6466367a78fececb70582ec7c4e8d7f10
DIST bear-3.0.13.tar.gz 120488 BLAKE2B 9159858110afc45f4888a294325be8609bdcb78a2421dbb8ae4b5109cbea80a06d907e961c398cf011025d93d8d1cceec640ce12d613fd80d38d8f06532305db SHA512 1c515d5941870b9bc76fa85d02229ace85653c6f985e00a8fa9e2f17ba9079d162d654a17024394819a7ae203167253641a3d7c17c490e49e30fa92d434e6a6e
diff --git a/dev-util/bear/bear-3.0.11-r2.ebuild b/dev-util/bear/bear-3.0.11-r2.ebuild
deleted file mode 100644
index 97791cb96b0..00000000000
--- a/dev-util/bear/bear-3.0.11-r2.ebuild
+++ /dev/null
@@ -1,87 +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 ~x86"
-IUSE="test"
-
-RDEPEND="
- >=dev-cpp/nlohmann_json-3.7:=
- >=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2:=
- dev-libs/protobuf:=
- >=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.12-r1.ebuild b/dev-util/bear/bear-3.0.12-r1.ebuild
deleted file mode 100644
index 97791cb96b0..00000000000
--- a/dev-util/bear/bear-3.0.12-r1.ebuild
+++ /dev/null
@@ -1,87 +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 ~x86"
-IUSE="test"
-
-RDEPEND="
- >=dev-cpp/nlohmann_json-3.7:=
- >=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2:=
- dev-libs/protobuf:=
- >=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
-}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-07-03 20:38 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-07-03 20:38 UTC (permalink / raw
To: gentoo-commits
commit: e9a0a3ebd3fe37abed9a998112e7968797b05aeb
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 3 20:38:20 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Jul 3 20:38:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a0a3eb
dev-util/bear: add 3.0.13
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.13.ebuild | 87 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 2f6afc2a104..a95b698b433 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,3 +1,4 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
DIST bear-3.0.11.tar.gz 118678 BLAKE2B 209d904a84363a87e566798dcd65ffed96cdbf3d2e753af8dc2706adb995d2999bc112eabb88db28791cbb245c373eb330cf9c20d3d886bb2caeb5c01150e65d SHA512 6d362aede911a8ad35be30638a698579582ca5de770a7c3199bb205046f08f355387099261b8d857188d526ab62024f78e3d06a225734c5f9acca03e5dfea1ec
DIST bear-3.0.12.tar.gz 118937 BLAKE2B 4ed41693a92583091b8510dd1ade55a3e5c897825205e59d9e9810aa63e5f17c5049b3b3de509665143083d44aeb6d85c63d944041bb36c6b1d842d0308d88f0 SHA512 e45e842793e9f5f2cd6b13a9795c2b6753c2fffd516e4af9f0362644c9d0952a2b0e505a4a9d53e9a1a4aa063d7368c6466367a78fececb70582ec7c4e8d7f10
+DIST bear-3.0.13.tar.gz 120488 BLAKE2B 9159858110afc45f4888a294325be8609bdcb78a2421dbb8ae4b5109cbea80a06d907e961c398cf011025d93d8d1cceec640ce12d613fd80d38d8f06532305db SHA512 1c515d5941870b9bc76fa85d02229ace85653c6f985e00a8fa9e2f17ba9079d162d654a17024394819a7ae203167253641a3d7c17c490e49e30fa92d434e6a6e
diff --git a/dev-util/bear/bear-3.0.13.ebuild b/dev-util/bear/bear-3.0.13.ebuild
new file mode 100644
index 00000000000..97791cb96b0
--- /dev/null
+++ b/dev-util/bear/bear-3.0.13.ebuild
@@ -0,0 +1,87 @@
+# 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 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-cpp/nlohmann_json-3.7:=
+ >=dev-db/sqlite-3.14:=
+ >=dev-libs/libfmt-6.2:=
+ dev-libs/protobuf:=
+ >=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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-06-23 3:47 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-06-23 3:47 UTC (permalink / raw
To: gentoo-commits
commit: 6fd70112947eeb875ce9613a39eaa7d24b1b7922
Author: Daniel M. Weeks <dan <AT> danweeks <DOT> net>
AuthorDate: Wed Jun 23 02:59:18 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jun 23 03:46:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fd70112
dev-util/bear: add libfmt subslot dep
Closes: https://bugs.gentoo.org/797715
Closes: https://github.com/gentoo/gentoo/pull/21382
Signed-off-by: Daniel M. Weeks <dan <AT> danweeks.net>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-3.0.11-r1.ebuild => bear-3.0.11-r2.ebuild} | 2 +-
dev-util/bear/{bear-3.0.12.ebuild => bear-3.0.12-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/bear/bear-3.0.11-r1.ebuild b/dev-util/bear/bear-3.0.11-r2.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.11-r1.ebuild
rename to dev-util/bear/bear-3.0.11-r2.ebuild
index 9f97558920d..97791cb96b0 100644
--- a/dev-util/bear/bear-3.0.11-r1.ebuild
+++ b/dev-util/bear/bear-3.0.11-r2.ebuild
@@ -19,7 +19,7 @@ IUSE="test"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2
+ >=dev-libs/libfmt-6.2:=
dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
diff --git a/dev-util/bear/bear-3.0.12.ebuild b/dev-util/bear/bear-3.0.12-r1.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.12.ebuild
rename to dev-util/bear/bear-3.0.12-r1.ebuild
index 9f97558920d..97791cb96b0 100644
--- a/dev-util/bear/bear-3.0.12.ebuild
+++ b/dev-util/bear/bear-3.0.12-r1.ebuild
@@ -19,7 +19,7 @@ IUSE="test"
RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
- >=dev-libs/libfmt-6.2
+ >=dev-libs/libfmt-6.2:=
dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-06-09 6:04 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-06-09 6:04 UTC (permalink / raw
To: gentoo-commits
commit: 0905774c89590872577653e65ad7bf7392cd4dbc
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 9 06:04:17 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jun 9 06:04:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0905774c
dev-util/bear: add protobuf subslot dep
don't specify version constraint, one is provided by grpc
Closes: https://bugs.gentoo.org/794736
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/bear-3.0.11-r1.ebuild | 1 +
dev-util/bear/bear-3.0.12.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/dev-util/bear/bear-3.0.11-r1.ebuild b/dev-util/bear/bear-3.0.11-r1.ebuild
index 86011aec51e..9f97558920d 100644
--- a/dev-util/bear/bear-3.0.11-r1.ebuild
+++ b/dev-util/bear/bear-3.0.11-r1.ebuild
@@ -20,6 +20,7 @@ RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
>=dev-libs/libfmt-6.2
+ dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
"
diff --git a/dev-util/bear/bear-3.0.12.ebuild b/dev-util/bear/bear-3.0.12.ebuild
index 86011aec51e..9f97558920d 100644
--- a/dev-util/bear/bear-3.0.12.ebuild
+++ b/dev-util/bear/bear-3.0.12.ebuild
@@ -20,6 +20,7 @@ RDEPEND="
>=dev-cpp/nlohmann_json-3.7:=
>=dev-db/sqlite-3.14:=
>=dev-libs/libfmt-6.2
+ dev-libs/protobuf:=
>=dev-libs/spdlog-1.5
>=net-libs/grpc-1.26:=
"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-06-04 23:15 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-06-04 23:15 UTC (permalink / raw
To: gentoo-commits
commit: 6f6da34bed0a19253f8e89be7105da275176f8f1
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 4 22:49:14 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jun 4 23:15:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f6da34b
dev-util/bear: add 3.0.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.12.ebuild | 86 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 07f4962e932..2f6afc2a104 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +1,3 @@
DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
DIST bear-3.0.11.tar.gz 118678 BLAKE2B 209d904a84363a87e566798dcd65ffed96cdbf3d2e753af8dc2706adb995d2999bc112eabb88db28791cbb245c373eb330cf9c20d3d886bb2caeb5c01150e65d SHA512 6d362aede911a8ad35be30638a698579582ca5de770a7c3199bb205046f08f355387099261b8d857188d526ab62024f78e3d06a225734c5f9acca03e5dfea1ec
+DIST bear-3.0.12.tar.gz 118937 BLAKE2B 4ed41693a92583091b8510dd1ade55a3e5c897825205e59d9e9810aa63e5f17c5049b3b3de509665143083d44aeb6d85c63d944041bb36c6b1d842d0308d88f0 SHA512 e45e842793e9f5f2cd6b13a9795c2b6753c2fffd516e4af9f0362644c9d0952a2b0e505a4a9d53e9a1a4aa063d7368c6466367a78fececb70582ec7c4e8d7f10
diff --git a/dev-util/bear/bear-3.0.12.ebuild b/dev-util/bear/bear-3.0.12.ebuild
new file mode 100644
index 00000000000..86011aec51e
--- /dev/null
+++ b/dev-util/bear/bear-3.0.12.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 ~x86"
+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
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-05-07 7:35 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2021-05-07 7:35 UTC (permalink / raw
To: gentoo-commits
commit: 127dd6f2b9dcbf9e61102c2bcea582e34a219064
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 07:33:12 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri May 7 07:35:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127dd6f2
dev-util/bear: stabilize 2.4.4 on x86
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/bear-2.4.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
index cbb440d1f18..e7c189ffb93 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-05-07 7:35 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2021-05-07 7:35 UTC (permalink / raw
To: gentoo-commits
commit: e7ef9bf599ed20ac5ef7ada2dfd401ab5becec47
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri May 7 07:31:57 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri May 7 07:35:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ef9bf5
dev-util/bear: stabilize 2.4.4 on amd64
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/bear-2.4.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
index 9e2aef4064b..cbb440d1f18 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-05-03 17:01 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-05-03 17:01 UTC (permalink / raw
To: gentoo-commits
commit: 4263193d2586f79dfc149c69fdbf5565cd4754a4
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon May 3 16:01:20 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon May 3 17:01:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4263193d
dev-util/bear: revbump, add grpc subslot dep
Closes: https://bugs.gentoo.org/787809
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/{bear-3.0.11.ebuild => bear-3.0.11-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.11.ebuild b/dev-util/bear/bear-3.0.11-r1.ebuild
similarity index 98%
rename from dev-util/bear/bear-3.0.11.ebuild
rename to dev-util/bear/bear-3.0.11-r1.ebuild
index ec588776669..86011aec51e 100644
--- a/dev-util/bear/bear-3.0.11.ebuild
+++ b/dev-util/bear/bear-3.0.11-r1.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
>=dev-db/sqlite-3.14:=
>=dev-libs/libfmt-6.2
>=dev-libs/spdlog-1.5
- >=net-libs/grpc-1.26
+ >=net-libs/grpc-1.26:=
"
DEPEND="${RDEPEND}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-23 20:06 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-04-23 20:06 UTC (permalink / raw
To: gentoo-commits
commit: 54cbc7e4615f833a95a7fd84bcdad8804ad00cc1
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 23 20:06:38 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 20:06:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54cbc7e4
dev-util/bear: add py3.9 support to 2.4.4
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/bear-2.4.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
index 2b8550b13b8..9e2aef4064b 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit cmake python-single-r1
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-23 19:50 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-04-23 19:50 UTC (permalink / raw
To: gentoo-commits
commit: c89812dbc4834a55452ebd8df023fe00ee4387fe
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 23 19:49:59 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 19:50:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89812db
dev-util/bear: drop 2.4.3
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 -
dev-util/bear/bear-2.4.3.ebuild | 61 -----------------------------------------
2 files changed, 62 deletions(-)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 02761498f4b..07f4962e932 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,3 +1,2 @@
-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.11.tar.gz 118678 BLAKE2B 209d904a84363a87e566798dcd65ffed96cdbf3d2e753af8dc2706adb995d2999bc112eabb88db28791cbb245c373eb330cf9c20d3d886bb2caeb5c01150e65d SHA512 6d362aede911a8ad35be30638a698579582ca5de770a7c3199bb205046f08f355387099261b8d857188d526ab62024f78e3d06a225734c5f9acca03e5dfea1ec
diff --git a/dev-util/bear/bear-2.4.3.ebuild b/dev-util/bear/bear-2.4.3.ebuild
deleted file mode 100644
index 83600bfdb38..00000000000
--- a/dev-util/bear/bear-2.4.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit cmake python-single-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/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="test? (
- app-shells/bash
- $(python_gen_cond_dep '
- dev-python/lit[${PYTHON_USEDEP}]
- ')
-)"
-
-RDEPEND="${PYTHON_DEPS}"
-
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${P^}"
-
-src_compile() {
- cmake_src_compile
- # need to fix it now, before tests are run
- python_fix_shebang "${BUILD_DIR}"/bear/bear
- python_fix_shebang test/functional/tools/cdb_diff.py
-}
-
-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_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 "removing unwanted/unsupported/xfail tests"
- rm -v test/functional/cases/{end-to-end/scons.ft,intercept/cuda/successful_build.fts,run_pep8.ft} || die
- einfo "test may use optional tools if found: qmake gfortran"
- cmake_build check
- fi
-}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-23 5:55 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2021-04-23 5:55 UTC (permalink / raw
To: gentoo-commits
commit: ec3d84ecaf3a1d3ccc7ee571606115ab27a9780c
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 23 05:53:28 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 05:53:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec3d84ec
dev-util/bear: keyword ~x86 on 3.0.11
- acked by gyakovlev.
1: Testing Time: 2.42s
1: Unsupported : 9
1: Passed : 74
1: Expectedly Failed: 6
1/1 Test #1: bear::func_test .................. Passed 2.57 sec
100% tests passed, 0 tests failed out of 1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/bear-3.0.11.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-3.0.11.ebuild b/dev-util/bear/bear-3.0.11.ebuild
index 7e4916e9e4c..ec588776669 100644
--- a/dev-util/bear/bear-3.0.11.ebuild
+++ b/dev-util/bear/bear-3.0.11.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="test"
RDEPEND="
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-22 4:07 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-04-22 4:07 UTC (permalink / raw
To: gentoo-commits
commit: 6399d329b6c6206e7f642fd3e70067cb971e683f
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 04:01:58 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 04:04:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6399d329
dev-util/bear: bump to 3.0.11
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 2 +-
dev-util/bear/{bear-3.0.10.ebuild => bear-3.0.11.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 8e01ff47b80..02761498f4b 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.11.ebuild
similarity index 100%
rename from dev-util/bear/bear-3.0.10.ebuild
rename to dev-util/bear/bear-3.0.11.ebuild
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-22 4:07 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-04-22 4:07 UTC (permalink / raw
To: gentoo-commits
commit: eafeae183f01b63bcb91fd44494b6cc00d8160fd
Author: Jannik Glückert <jannik.glueckert <AT> gmail <DOT> com>
AuthorDate: Tue Mar 30 20:31:02 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 04:04:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eafeae18
dev-util/bear: add 3.0.10
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Jannik Glückert <jannik.glueckert <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20205
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-3.0.10.ebuild | 82 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index 414b55e796d..8e01ff47b80 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1,2 +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
diff --git a/dev-util/bear/bear-3.0.10.ebuild b/dev-util/bear/bear-3.0.10.ebuild
new file mode 100644
index 00000000000..863e0ddc519
--- /dev/null
+++ b/dev-util/bear/bear-3.0.10.ebuild
@@ -0,0 +1,82 @@
+# 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_configure() {
+ local mycmakeargs=(
+ "-DENABLE_UNIT_TESTS=OFF"
+ "-DENABLE_FUNC_TESTS=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"
+ local mycmakeargs=(
+ "-DENABLE_UNIT_TESTS=ON"
+ "-DENABLE_FUNC_TESTS=ON"
+ )
+ # bear has no seperate "make check"
+ cmake_src_configure
+ cmake_build all
+ fi
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-22 4:07 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2021-04-22 4:07 UTC (permalink / raw
To: gentoo-commits
commit: d4e19111c464077a4675cb90ae46928778675431
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 04:00:41 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 04:04:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e19111
dev-util/bear: QA fix questionable test phase via cmake abuse
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/bear-3.0.10.ebuild | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/dev-util/bear/bear-3.0.10.ebuild b/dev-util/bear/bear-3.0.10.ebuild
index 863e0ddc519..7e4916e9e4c 100644
--- a/dev-util/bear/bear-3.0.10.ebuild
+++ b/dev-util/bear/bear-3.0.10.ebuild
@@ -25,9 +25,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}
-test? (
- >=dev-cpp/gtest-1.10
-)"
+ test? (
+ >=dev-cpp/gtest-1.10
+ )
+"
BDEPEND="test? (
$(python_gen_any_dep '
@@ -43,10 +44,16 @@ 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=OFF"
- "-DENABLE_FUNC_TESTS=OFF"
+ -DENABLE_UNIT_TESTS="$(usex test ON OFF)"
+ -DENABLE_FUNC_TESTS="$(usex test ON OFF)"
)
cmake_src_configure
}
@@ -71,12 +78,9 @@ src_test() {
ewarn "Skipping tests"
else
einfo "test may use optional tools if found: qmake gfortran valgrind"
- local mycmakeargs=(
- "-DENABLE_UNIT_TESTS=ON"
- "-DENABLE_FUNC_TESTS=ON"
- )
- # bear has no seperate "make check"
- cmake_src_configure
- cmake_build all
+ # 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
}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-06 10:10 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2021-04-06 10:10 UTC (permalink / raw
To: gentoo-commits
commit: 17f13e8c0a78269be54fc4f18b1de9cf855e639d
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 6 10:09:47 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Apr 6 10:09:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f13e8c
dev-util/bear: add ~x86 keyword, rather
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/bear-2.4.4.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
index 49b0dd6098d..2b8550b13b8 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2021-04-06 10:08 Joonas Niilola
0 siblings, 0 replies; 52+ messages in thread
From: Joonas Niilola @ 2021-04-06 10:08 UTC (permalink / raw
To: gentoo-commits
commit: b0d351a9daf49f6407a311c26cf2c7706290d467
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 6 09:58:48 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Apr 6 10:08:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d351a9
dev-util/bear: add x86 keyword for 2.4.4
- needed by dev-util/edi-0.8.0-r1.
Acked-by: gyakovlev
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/bear/bear-2.4.4.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
index 468a104719b..49b0dd6098d 100644
--- a/dev-util/bear/bear-2.4.4.ebuild
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rizsotto/Bear/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="~amd64 ~ppc64 x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2020-09-10 22:58 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2020-09-10 22:58 UTC (permalink / raw
To: gentoo-commits
commit: f21f6bf63437897c5142136a2e15276cd8fc7a4e
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 22:58:19 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 22:58:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21f6bf6
dev-util/bear: bump to 2.4.4
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-2.4.4.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
index bbfa7c76de5..414b55e796d 100644
--- a/dev-util/bear/Manifest
+++ b/dev-util/bear/Manifest
@@ -1 +1,2 @@
DIST bear-2.4.3.tar.gz 49933 BLAKE2B 2a91c30d81f9d0e58a25458579f6b0c867c07d2e532bd2ed29305645e152bd564156f708c4a07a683577412b3fdab1f106685ecf1ad88eaad2f33f0bc43a5baa SHA512 a4690cfc9938d8752ca5c8322ca4c5039746ade059e4459e7f3f91b2bf3d36ea691a5d855cab7a4e7ad8ff76478c48c4394593e069a1cf8396ead41017421753
+DIST bear-2.4.4.tar.gz 50347 BLAKE2B 73fa332cf97413e55c588f8830806a26c6905299af902c6cf1f39fd576c6261690239c1b502b28b5a2aa24e5ca521c3f1dd58aacd60e00ece4fe1840f5656155 SHA512 4ee3fd5c846149029fe9e4104e2a0d0e318a15215aa80fc5dc376e22ebea510384b02d4d62765495343cab537bacd2b1b0130c00246e081feb4e543761a594e5
diff --git a/dev-util/bear/bear-2.4.4.ebuild b/dev-util/bear/bear-2.4.4.ebuild
new file mode 100644
index 00000000000..468a104719b
--- /dev/null
+++ b/dev-util/bear/bear-2.4.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit cmake python-single-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"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="test? (
+ app-shells/bash
+ $(python_gen_cond_dep '
+ dev-python/lit[${PYTHON_USEDEP}]
+ ')
+)"
+
+RDEPEND="${PYTHON_DEPS}"
+
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${P^}"
+
+src_compile() {
+ cmake_src_compile
+ # need to fix it now, before tests are run
+ python_fix_shebang "${BUILD_DIR}"/bear/bear
+ python_fix_shebang test/functional/tools/cdb_diff.py
+}
+
+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_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 "removing unwanted/unsupported/xfail tests"
+ rm -v test/functional/cases/{end-to-end/scons.ft,intercept/cuda/successful_build.fts,run_pep8.ft} || die
+ einfo "test may use optional tools if found: qmake gfortran"
+ cmake_build check
+ fi
+}
^ permalink raw reply related [flat|nested] 52+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/
@ 2020-07-01 21:23 Georgy Yakovlev
0 siblings, 0 replies; 52+ messages in thread
From: Georgy Yakovlev @ 2020-07-01 21:23 UTC (permalink / raw
To: gentoo-commits
commit: 097ae2bc2410e259bc95344bfb8bacfb0c20720d
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 1 21:18:33 2020 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jul 1 21:22:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=097ae2bc
dev-util/bear: new package, compile_commands.json generator
used to feed clangd/lsp and other tools.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-util/bear/Manifest | 1 +
dev-util/bear/bear-2.4.3.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++
dev-util/bear/metadata.xml | 19 +++++++++++++
3 files changed, 81 insertions(+)
diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest
new file mode 100644
index 00000000000..bbfa7c76de5
--- /dev/null
+++ b/dev-util/bear/Manifest
@@ -0,0 +1 @@
+DIST bear-2.4.3.tar.gz 49933 BLAKE2B 2a91c30d81f9d0e58a25458579f6b0c867c07d2e532bd2ed29305645e152bd564156f708c4a07a683577412b3fdab1f106685ecf1ad88eaad2f33f0bc43a5baa SHA512 a4690cfc9938d8752ca5c8322ca4c5039746ade059e4459e7f3f91b2bf3d36ea691a5d855cab7a4e7ad8ff76478c48c4394593e069a1cf8396ead41017421753
diff --git a/dev-util/bear/bear-2.4.3.ebuild b/dev-util/bear/bear-2.4.3.ebuild
new file mode 100644
index 00000000000..83600bfdb38
--- /dev/null
+++ b/dev-util/bear/bear-2.4.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit cmake python-single-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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="test? (
+ app-shells/bash
+ $(python_gen_cond_dep '
+ dev-python/lit[${PYTHON_USEDEP}]
+ ')
+)"
+
+RDEPEND="${PYTHON_DEPS}"
+
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${P^}"
+
+src_compile() {
+ cmake_src_compile
+ # need to fix it now, before tests are run
+ python_fix_shebang "${BUILD_DIR}"/bear/bear
+ python_fix_shebang test/functional/tools/cdb_diff.py
+}
+
+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_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 "removing unwanted/unsupported/xfail tests"
+ rm -v test/functional/cases/{end-to-end/scons.ft,intercept/cuda/successful_build.fts,run_pep8.ft} || die
+ einfo "test may use optional tools if found: qmake gfortran"
+ cmake_build check
+ fi
+}
diff --git a/dev-util/bear/metadata.xml b/dev-util/bear/metadata.xml
new file mode 100644
index 00000000000..f8c8a305d1e
--- /dev/null
+++ b/dev-util/bear/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <longdescription lang="en">
+ Bear is a tool that generates a compilation database for clang tooling.
+ The concept behind Bear is: to execute the original build command and intercept the exec calls issued by the build tool.
+ To achieve that, Bear uses the LD_PRELOAD or DYLD_INSERT_LIBRARIES mechanisms provided by the dynamic linker.
+ Bear has two components: the library and the binary.
+ The library redefines the exec methods to be used by all child processes.
+ The executable enables the use of the library for child processes and writes the output file.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">rizsotto/Bear</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 52+ messages in thread
end of thread, other threads:[~2024-11-18 9:07 UTC | newest]
Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-22 11:26 [gentoo-commits] repo/gentoo:master commit in: dev-util/bear/ Yixun Lan
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 9:07 Petr Vaněk
2024-11-18 9:07 Petr Vaněk
2024-09-14 9:53 Florian Schmaus
2024-09-13 19:33 Arthur Zamarin
2024-09-13 19:33 Arthur Zamarin
2024-08-13 13:05 Joonas Niilola
2024-07-03 5:30 Joonas Niilola
2024-05-12 15:41 Sam James
2024-05-12 15:41 Sam James
2024-04-01 7:14 Sam James
2024-03-16 13:34 Joonas Niilola
2023-09-15 6:06 Sam James
2023-07-07 10:14 Sam James
2023-07-07 4:40 Sam James
2023-06-06 6:41 Sam James
2023-04-25 14:56 Arthur Zamarin
2023-02-16 5:52 WANG Xuerui
2023-02-07 2:59 Sam James
2022-12-21 23:09 Sam James
2022-11-10 7:58 Sam James
2022-07-06 19:33 Sam James
2022-07-04 17:56 Georgy Yakovlev
2022-07-04 17:56 Georgy Yakovlev
2022-04-08 5:25 Georgy Yakovlev
2021-12-24 12:08 Georgy Yakovlev
2021-12-24 12:08 Georgy Yakovlev
2021-12-20 4:19 Georgy Yakovlev
2021-10-17 0:03 Georgy Yakovlev
2021-10-12 16:13 Georgy Yakovlev
2021-10-07 5:34 Georgy Yakovlev
2021-07-14 21:27 Georgy Yakovlev
2021-07-04 9:48 Georgy Yakovlev
2021-07-04 9:10 Georgy Yakovlev
2021-07-03 20:40 Georgy Yakovlev
2021-07-03 20:38 Georgy Yakovlev
2021-06-23 3:47 Georgy Yakovlev
2021-06-09 6:04 Georgy Yakovlev
2021-06-04 23:15 Georgy Yakovlev
2021-05-07 7:35 Joonas Niilola
2021-05-07 7:35 Joonas Niilola
2021-05-03 17:01 Georgy Yakovlev
2021-04-23 20:06 Georgy Yakovlev
2021-04-23 19:50 Georgy Yakovlev
2021-04-23 5:55 Joonas Niilola
2021-04-22 4:07 Georgy Yakovlev
2021-04-22 4:07 Georgy Yakovlev
2021-04-22 4:07 Georgy Yakovlev
2021-04-06 10:10 Joonas Niilola
2021-04-06 10:08 Joonas Niilola
2020-09-10 22:58 Georgy Yakovlev
2020-07-01 21:23 Georgy Yakovlev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox