summaryrefslogtreecommitdiff
path: root/Mk/Uses/python.mk
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2020-03-24 19:51:44 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2020-03-24 19:51:44 +0000
commitb4990c3eb608adca7aab250206f47b154ccd7711 (patch)
tree5121ecefac840d029b4e67d8c09ec868fa5a3a02 /Mk/Uses/python.mk
parentSort variables (diff)
Add a PY_PILLOW that can be used to choose between graphics/py-pillow
and graphics/py-pillow6 With hat: portmgr
Notes
Notes: svn path=/head/; revision=529061
Diffstat (limited to 'Mk/Uses/python.mk')
-rw-r--r--Mk/Uses/python.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index c406ce562fa1..16eb51fbce8e 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -631,8 +631,10 @@ PYNUMPY= ${PYTHON_PKGNAMEPREFIX}numpy>=1.15,1<1.19,1:math/py-numpy@${PY_FLAVOR}
# Common Python modules that can be needed but only for some versions of Python.
.if ${PYTHON_REL} < 3500
+PY_PILLOW= ${PYTHON_PKGNAMEPREFIX}pillow6>=6.0.0:graphics/py-pillow6@${PY_FLAVOR}
PY_TYPING= ${PYTHON_PKGNAMEPREFIX}typing>=3.7.4:devel/py-typing@${PY_FLAVOR}
.else
+PY_PILLOW= ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR}
PY_TYPING=
.endif