diff options
Diffstat (limited to 'dev-cpp/catch')
-rw-r--r-- | dev-cpp/catch/Manifest | 2 | ||||
-rw-r--r-- | dev-cpp/catch/catch-2.9.1.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-cpp/catch/Manifest b/dev-cpp/catch/Manifest index 196b0a2d97dd..e2c22ebf53f2 100644 --- a/dev-cpp/catch/Manifest +++ b/dev-cpp/catch/Manifest @@ -1,9 +1,11 @@ DIST Catch-1.12.2.tar.gz 377265 BLAKE2B bc27b4daee950f8fb93d65f3aed032e72bc856ee27a8dc28c35b89e33f414d68ba4cf00951e476688eddf9e4c0514036bd6916fa6cfa9e3359e6c625984f114f SHA512 ed963cdca9fe307ee02928677f81cafcb41cd607faaa315182fdf898d0f2aa28f0be2141bd642f46fdfac400c38f6d065e00a595a1e5879fe2335c4a3851e844 DIST Catch2-2.5.0.tar.gz 549328 BLAKE2B a32941a043a654228cc541dc675ad789f5b938ebc2d3177d1657f66f68fb175bec8c88a60ecba00e84eca74a7506dc83aed74ac89f7dde83213284eb4a497225 SHA512 420f1d1a5ea7b69be9fb316a8abe1fb7c7e78d44a982e883748f1e0c8d2a435c1518b6022742716019558a740f8b31977ed6a786b0293e0504206b016801cfe8 DIST Catch2-2.7.0.tar.gz 569753 BLAKE2B cec11d79c85ac8a5577467ceb4722a2441a1dbd2fbe42fb06324113d2a6f9fadc12de351735900817274520bf8533ec245ba0a3686c8c1b4813cf3136d6d552f SHA512 ab6c816642a92418c76c8ddabf17eb0c19bef1dc6ac2405c820280d670ef1d78c9ae89909f5a36bf063f0939d253b7c6b5e845c1ac4e63b338927e125dee950d +DIST Catch2-2.9.1.tar.gz 626539 BLAKE2B b68f17dba65cc8d1a842b105e5aa6a32e713df8d34c32b918e0588e6b87b8e3ae56f9130d1590795489afe2e29035c262a05795d0ee44c9e9ace2e814801821d SHA512 ea18eef1fece72518c8a46b89727f5d0545a15038957087324abe6421c682693379476ff46106132f080677ebcc1c9ead51a9cf25dced3bb576a33e4f6fae4f6 EBUILD catch-1.12.2.ebuild 803 BLAKE2B acbd83bf8eb3f430fe160db5d944677ab624aa9bd14e363ff41dfddbdd1c03dcbdcd8c7dcee78c6a1f541a55229ad680dbc347dacd846c03c6c7b96f1e0ce322 SHA512 1ad95762728b22ab9f6d73742b82b17697089cbaed9d53e18b17c82cf6759a50dd29113d35808a38892a21613050e057d0c2effcbdc134590046b3bd80a7c915 EBUILD catch-1.9999.ebuild 805 BLAKE2B 77b0fa114ad31a26e3dcbb150f12f14f72487b3f6615d81bc31f22605be87bdd48a5b4e7a9922d890cce9486624abde7595a4dd50ff36ea65775c5640614143b SHA512 4e6b9291038587546d4345a252e5933146e4ca70f42048fd8cdad5f019f1f5e5a2543ce99bd044940c813511e7e6dab3c67f7e8848821cb749d5f19451f98089 EBUILD catch-2.5.0.ebuild 916 BLAKE2B 9a7efd65afb6de239b60e4323b23dc8b4aba7279ac7b17b2cd6a7c5db56b54b2bbc70d54cfe30d9a061e38d0c97c1c998858869911416f7d1470c393630e0d70 SHA512 fccb13c55cddcf03ed55d92ff32f19c173a96a4bf2c6123d53ebf0bc14565252c2d7363579342274f9b00f29ca35b3b92187bfc5986c43a9d08341784f451869 EBUILD catch-2.7.0.ebuild 918 BLAKE2B 5a12b57986cc2962aaacdc4cad8f6e4ef3457cc93e651c50baa4a0c1c8959d75ae4f6015aab639fe3f791ed1cc66c0f587b860fea31073ffb1f502ff18828731 SHA512 05ae02b9b2b81b08075077b3fe324ea016d3b130543bccd459c09857336a712fb3dc41c24b741b48a12c7c5b941a288bfcebcdafd13a57f991a9799b2221488d +EBUILD catch-2.9.1.ebuild 918 BLAKE2B 5a12b57986cc2962aaacdc4cad8f6e4ef3457cc93e651c50baa4a0c1c8959d75ae4f6015aab639fe3f791ed1cc66c0f587b860fea31073ffb1f502ff18828731 SHA512 05ae02b9b2b81b08075077b3fe324ea016d3b130543bccd459c09857336a712fb3dc41c24b741b48a12c7c5b941a288bfcebcdafd13a57f991a9799b2221488d EBUILD catch-9999.ebuild 918 BLAKE2B 6a64f80865b8d399a9f24885eacc2538985c224ff1eb9cde10a3e0c6aeaa08c84ce2e69dbcad48d8f69cd8fadd732bd01c0f97f87873ac3080491372ab567730 SHA512 4f053c94484263c8dc6240cfbe42458fdf393605b5dcbaa4425648a8c3871cd8928f6ed0fd8c13e904c37089b9483bd60dc6b71809699b5fe1e98fdc2177def5 MISC metadata.xml 324 BLAKE2B e32ed47ddce7e517244ff26e70d1bd31cdaa33bef0bf4a6cf4284f3688745760a9538f9bf6d9d25a9fabd3f5f6901a1b91c76d2fe290427a55bcc74d4f17be7b SHA512 094af03b1e2befa015f1faaca9ecf4158fffedfe7ef8a2873e9e6cd6e4e7d26f276e357ac1989c2809702abc3ada590668adc37c9d804cee31ae564f88c3315f diff --git a/dev-cpp/catch/catch-2.9.1.ebuild b/dev-cpp/catch/catch-2.9.1.ebuild new file mode 100644 index 000000000000..1a7d1ed8fba5 --- /dev/null +++ b/dev-cpp/catch/catch-2.9.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit cmake-utils 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" + KEYWORDS="~amd64 ~x86" + + S=${WORKDIR}/${MY_P} +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_ENABLE_WERROR=OFF + -DBUILD_TESTING=$(usex test) + ) + use test && + mycmakeargs+=(-DPYTHON_EXECUTABLE="${PYTHON}") + + cmake-utils_src_configure +} |