commit: 96c3bc40842ce668f84f3ab1e893711a1ab7ef70 Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Sun Sep 21 10:03:05 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Sun Sep 28 03:27:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96c3bc40
dev-util/diff-cover: add 9.6.0 fixed redirection in URLs & simplified $S assignment Also the tests work so I am closing the TESTFAILIURE bug Closes: https://bugs.gentoo.org/950013 Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Closes: https://github.com/gentoo/gentoo/pull/38283 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-util/diff-cover/Manifest | 1 + dev-util/diff-cover/diff-cover-9.6.0.ebuild | 34 +++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-util/diff-cover/Manifest b/dev-util/diff-cover/Manifest index 7024d92636d5..e5e0be91e010 100644 --- a/dev-util/diff-cover/Manifest +++ b/dev-util/diff-cover/Manifest @@ -1 +1,2 @@ DIST diff-cover-9.2.0.gh.tar.gz 110215 BLAKE2B 7acc40be1464c4a5d0d95ed4f1d11e40302a0fc2aee751857154022a1e096afaaa656994c1c347c8cfdb6ec10684fe774d994a6a4e919a048997e18ce7f27310 SHA512 41289b4e4c37615155293df4058860b7118329784ed18afdf3624147f7d6ade6eedb86f17eb930c9f1f910c8723ee0ebafe074244cab7b3283e8135fa751ec00 +DIST diff-cover-9.6.0.gh.tar.gz 125378 BLAKE2B c9d7ce0dadc75d2703ff679e5f9e9dd724d33337b121629a4b42eb6641842f492acc53c679b117a25a98bc186f96bb3b8de87100578e417bdc2fc4406c2962af SHA512 17a1167ec788610732f034f66013237354b7ff36f4fc8ab70894d1bfc4645dd2433ca8038edd23db3bc45e57c90cebf8a5a70a49fd85e3bbe766f27b4f313243 diff --git a/dev-util/diff-cover/diff-cover-9.6.0.ebuild b/dev-util/diff-cover/diff-cover-9.6.0.ebuild new file mode 100644 index 000000000000..9d846182d70c --- /dev/null +++ b/dev-util/diff-cover/diff-cover-9.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{11..13} ) +inherit distutils-r1 + +DESCRIPTION="Find diff lines that do not have test coverage" +HOMEPAGE="https://github.com/Bachmann1234/diff_cover" +SRC_URI="https://github.com/Bachmann1234/diff_cover/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/diff_cover-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/jinja2-2.7.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-0.13.1[${PYTHON_USEDEP}] + >=dev-python/chardet-3.0.0[${PYTHON_USEDEP}] +" +# Note: flake8/pylint called as shell tools, not imported libraries +BDEPEND=" + test? ( + dev-python/flake8 + dev-python/pylint + dev-python/pytest-datadir[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest
