commit: 502aef0fe50cb4bc7b760fd50d607204d04c9189
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 21 04:46:14 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 21 04:46:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502aef0f
dev-python/pycodestyle: Bump to 2.14.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pycodestyle/Manifest | 1 +
dev-python/pycodestyle/pycodestyle-2.14.0.ebuild | 35 ++++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest
index eacdf5387471..fc77897e13bc 100644
--- a/dev-python/pycodestyle/Manifest
+++ b/dev-python/pycodestyle/Manifest
@@ -1 +1,2 @@
DIST pycodestyle-2.13.0.gh.tar.gz 80780 BLAKE2B
77886f6cf24b27974af6284a70d667dca5766c79325bb377825c4db6d27aacdce08130cef4cdaf8cfcbac284b2e07b1f05b25743eed8f282249ffa9cafc0b8cf
SHA512
6e1ba1586b62a9ba3b63f2c67b9b98ee787785fffc29897a68d6dd138d226f5fc490a555ad11f4ca2a8c46082ad5ce8ea1c904c12183005abe4347ca80ca63be
+DIST pycodestyle-2.14.0.gh.tar.gz 81096 BLAKE2B
d776407ac0eef88f05a322832d295f59962ddb626760d530fbebe423d9df259cd15cddc5d8e78cdf877646d4434811d19b2b0392ba05f8f968c866bb99c3f5ae
SHA512
0c81febffaf0f23ff4a8f7168202a05917aef913bdd92f0a45b1d595272b8206e79987c43eefbdc850b94a467f25f43067209320b60be628d46788c3cc1ad618
diff --git a/dev-python/pycodestyle/pycodestyle-2.14.0.ebuild
b/dev-python/pycodestyle/pycodestyle-2.14.0.ebuild
new file mode 100644
index 000000000000..d14c3cde8dc7
--- /dev/null
+++ b/dev-python/pycodestyle/pycodestyle-2.14.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python style guide checker (fka pep8)"
+HOMEPAGE="
+ https://pycodestyle.pycqa.org/en/latest/
+ https://github.com/PyCQA/pycodestyle/
+ https://pypi.org/project/pycodestyle/
+"
+# 2.11.0 broke sdist
+# https://github.com/PyCQA/pycodestyle/issues/1183
+SRC_URI="
+ https://github.com/PyCQA/pycodestyle/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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos
~x64-solaris"
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}