summaryrefslogtreecommitdiff
path: root/devel/py-pycocotools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pycocotools/Makefile')
-rw-r--r--devel/py-pycocotools/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/devel/py-pycocotools/Makefile b/devel/py-pycocotools/Makefile
index c218cfac71db..c57ca7a25943 100644
--- a/devel/py-pycocotools/Makefile
+++ b/devel/py-pycocotools/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pycocotools
-PORTVERSION= 2.0.8
+PORTVERSION= 2.0.10
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,11 +14,15 @@ LICENSE= BSD2CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=43.0.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.0:math/py-matplotlib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
-USES= python:3.9+
-USE_PYTHON= autoplist concurrent cython pep517
+USES= python
+USE_PYTHON= autoplist concurrent cython3 pep517
+
+OPTIONS_DEFINE= ALL
+ALL_DESC= All optional dependencies
+
+ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.0:math/py-matplotlib@${PY_FLAVOR}
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +