helper/debparse/DebSrc.pm
raw| 1 | package DebSrc; |
| 2 | use warnings; |
| 3 | use strict; |
| 4 | use integer; |
| 5 | use DebSrcBin; |
| 6 | our @ISA = ( 'DebSrcBin' ); |
| 7 | |
| 8 | # List the build-dependency fields. |
| 9 | our @dkey_subparsable_bdep = qw( |
| 10 | Build-Depends |
| 11 | Build-Depends-Indep |
| 12 | Build-Conflicts |
| 13 | Build-Conflicts-Indep |
| 14 | ); |
| 15 | |
| 16 | # Instantiate and initialize a new DebSrc object. |
| 17 | sub new { |
| 18 | my $class = shift; |
| 19 | my $src1 = DebSrcBin->new( @_ ); |
| 20 | bless $src1, $class if defined $src1; |
| 21 | return $src1; |
| 22 | } |
| 23 | |
| 24 | 1; |
| 25 |