git: 63ad96b2566e - main - devel/py-pyflakes: Use the simpler script which does not raise StopIteration

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 11 Sep 2023 03:14:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63ad96b2566ef807c357d5e158caa7da974554f1

commit 63ad96b2566ef807c357d5e158caa7da974554f1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-11 03:08:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-11 03:11:28 +0000

    devel/py-pyflakes: Use the simpler script which does not raise StopIteration
    
    - Bump PORTREVISION for package change
    
    PR:             267219
    Reported by:    yuri
---
 devel/py-pyflakes/files/patch-setup.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/devel/py-pyflakes/files/patch-setup.py b/devel/py-pyflakes/files/patch-setup.py
new file mode 100644
index 000000000000..7af0b37e513d
--- /dev/null
+++ b/devel/py-pyflakes/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig	2023-01-31 18:28:24 UTC
++++ setup.py
+@@ -10,10 +10,8 @@ except ImportError:
+     extra = {'scripts': ["bin/pyflakes"]}
+ else:
+     extra = {
++        'scripts': ["bin/pyflakes"],
+         'test_suite': 'pyflakes.test',
+-        'entry_points': {
+-            'console_scripts': ['pyflakes = pyflakes.api:main'],
+-        },
+     }
+ 
+