mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-21 22:50:03 +00:00
apkbuild-cpan: Depend on test-requires and test-recommends, too, for safety's sake.
This commit is contained in:
parent
45ad91b880
commit
9dab733417
@ -244,10 +244,12 @@ sub do_depends {
|
||||
|
||||
my $deps = parse_deps $meta->effective_prereqs->requirements_for('runtime', 'requires');
|
||||
say "CPAN deps: $deps";
|
||||
say "Recommend: " . parse_deps $meta->effective_prereqs->requirements_for('runtime', 'recommends');
|
||||
say "Recommend: " . parse_deps $meta->effective_prereqs->requirements_for('runtime', 'recommends');
|
||||
|
||||
my $makedeps = parse_deps $meta->effective_prereqs->requirements_for('build', 'requires');
|
||||
$makedeps = parse_deps $meta->effective_prereqs->requirements_for('build', 'recommends');
|
||||
$makedeps .= ' ' . parse_deps $meta->effective_prereqs->requirements_for('build', 'recommends');
|
||||
$makedeps .= ' ' . parse_deps $meta->effective_prereqs->requirements_for('test', 'requires');
|
||||
$makedeps .= ' ' . parse_deps $meta->effective_prereqs->requirements_for('test', 'recommends');
|
||||
say "CPAN build deps: $makedeps";
|
||||
|
||||
my $text = read_file "APKBUILD";
|
||||
|
Loading…
Reference in New Issue
Block a user