Commit e37ebaf6 authored by bdrewery's avatar bdrewery
Browse files

Add back support for PYTHON_NO_DEPENDS that was lost in the USES=python

conversion in r364450.  This feature is still very useful for meta packages
to be able to easily depend on py-* packages using the correct PY_* vars.
For the sake of POLA retain the same name so previously working ports just work.
parent 7748d8e0
......@@ -28,7 +28,7 @@
# it as RUN_DEPENDS.
# If build and run are omitted, Python will be added as BUILD_DEPENDS and
# RUN_DEPENDS. PYTHON_NO_DEPENDS can be set to not add any dependencies.
# Variables, which can be set by a user:
......@@ -243,7 +243,8 @@ _PYTHON_ARGS:= ${_PYTHON_ARGS:Nrun}
# The port does not specify a build or run dependency, assume both are
# required.
.if !defined(_PYTHON_BUILD_DEP) && !defined(_PYTHON_RUN_DEP)
.if !defined(_PYTHON_BUILD_DEP) && !defined(_PYTHON_RUN_DEP) && \
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment