From 39a71e02f7b7dd00057573abc623c14c420e866d Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 20 Jun 2025 01:45:47 -0400 Subject: [PATCH] dev-debug/d-feet: enable py3.12, py3.13 Take this opportunity to defuse lint tests from running in src_test. Signed-off-by: Eli Schwartz --- dev-debug/d-feet/d-feet-0.3.16.ebuild | 6 ++-- ...-lint-coding-style-in-distro-testing.patch | 30 +++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 dev-debug/d-feet/files/0001-Do-not-lint-coding-style-in-distro-testing.patch diff --git a/dev-debug/d-feet/d-feet-0.3.16.ebuild b/dev-debug/d-feet/d-feet-0.3.16.ebuild index efd7093136e17..54dc99ede3a63 100644 --- a/dev-debug/d-feet/d-feet-0.3.16.ebuild +++ b/dev-debug/d-feet/d-feet-0.3.16.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit gnome2 meson python-single-r1 virtualx @@ -33,11 +33,11 @@ RDEPEND=" " BDEPEND=" dev-util/itstool - test? ( dev-python/pycodestyle ) " PATCHES=( "${FILESDIR}"/${PN}-0.3.16-fix-meson-0.61.patch + "${FILESDIR}"/0001-Do-not-lint-coding-style-in-distro-testing.patch ) src_configure() { diff --git a/dev-debug/d-feet/files/0001-Do-not-lint-coding-style-in-distro-testing.patch b/dev-debug/d-feet/files/0001-Do-not-lint-coding-style-in-distro-testing.patch new file mode 100644 index 0000000000000..620e9cf400bbb --- /dev/null +++ b/dev-debug/d-feet/files/0001-Do-not-lint-coding-style-in-distro-testing.patch @@ -0,0 +1,30 @@ +From e1572f7c2e690411357457c76960e64ae9e8207a Mon Sep 17 00:00:00 2001 +From: Eli Schwartz +Date: Fri, 20 Jun 2025 01:39:16 -0400 +Subject: [PATCH] Do not lint coding style in distro testing + +--- + src/tests/meson.build | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/src/tests/meson.build b/src/tests/meson.build +index 19f819b..0879981 100644 +--- a/src/tests/meson.build ++++ b/src/tests/meson.build +@@ -18,13 +18,3 @@ test( + workdir: meson.current_source_dir(), + ) + +-test( +- 'check-code-style', +- find_program('pycodestyle-3', 'pycodestyle', 'pep8'), +- args: [ +- '--exclude=".svn,CVS,.bzr,.hg,.git,__pycache__,.\#*"', +- '--max-line-length=99', +- '--ignore=E123,E402,W504', +- src_dir, +- ], +-) +-- +2.49.0 +