mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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 <eschwartz@gentoo.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From e1572f7c2e690411357457c76960e64ae9e8207a Mon Sep 17 00:00:00 2001
|
||||
From: Eli Schwartz <eschwartz@gentoo.org>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user