From 69887310e9ab5a3b6b7ee2ba1e6e644e8468bf42 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 17 Nov 2021 17:03:42 +0300 Subject: textproc/py-pystemmer: fix build with cython 3.x The port builds fine with cython 3.x (upcoming cython-devel), which is currently the only option with (upcoming) python 3.11. Remove the needless version limitation which breaks the build. PR: 259899 Approved by: dbaio (maintainer) --- textproc/py-pystemmer/files/patch-setup.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/py-pystemmer/files/patch-setup.py diff --git a/textproc/py-pystemmer/files/patch-setup.py b/textproc/py-pystemmer/files/patch-setup.py new file mode 100644 index 000000000000..8848a3a06110 --- /dev/null +++ b/textproc/py-pystemmer/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2020-07-15 11:49:38 UTC ++++ setup.py +@@ -187,7 +187,7 @@ setup(name='PyStemmer', + "Topic :: Text Processing :: Indexing", + "Topic :: Text Processing :: Linguistic", + ], +- setup_requires=['Cython>=0.28.5,<1.0', 'setuptools>=18.0'], ++ setup_requires=['Cython>=0.28.5', 'setuptools>=18.0'], + ext_modules=[ + Extension( + 'Stemmer', -- cgit v1.2.3