summaryrefslogtreecommitdiff
path: root/dev-python/flake8
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flake8')
-rw-r--r--dev-python/flake8/Manifest1
-rw-r--r--dev-python/flake8/flake8-7.4.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest
index fe6c72ab5714..a2f6cd21c7c2 100644
--- a/dev-python/flake8/Manifest
+++ b/dev-python/flake8/Manifest
@@ -1,2 +1,3 @@
DIST flake8-7.3.0.gh.tar.gz 139555 BLAKE2B 342aab4e70c5f03bbd17336f8717815eb5bd0e9a9992cde1e4266faba36bc388ae104295acea7bc89a003bf52152ae93eec4bff91cebc52ac1f8251d32a2f083 SHA512 46e843fc6c3fae0e3b2cd5de09af4131ccdd2c0d7b09fe4942203d065e8625a0f95a3e6cbb89cc94bdb2925c1bd87ec8ba56211a9d695045fb64de91056236d8
DIST flake8-7.4.0.gh.tar.gz 139363 BLAKE2B f49daaef4114c03c13a3d9842bc90d0659e38f5f1dcef2e3342d4495224bf0f5bf0d262a69865476d4b3a7f0e1ffef161a9c6d58327014af2733949ee773f83a SHA512 ad8766bdb0ce7c31dc977015f4fae1c78761978ff6e4780b45bda0db684b365342b2ba74a27b6d99b9a0558657964690ca3bb17ea6b27ed3d8f6d98fb15ce81c
+DIST flake8-7.4.1.gh.tar.gz 139629 BLAKE2B 0bfbcf46411998e378ec987d6731fda658268c7c042cf0f08f526a29794244ae1a752557be95b18ebd92f2b6f4d29eaf3f7bbe094664412e16fb8dcf5c2f3538 SHA512 77fef1058d64725faea2ad7ad350d89e15f6b8bb9e050ae70b792265d29cebe0cb05e8fd8e91d48133f3a2bcfc0e7ebc72e27b0d4c7564d4a9b33cf9f99f067d
diff --git a/dev-python/flake8/flake8-7.4.1.ebuild b/dev-python/flake8/flake8-7.4.1.ebuild
new file mode 100644
index 000000000000..f710da5904a8
--- /dev/null
+++ b/dev-python/flake8/flake8-7.4.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
+HOMEPAGE="
+ https://github.com/PyCQA/flake8/
+ https://pypi.org/project/flake8/
+"
+SRC_URI="
+ https://github.com/PyCQA/flake8/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+ =dev-python/pyflakes-4.0*[${PYTHON_USEDEP}]
+ =dev-python/pycodestyle-2.15*[${PYTHON_USEDEP}]
+"
+PDEPEND="
+ =dev-python/mccabe-0.7*[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ test? (
+ ${PDEPEND}
+ )
+"
+
+distutils_enable_sphinx docs/source \
+ dev-python/sphinx-prompt \
+ dev-python/sphinx-rtd-theme
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # fails if additional flake8 plugins are installed
+ tests/integration/test_plugins.py::test_local_plugin_can_add_option
+)