git: 28825935b92c - main - textproc/py-stemming: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:51:07 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=28825935b92cb4de657f1051336acd5b6d9d6578
commit 28825935b92cb4de657f1051336acd5b6d9d6578
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:34:49 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:23 +0000
textproc/py-stemming: Fix build with setuptools 58.0.0+
With hat: python
---
textproc/py-stemming/files/patch-2to3 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/textproc/py-stemming/files/patch-2to3 b/textproc/py-stemming/files/patch-2to3
new file mode 100644
index 000000000000..2bca3a4bd2e4
--- /dev/null
+++ b/textproc/py-stemming/files/patch-2to3
@@ -0,0 +1,11 @@
+--- stemming/porter.py.orig 2010-02-08 23:06:43 UTC
++++ stemming/porter.py
+@@ -173,7 +173,7 @@ def stem(w):
+ return w
+
+ if __name__ == '__main__':
+- print stem("fundamentally")
++ print(stem("fundamentally"))
+
+
+