From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6A6C15800D for ; Tue, 4 Jul 2023 19:09:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2937E077D; Tue, 4 Jul 2023 19:09:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A8784E077D for ; Tue, 4 Jul 2023 19:09:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBF5C340F5A for ; Tue, 4 Jul 2023 19:09:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 23FB3AC3 for ; Tue, 4 Jul 2023 19:09:48 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1688497759.2ad9afe722a7b6e774941e9a03d1e66aa827241a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyflakes/, dev-python/pyflakes/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyflakes/files/pyflakes-3.0.1-python3.11.patch dev-python/pyflakes/pyflakes-3.0.1-r1.ebuild X-VCS-Directories: dev-python/pyflakes/files/ dev-python/pyflakes/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2ad9afe722a7b6e774941e9a03d1e66aa827241a X-VCS-Branch: master Date: Tue, 4 Jul 2023 19:09:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8148e370-6630-4765-b46e-a8c51b1159a7 X-Archives-Hash: 72752aff2bcd22c520fbded93aff0bb5 commit: 2ad9afe722a7b6e774941e9a03d1e66aa827241a Author: Sam James gentoo org> AuthorDate: Tue Jul 4 19:08:43 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jul 4 19:09:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad9afe7 dev-python/pyflakes: disable py3.9, style tweak Signed-off-by: Sam James gentoo.org> dev-python/pyflakes/files/pyflakes-3.0.1-python3.11.patch | 10 +--------- dev-python/pyflakes/pyflakes-3.0.1-r1.ebuild | 4 +++- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/dev-python/pyflakes/files/pyflakes-3.0.1-python3.11.patch b/dev-python/pyflakes/files/pyflakes-3.0.1-python3.11.patch index b2e7f57b2bad..db804f42c775 100644 --- a/dev-python/pyflakes/files/pyflakes-3.0.1-python3.11.patch +++ b/dev-python/pyflakes/files/pyflakes-3.0.1-python3.11.patch @@ -1,17 +1,11 @@ https://github.com/PyCQA/pyflakes/commit/836631f2f73d45baa4021453d89fc9fd6f52be58 https://bugs.gentoo.org/909554 + From 836631f2f73d45baa4021453d89fc9fd6f52be58 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 12 Jun 2023 21:00:45 -0400 Subject: [PATCH] fix error reporter and testsuite in 3.11.4+ (#775) ---- - pyflakes/reporter.py | 3 ++- - pyflakes/test/test_api.py | 8 ++++++-- - 2 files changed, 8 insertions(+), 3 deletions(-) - -diff --git a/pyflakes/reporter.py b/pyflakes/reporter.py -index af834d1c..65ed4d8e 100644 --- a/pyflakes/reporter.py +++ b/pyflakes/reporter.py @@ -56,8 +56,9 @@ def syntaxError(self, filename, msg, lineno, offset, text): @@ -25,8 +19,6 @@ index af834d1c..65ed4d8e 100644 if offset is not None: # some versions of python emit an offset of -1 for certain encoding errors -diff --git a/pyflakes/test/test_api.py b/pyflakes/test/test_api.py -index 5c1879c1..13e8f685 100644 --- a/pyflakes/test/test_api.py +++ b/pyflakes/test/test_api.py @@ -621,8 +621,12 @@ def test_misencodedFileUTF16(self): diff --git a/dev-python/pyflakes/pyflakes-3.0.1-r1.ebuild b/dev-python/pyflakes/pyflakes-3.0.1-r1.ebuild index 2e8999e03a38..cbe9dae91c15 100644 --- a/dev-python/pyflakes/pyflakes-3.0.1-r1.ebuild +++ b/dev-python/pyflakes/pyflakes-3.0.1-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..11} pypy3 ) inherit distutils-r1 pypi @@ -17,7 +17,9 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + PATCHES=( "${FILESDIR}"/${P}-python3.11.patch ) + distutils_enable_tests unittest