Diff catch-2.13.8 with a catch-3.4.0
/usr/portage/dev-cpp/catch/catch-3.4.0.ebuild 2023-10-09 14:52:29.300368345 +0300 | ||
---|---|---|
15 | 15 |
SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
16 | 16 |
S="${WORKDIR}/${MY_P}" |
17 | 17 | |
18 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
|
18 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
|
19 | 19 |
fi |
20 | 20 | |
21 | 21 |
DESCRIPTION="Modern C++ header-only framework for unit-tests" |
... | ... | |
28 | 28 | |
29 | 29 |
BDEPEND="test? ( ${PYTHON_DEPS} )" |
30 | 30 | |
31 |
PATCHES=( "${FILESDIR}"/${P}-musl-tests.patch ) |
|
32 | ||
33 | 31 |
pkg_setup() { |
34 | 32 |
use test && python-any-r1_pkg_setup |
35 | 33 |
} |
36 | 34 | |
37 | 35 |
src_configure() { |
38 | 36 |
local mycmakeargs=( |
37 |
-DCATCH_DEVELOPMENT_BUILD=ON |
|
39 | 38 |
-DCATCH_ENABLE_WERROR=OFF |
40 |
-DBUILD_TESTING=$(usex test) |
|
39 |
-DCATCH_BUILD_TESTING=$(usex test) |
|
40 |
) |
|
41 |
use test && mycmakeargs+=( |
|
42 |
-DPYTHON_EXECUTABLE="${PYTHON}" |
|
41 | 43 |
) |
42 |
use test && |
|
43 |
mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" ) |
|
44 | 44 | |
45 | 45 |
cmake_src_configure |
46 | 46 |
} |