diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2023-03-08 17:20:21 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-03-08 17:20:28 -0800 |
commit | 52022840ed040b44e8423de25486beb9bbe01083 (patch) | |
tree | 0ed1b9b738327cdc2b190698e5d98303b59dda47 /dev-util/gcovr | |
parent | dev-java/open-test-reporting-schema: Keyword 0.1.0_pre1 ppc64, #900414 (diff) | |
download | gentoo-52022840ed040b44e8423de25486beb9bbe01083.tar.gz gentoo-52022840ed040b44e8423de25486beb9bbe01083.tar.bz2 gentoo-52022840ed040b44e8423de25486beb9bbe01083.zip |
dev-util/gcovr: add 6.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/gcovr')
-rw-r--r-- | dev-util/gcovr/Manifest | 1 | ||||
-rw-r--r-- | dev-util/gcovr/gcovr-6.0.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/gcovr/Manifest b/dev-util/gcovr/Manifest index 427dbe1aaf2f..03fad14d234f 100644 --- a/dev-util/gcovr/Manifest +++ b/dev-util/gcovr/Manifest @@ -1,2 +1,3 @@ DIST gcovr-5.1.tar.gz 1676960 BLAKE2B 106c30c7e349f8ffa7a9c52d70e59c32799a8def11986027e3b794ada07fc11ab27b322c377b553f4bb96ca8662bf152eeb7de2d1913381e6068123d2430aa6c SHA512 ae2f0d9ad04f2dc851db9bc99a30a5dc1b1f43dbc6336422ecf5228d37f6994406a83e50f1ee6b5c8d6ec6d7b9e2bba726fd3d502dc5022fe359d480e6d267a5 DIST gcovr-5.2.tar.gz 1381017 BLAKE2B 8dcd7eb5d482f2020eb29da74e215f0b7731654a66b4ca6d0d919ad6b7eebe564c211a8ec5c4ef87efd61e7c18bfa524aae56d653522f23e4bb902a3921f9522 SHA512 d1a4dd63129ac1d2b9a892ced9b4a0644dc49dc3a115d81ddf348e43fea0e7809c6533104106da8f89a666a4af9ff5a62429b4270ff2272ca61bbebecb7fb921 +DIST gcovr-6.0.tar.gz 1054940 BLAKE2B 1947950d06926cf48d456e6bc389db46cfe4c7ed0395da1ebdb75aa1ea4b85f3cea536d77a4ddca5621885daaaf54462160592a5a384247f12ad3ed5c299b0b7 SHA512 3b4d30417b5000d2d28bc156dc9db43ba62cf8756aa5a9619391457d0042dc8eaf1743c5defdaabffb6b423bf2fcf8172b3e6c8795419758abc1acf4853de4bb diff --git a/dev-util/gcovr/gcovr-6.0.ebuild b/dev-util/gcovr/gcovr-6.0.ebuild new file mode 100644 index 000000000000..f721625bc8ed --- /dev/null +++ b/dev-util/gcovr/gcovr-6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="A Python script for summarizing gcov data" +HOMEPAGE="https://github.com/gcovr/gcovr" +SRC_URI="https://github.com/gcovr/gcovr/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/yaxmldiff[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PATH="${TEST_DIR}/scripts:${PATH}" \ + PYTHONPATH="${TEST_DIR}/lib" + + local deselect=( + # those tests fail on gcc newer than 5.8 + # https://github.com/gcovr/gcovr/issues/206 + gcovr/tests/test_gcovr.py + ) + + epytest gcovr ${deselect[@]/#/--deselect } +} |