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
This commit is contained in:
parent
2240ab90cc
commit
f18a04ffb9
@ -1,6 +1,6 @@
|
||||
PORTNAME= face_recognition_models
|
||||
PORTVERSION= 0.3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics python devel
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -12,6 +12,8 @@ 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user