Commit da79ab08 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

Portage integration: if dep.blocker is not False, it's a blocker

parent 5046dfa8
......@@ -176,7 +176,7 @@ def native(settings, mydbapi=None):
# apk-tools/src/package.c:195
# there is literally no other documentation for this format.
apk_format = '{name}{op}{ver}'.format(name=package, op=op, ver=ver)
if dep.blocker:
if dep.blocker is not False:
apk_format = '!' + apk_format
params['depends'].append(apk_format)
......
Markdown is supported
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