diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-11 19:06:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-11 19:06:53 +0000 |
commit | 427aed27427f356a75db3288d7b96ce7e2a044b2 (patch) | |
tree | 259ea4d9db267c160cbae0bdd575dcd349d23d8b /dev-cpp/catch | |
parent | eb72a69c0109ff53b8c18b2f6c3b160489376e2e (diff) |
gentoo auto-resync : 11:01:2024 - 19:06:52
Diffstat (limited to 'dev-cpp/catch')
-rw-r--r-- | dev-cpp/catch/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/catch/catch-3.5.1.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest index ce8afcaa7ed5..7f7857f9caae 100644 --- a/dev-cpp/catch/Manifest +++ b/dev-cpp/catch/Manifest @@ -3,9 +3,11 @@ AUX catch-2.13.8-musl-tests.patch 854 BLAKE2B c593febfdd8d18912a0ceac2d63c3af21e DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee27a8dc28c35b89e33f414d68ba4cf00951e476688eddf9e4c0514036bd6916fa6cfa9e3359e6c625984f114f SHA512 ed963cdca9fe307ee02928677f81cafcb41cd607faaa315182fdf898d0f2aa28f0be2141bd642f46fdfac400c38f6d065e00a595a1e5879fe2335c4a3851e844 DIST Catch2-2.13.8.tar.gz 661711 BLAKE2B 973cc73c1d158140645003e76c0baf85a65252041fdcae3c6ecb1857021f2d24d8e879fec5f00368f4f458e69b450603a1613ac587417725980f1dbfe3ff2e65 SHA512 68a45efa47beb3c85d2d7b8a8eba89b8ec1664b4a72bb223227fef1632778aeaf5cf5cc09f40e47aef50426c8661c7d6a69c2dab0b88fbbf7d9a6b2974d6e32e DIST Catch2-3.4.0.tar.gz 1112790 BLAKE2B 0e3680b6e9d01d7661243097ec4a8e20d06a145acfe381cedc8eb2507c5df1bfb2b2907a9ae2771ffd94b66a0aa8f746aae4419ed4f469bea27c3bfca366ca3e SHA512 3b452378201ac53c9ffba7801231aa3b32c5fb496f01d670fcee25baf95f405e565ae2aafba49ea5694f906fc61a8b04592c68b9fb12839767070587a48c89fa +DIST Catch2-3.5.1.tar.gz 1159629 BLAKE2B 54a7bee21a7874ba03813854b2f12f277def7a3823647abc3cf6638f7717e82bd3089f2b630c06a7b7a35aeffbf7cc02c8fb20a9392127ce9435c0d3396a89ce SHA512 90c5fcf2d4b9771f5b30e027099da0d15e294b85d28702020435606efda2a4edc96b3d2007b60e5a32178248ad129b4aba0fb96582156244d62e1edacda6ce7d EBUILD catch-1.12.2-r2.ebuild 860 BLAKE2B 8fa4f7d7663063b94684d010de522d84797b9dae64f2a317f9c6aca4c1e81f4f3fff3bf0318be47adb4f5ef4d1072fdb82fcfd36073833f3bebf1b9e3dfb0a6b SHA512 2689dcce5cfb1905ff55bf5062cf4a0f976b1e5a397a3964200695842d9ad00e4167b5eac6d105f577752a9f4003963cbf880b3069744d78f825ad60e513ce8a EBUILD catch-1.9999.ebuild 758 BLAKE2B b551fe477f41b1b8294244f3822762bd56d9f7e5576d793b48ee22fed68c93b0b49eec288a578fc9df12980166b2bcd11c1bd535901939852573c716639f167a SHA512 ace668452e8667068b6ab0a0701e59c91065f47b7c955bf999941cf4ceec430d60df973bf451e2c8ac654d98ad7ee4a2ee4367ca4db792d6565406db7d4e9f5c EBUILD catch-2.13.8.ebuild 1013 BLAKE2B 0053ca9281da8edd9e361a65eaf45db71b3ae8a9344f82156ba997bdd2aad0d533a9ab9a5b2fa0f20716f0ee14d07c6d93b45e8449ceaf993d54f7378ccf7adb SHA512 d28db9bb7c326f7602c191b2e473c02c5eb344be931a5b4c013f0eac5c4cd8603a1c2a7684d499f7bce9d31aac28b7f99e31caa2892641859dd899642eb5be3e EBUILD catch-3.4.0.ebuild 1001 BLAKE2B 54ae8f777b9414e337c0f7c7c85b88a0ca8ed6b12baef05ac968b021daa6908f5df80dfff9d7f271324d9c89ef8a9c2b92222a3944645a57d21051fc6c96f970 SHA512 3c80ddc14bda85517d140380ae591c18d53fa1ac358a748379395153fbd926d9e0077a61c220539ce542244dd25eb4009953cfeb45b215ccce1cc63d26550618 +EBUILD catch-3.5.1.ebuild 1009 BLAKE2B 655212eabcd56ab04f7569aac764b0f79b3e542521fbabc096c8256d68ec895ea6c58ab0ad4ae8ece8290fa5a849e472488894d7bbb410c883c086953b5bdae7 SHA512 20a5aa63d1cb679ffb7af373dc056993747199fab7b8cd857af94e030114ed48f04de793119c0944e207c7050d6f5c8d6092b5abfeafca69c4f4dedc276d062b EBUILD catch-9999.ebuild 1009 BLAKE2B 9dc56f59783ec8812d6701a2ed347e039c655f8ad874e20e5058d1667ba3c061cebd8824af1345e76fd90973b439aa3469bbaa564382f04545d0f43e9bc3d7af SHA512 dd9d0e08934ddb10273a2f6b5642bcca5471976f034cf026eec09da7d651553c2193d7f0928dbfa385333f21ef9a21a44185f3cc480970a97e83a08ec4f96103 MISC metadata.xml 325 BLAKE2B 170690d843389d8befc37befe36d57a20f791f6520a08a8eafae196c6ada323a9afb00f58b55d0df30aa67f3e96430a46c3ee0355911b2289056e8bed48509ff SHA512 d2e3d74294189b3c639a16084b7a3745af6854f295c529fc2dc76d05ed6d7ac7e84c8a760f47f07f0744cdd257b5bf851a900ae48482efceea4a8d6ac6ace7c4 diff --git a/dev-cpp/catch/catch-3.5.1.ebuild b/dev-cpp/catch/catch-3.5.1.ebuild new file mode 100644 index 000000000000..cde2d006ed7f --- /dev/null +++ b/dev-cpp/catch/catch-3.5.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/catchorg/Catch2.git" +else + MY_P=${PN^}2-${PV} + SRC_URI="https://github.com/catchorg/Catch2/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Modern C++ header-only framework for unit-tests" +HOMEPAGE="https://github.com/catchorg/Catch2" + +LICENSE="Boost-1.0" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCATCH_DEVELOPMENT_BUILD=ON + -DCATCH_ENABLE_WERROR=OFF + -DCATCH_BUILD_TESTING=$(usex test) + ) + use test && mycmakeargs+=( + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + + cmake_src_configure +} |