Files
Emanuel Haupt f18a04ffb9 graphics/py-face_recognition_models: add missing runtime dependency
The package imports pkg_resources at runtime, which is provided by
devel/py-setuptools.  Add setuptools as a RUN_DEPENDS to avoid
ModuleNotFoundError when using face_recognition_models without setuptools
installed.

PR:             288531
Reported by:	kaltheat@gmail.com
2025-10-17 22:12:36 +02:00

23 lines
521 B
Makefile

PORTNAME= face_recognition_models
PORTVERSION= 0.3.0
PORTREVISION= 2
CATEGORIES= graphics python devel
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Models used by the face_recognition package
WWW= https://pypi.org/project/face_recognition_models/
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>