summaryrefslogtreecommitdiff
path: root/dev-util/diff-cover
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-30 02:06:22 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-30 02:06:22 +0000
commit080d89feff80cae2fc974ff2f24d463141c20635 (patch)
tree53d0a66fabd88f847940192be8163c5f3291d434 /dev-util/diff-cover
parent2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (diff)
gentoo auto-resync : 30:11:2024 - 02:06:22
Diffstat (limited to 'dev-util/diff-cover')
-rw-r--r--dev-util/diff-cover/Manifest2
-rw-r--r--dev-util/diff-cover/diff-cover-9.2.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/diff-cover/Manifest b/dev-util/diff-cover/Manifest
index f8017f309ff0..168ca4bb665c 100644
--- a/dev-util/diff-cover/Manifest
+++ b/dev-util/diff-cover/Manifest
@@ -1,4 +1,6 @@
DIST diff-cover-6.5.0-testfixtures.patch 18608 BLAKE2B d298ca1b756ef7fce4a449c4b84fd5508496f13006e11d93af791b20f47a8039e7a3d7ac2c400577f7816db14b4c84f6aacf361f3d3c57d02278d36f3cc40236 SHA512 3a3041edcbca00a336cbe5b3b8c4aa648a0b70bbcd190349968610d0dc6115da0e5e258fe14de6f73c975d9adf72955126ef9266fd16f82db6d1d683095c64b9
DIST diff-cover-6.5.0.tar.gz 108392 BLAKE2B fc3a2a46e66501da5c08ce58fc13e46671246737320a0b6350b78f6b777d3759ec47d4ada170bb3dffcfe0927920741a3c5bff03509d92b2cc873cecce282eb1 SHA512 a00a1009fc8b9ca46f93573e3a2d6eb6a6a29f0e61891c839209dbe3d208d873a42524b30e3a18918817d173cefc3c5f481f7eea689170d72b5cd08857a8f021
+DIST diff-cover-9.2.0.gh.tar.gz 110215 BLAKE2B 7acc40be1464c4a5d0d95ed4f1d11e40302a0fc2aee751857154022a1e096afaaa656994c1c347c8cfdb6ec10684fe774d994a6a4e919a048997e18ce7f27310 SHA512 41289b4e4c37615155293df4058860b7118329784ed18afdf3624147f7d6ade6eedb86f17eb930c9f1f910c8723ee0ebafe074244cab7b3283e8135fa751ec00
EBUILD diff-cover-6.5.0-r2.ebuild 1238 BLAKE2B 7c8c46a4a7820129fcc89006f16c812a46bd1b014a41423818ea09f2929bf467f4b74983bafc5ea095b300cddce079b5f3fe46aa77f24149eb3deba1e45c240f SHA512 06dd700b6b48e60a53f9c3e1660ed2accdb3d89306c22b76c489b3b60199e6a3631708a0b58a005dc57120af93de53f608e8e522776769c2ee59116dada722a2
+EBUILD diff-cover-9.2.0.ebuild 1136 BLAKE2B dac940f4584fb68064dbcb9e8973ab7c66e33a2fbac95213261fb399fd317fda994fee17850dd7f5788958e103511b156c17f74e7e0c71b065cec162d20834b5 SHA512 1ecd11f0ad3b76a8e652764c01fcdba9ffc184d90c400188b63f7da747f2343cf9278c276eb95d003e0c4900ac0c48ac946e23a9a75b91bf862880f656881e54
MISC metadata.xml 385 BLAKE2B 0c08e1f36e3e401c5dff488145fa08bf6705a0a30b5603b9bb22568aecd4ec9f6c06eaf7eef0ccee4aa6b408e0004d631c74fa15014af06d987a75683b4970d2 SHA512 d9f72c773fc0b8cefa142b6822c5cef880ad9a1a73aab2addd56e65b14137811a0b1ecb53186b16479ab43f72a5d96533f60556f12305521543597fb920656d5
diff --git a/dev-util/diff-cover/diff-cover-9.2.0.ebuild b/dev-util/diff-cover/diff-cover-9.2.0.ebuild
new file mode 100644
index 000000000000..d71da7501434
--- /dev/null
+++ b/dev-util/diff-cover/diff-cover-9.2.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..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}/${P/diff-cover/diff_cover}"
+
+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}]
+ >=dev-python/tomli-1.2.1[${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
+
+src_test() {
+ # Remove project's flake8 config because it causes a test that calls `flake8 --version` to fail
+ rm .flake8 || die
+ distutils-r1_src_test
+}