Сравнение catch-1.9999 с catch-2.13.8

/usr/portage/dev-cpp/catch/catch-2.13.8.ebuild 2023-10-09 14:52:29.300368345 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit cmake
6
PYTHON_COMPAT=( python3_{10..12} )
7

  
8
inherit cmake python-any-r1
7 9

  
8 10
if [[ ${PV} == *9999 ]]; then
9 11
	inherit git-r3
10 12
	EGIT_REPO_URI="https://github.com/catchorg/Catch2.git"
11
	EGIT_BRANCH="Catch1.x"
12 13
else
13
	MY_P=${PN^}-${PV}
14
	MY_P=${PN^}2-${PV}
14 15
	SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
15
	KEYWORDS="~amd64 ~ppc64 ~x86"
16
	S="${WORKDIR}/${MY_P}"
16 17

  
17
	S="${WORKDIR}/${PN^}2-${PV}"
18
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
18 19
fi
19 20

  
20 21
DESCRIPTION="Modern C++ header-only framework for unit-tests"
21 22
HOMEPAGE="https://github.com/catchorg/Catch2"
22 23

  
23 24
LICENSE="Boost-1.0"
24
SLOT="1"
25
SLOT="0"
25 26
IUSE="test"
26 27
RESTRICT="!test? ( test )"
27 28

  
29
BDEPEND="test? ( ${PYTHON_DEPS} )"
30

  
31
PATCHES=( "${FILESDIR}"/${P}-musl-tests.patch )
32

  
33
pkg_setup() {
34
	use test && python-any-r1_pkg_setup
35
}
36

  
28 37
src_configure() {
29 38
	local mycmakeargs=(
30
		-DNO_SELFTEST=$(usex !test)
39
		-DCATCH_ENABLE_WERROR=OFF
40
		-DBUILD_TESTING=$(usex test)
31 41
	)
32
	cmake_src_configure
33
}
42
	use test &&
43
		mycmakeargs+=( -DPYTHON_EXECUTABLE="${PYTHON}" )
34 44

  
35
src_install() {
36
	cmake_src_install
37
	dodoc -r docs/.
45
	cmake_src_configure
38 46
}
Спасибо!