Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
3fb95483
Commit
3fb95483
authored
Mar 24, 2020
by
antoine
Browse files
Add a PY_PILLOW that can be used to choose between graphics/py-pillow
and graphics/py-pillow6 With hat: portmgr
parent
0a8ae7f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Mk/Uses/python.mk
View file @
3fb95483
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment