ports/textproc/py-wordcloud/Makefile
Thierry Thomas 7e5c5c0835 textproc/py-wordcloud: re-add setuptools
Since I’m here, switch to setuptools-scm 8.

Reported by:	pkg-fallout
2025-03-14 18:56:20 +01:00

32 lines
853 B
Makefile

PORTNAME= wordcloud
DISTVERSION= 1.9.4
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Little word cloud generator in Python
WWW= https://amueller.github.io/word_cloud/
LICENSE= MIT
BUILD_DEPENDS= ${PYNUMPY} \
${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= cython pep517
PLIST_SUB+= VER=${PORTVERSION}
.if !defined(WITH_DEBUG)
LDFLAGS+= -s
.endif
.include <bsd.port.mk>