aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-11-30 23:12:11 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2019-12-01 14:53:51 -0800
commit70780e40e5586c6882e33dd65a3dc3f31031a321 (patch)
tree51fc3608bd44e7b92d07a976ca3112fd5d87d843 /Build.PL
parentMerge commit '3395d78cc8b0bd660e56f73a2689d495f2a22628' into bugstest (diff)
downloadbugzilla-70780e40e5586c6882e33dd65a3dc3f31031a321.tar.gz
bugzilla-70780e40e5586c6882e33dd65a3dc3f31031a321.tar.bz2
bugzilla-70780e40e5586c6882e33dd65a3dc3f31031a321.zip
Gentoo-local version of 7f3a749d7bd78a3e4aee163f562d7e95b0954b44 w/ Perl-Tidy-20180220
Reformat all code using Perl-Tidy v20180220 and .perltidyrc from matching upstream 7f3a749d7bd78a3e4aee163f562d7e95b0954b44 commit. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL50
1 files changed, 25 insertions, 25 deletions
diff --git a/Build.PL b/Build.PL
index 024a56024..37072fc18 100644
--- a/Build.PL
+++ b/Build.PL
@@ -19,43 +19,43 @@ use Bugzilla::Install::Requirements qw(REQUIRED_MODULES OPTIONAL_MODULES);
use Bugzilla::Constants qw(BUGZILLA_VERSION);
sub requires {
- my $requirements = REQUIRED_MODULES();
- my $hrequires = {};
- foreach my $module (@$requirements) {
- $hrequires->{$module->{module}} = $module->{version};
- }
- return $hrequires;
-};
+ my $requirements = REQUIRED_MODULES();
+ my $hrequires = {};
+ foreach my $module (@$requirements) {
+ $hrequires->{$module->{module}} = $module->{version};
+ }
+ return $hrequires;
+}
sub build_requires {
- return requires();
+ return requires();
}
sub recommends {
- my $recommends = OPTIONAL_MODULES();
- my @blacklist = ('Apache-SizeLimit', 'mod_perl'); # Does not compile properly on Travis
- my $hrecommends = {};
- foreach my $module (@$recommends) {
- next if grep($_ eq $module->{package}, @blacklist);
- $hrecommends->{$module->{module}} = $module->{version};
- }
- return $hrecommends;
+ my $recommends = OPTIONAL_MODULES();
+ my @blacklist = ('Apache-SizeLimit', 'mod_perl'); # Does not compile properly on Travis
+ my $hrecommends = {};
+ foreach my $module (@$recommends) {
+ next if grep($_ eq $module->{package}, @blacklist);
+ $hrecommends->{$module->{module}} = $module->{version};
+ }
+ return $hrecommends;
}
my $build = Module::Build->new(
- module_name => 'Bugzilla',
- dist_abstract => <<END,
+ module_name => 'Bugzilla',
+ dist_abstract => <<END,
Bugzilla is a free bug-tracking system that is developed by an active
community of volunteers. You can install and use it without having to
pay any license fee.
END
- dist_version_from => 'Bugzilla/Constants.pm',
- dist_version => BUGZILLA_VERSION,
- requires => requires(),
- recommends => recommends(),
- license => 'Mozilla_2_0',
- create_readme => 0,
- create_makefile_pl => 0
+ dist_version_from => 'Bugzilla/Constants.pm',
+ dist_version => BUGZILLA_VERSION,
+ requires => requires(),
+ recommends => recommends(),
+ license => 'Mozilla_2_0',
+ create_readme => 0,
+ create_makefile_pl => 0
);
$build->create_build_script;