ports/textproc/py-snowballstemmer/Makefile
Po-Chuan Hsieh ae4cc4e081
textproc/py-snowballstemmer: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
2024-05-13 22:10:34 +08:00

30 lines
802 B
Makefile

PORTNAME= snowballstemmer
PORTVERSION= 2.2.0
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Snowball stemming library collection for Python
WWW= https://snowballstem.org/ \
https://github.com/snowballstem/snowball
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
OPTIONS_DEFINE= PYSTEMMER
OPTIONS_DEFAULT=PYSTEMMER
PYSTEMMER_DESC= Use PyStemmer to accelerate
PYSTEMMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pystemmer>=0:textproc/py-pystemmer@${PY_FLAVOR}
.include <bsd.port.mk>