summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-04-24 01:31:59 -0500
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-04-24 01:31:59 -0500
commitda79ab08e87d6b40d543739eb8018602d48fb9e9 (patch)
tree815ff7bcb8ce53448e8fb0022dcdb2f7dbf2a688
parent5046dfa878d68d5dd21b7c9fcf7877ee8a2b39c1 (diff)
downloadapkkit-da79ab08e87d6b40d543739eb8018602d48fb9e9.tar.gz
apkkit-da79ab08e87d6b40d543739eb8018602d48fb9e9.tar.bz2
apkkit-da79ab08e87d6b40d543739eb8018602d48fb9e9.tar.xz
apkkit-da79ab08e87d6b40d543739eb8018602d48fb9e9.zip
Portage integration: if dep.blocker is not False, it's a blocker
-rw-r--r--apkkit/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apkkit/portage.py b/apkkit/portage.py
index f483dde..d4f065f 100644
--- a/apkkit/portage.py
+++ b/apkkit/portage.py
@@ -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)