git: 690423436af5 - main - textproc/py-pystemmer: update to 3.1.0 release, adopt (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Sep 2026 17:35:57 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=690423436af568fa241df2066770b8a6e9d9f7de
commit 690423436af568fa241df2066770b8a6e9d9f7de
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-09-04 17:32:22 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-09-04 17:35:46 +0000
textproc/py-pystemmer: update to 3.1.0 release, adopt (+)
PR: 290576
Approved by: dbaio (former maintainer)
---
textproc/py-pystemmer/Makefile | 19 +++++++++++++------
textproc/py-pystemmer/distinfo | 6 +++---
textproc/py-pystemmer/files/patch-setup.py | 20 ++++++++++----------
3 files changed, 26 insertions(+), 19 deletions(-)
diff --git a/textproc/py-pystemmer/Makefile b/textproc/py-pystemmer/Makefile
index 4b53f8f6f669..f7086e73045d 100644
--- a/textproc/py-pystemmer/Makefile
+++ b/textproc/py-pystemmer/Makefile
@@ -1,23 +1,30 @@
PORTNAME= pystemmer
-PORTVERSION= 2.0.1
-PORTREVISION= 1
+PORTVERSION= 3.1.0
CATEGORIES= textproc python
MASTER_SITES= PYPI \
http://snowball.tartarus.org/wrappers/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= PyStemmer-${PORTVERSION}
-MAINTAINER= dbaio@FreeBSD.org
+MAINTAINER= fluffy@FreeBSD.org
COMMENT= Snowball Stemming Algorithms for Information Retrieval
WWW= https://pypi.org/project/PyStemmer/
LICENSE= MIT BSD3CLAUSE
LICENSE_COMB= dual
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=18.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+LIB_DEPENDS= libstemmer.so:textproc/snowballstemmer
+
USES= python
-USE_PYTHON= autoplist cython distutils
+USE_PYTHON= autoplist cython pep517 pytest
+CONFIGURE_ENV+= PYSTEMMER_SYSTEM_LIBSTEMMER=1
+MAKE_ENV+= PYSTEMMER_SYSTEM_LIBSTEMMER=1
+CFLAGS+= -I${LOCALBASE}/include
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Stemmer*.so
+.ifndef WITH_DEBUG
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Stemmer.*.so
+.endif
.include <bsd.port.mk>
diff --git a/textproc/py-pystemmer/distinfo b/textproc/py-pystemmer/distinfo
index f161055c3c6e..857b937f5575 100644
--- a/textproc/py-pystemmer/distinfo
+++ b/textproc/py-pystemmer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1617964201
-SHA256 (PyStemmer-2.0.1.tar.gz) = 9b81c35302f1d2a5ad9465b85986db246990db93d97d3e8f129269ed7102788e
-SIZE (PyStemmer-2.0.1.tar.gz) = 559329
+TIMESTAMP = 1786547610
+SHA256 (pystemmer-3.1.0.tar.gz) = 083cc3ed90f4c3b0668f8e31c2925cbb4db3bf0fd6d710e0ad0914f33685f7df
+SIZE (pystemmer-3.1.0.tar.gz) = 302551
diff --git a/textproc/py-pystemmer/files/patch-setup.py b/textproc/py-pystemmer/files/patch-setup.py
index 8848a3a06110..c105289b2843 100644
--- a/textproc/py-pystemmer/files/patch-setup.py
+++ b/textproc/py-pystemmer/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig 2020-07-15 11:49:38 UTC
+--- setup.py.orig 2025-05-08 03:04:00 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',
+@@ -150,7 +150,7 @@ class BootstrapCommand(Command):
+ self.libstemmer_url, self.libstemmer_sha256)
+
+
+-setup(name='PyStemmer',
++setup(name='pystemmer',
+ version=version_str,
+ author='Richard Boulton',
+ author_email='richard@tartarus.org',