parser.add_option('-I', '--ignore-masked', dest='ignore_masked', action='store_true',
default=False, help='ignore masked packages (not allowed with commit mode)')
+ parser.add_option('--include-dev', dest='include_dev', action='store_true',
+ default=False, help='include dev profiles in dependency checks')
+
parser.add_option('--without-mask', dest='without_mask', action='store_true',
default=False, help='behave as if no package.mask entries exist (not allowed with commit mode)')
for prof in profiles[arch]:
- if prof[1] not in ("stable", "dev"):
+ if prof[1] not in ("stable", "dev") or \
+ prof[1] == "dev" and not options.include_dev:
continue
profdir = portdir+"/profiles/"+prof[0]
\fB\-I\fR, \fB\-\-ignore\-masked\fR
Ignore masked packages (not allowed with commit mode)
.TP
+\fB\-\-include\-dev\fR
+Include dev profiles in dependency checks.
+.TP
\fB\-\-without\-mask\fR
Behave as if no package.mask entries exist (not allowed with commit mode)
.TP