Changeset 1972 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Jun 17, 2015, 12:56:20 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r1969 r1972 405 405 pb_log(2,"found deps: $_\n"); 406 406 s/$regexp/$1/i; 407 pb_log(4,"found deps 1: $_\n"); 407 408 # Remove conditions in the middle and at the end for deb 408 409 s/\(\s*[><=]+.*\)[^,]*,/,/g; 410 pb_log(4,"found deps 2: $_\n"); 409 411 s/\(\s*[><=]+.*$//g; 412 pb_log(4,"found deps 3: $_\n"); 410 413 # Same for rpm 411 414 s/[><=]+[^,]*,/,/g; 415 pb_log(4,"found deps 4: $_\n"); 412 416 s/[><=]+.*$//g; 417 pb_log(4,"found deps 5: $_\n"); 413 418 # Improve string format (remove , and spaces at start, end and in double 414 419 s/,/ /g; 420 pb_log(4,"found deps 6: $_\n"); 415 421 s/^\s*//; 422 pb_log(4,"found deps 7: $_\n"); 423 # $ here removes the \n 416 424 s/\s*$//; 425 pb_log(4,"found deps 8: $_\n"); 417 426 s/\s+/ /g; 427 pb_log(4,"found deps 9: $_\n"); 418 428 $deps .= " ".$_; 429 pb_log(4,"found deps end: $deps\n"); 419 430 420 431 # Support multi-lines deps for .deb (fwup)
Note:
See TracChangeset
for help on using the changeset viewer.