From cddf4b427824a0b8025deab3775afc2c4957e7c7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 21 Jun 2007 03:04:41 +0000 Subject: as noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try to create a binpkg for something that has IUSE=bindist but was emerged with USE=-bindist svn path=/main/trunk/; revision=6896 --- bin/quickpkg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/quickpkg') diff --git a/bin/quickpkg b/bin/quickpkg index f2f183579..a0799f1b1 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -54,6 +54,10 @@ def quickpkg_main(options, args, eout): if not dblnk.exists(): # unmerged by a concurrent process continue + uses = dblnk.vartree.dbapi.aux_get(cpv, ["IUSE","USE"]) + if "bindist" in uses[0] and "bindist" not in uses[1]: + eout.ewarn("%s: package was emerged with USE=-bindist!" % cpv) + eout.ewarn("%s: it may not be legal to redistribute this." % cpv) eout.ebegin("Building package for %s" % cpv) pkgs_for_arg += 1 contents = dblnk.getcontents() -- cgit v1.2.3-1-g7c22