diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2020-03-24 19:51:44 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2020-03-24 19:51:44 +0000 |
commit | b4990c3eb608adca7aab250206f47b154ccd7711 (patch) | |
tree | 5121ecefac840d029b4e67d8c09ec868fa5a3a02 /Mk | |
parent | Sort 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')
-rw-r--r-- | Mk/Uses/python.mk | 2 |
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 |