Commit 9dab7334 authored by Kiyoshi Aman's avatar Kiyoshi Aman

apkbuild-cpan: Depend on test-requires and test-recommends, too, for safety's sake.

parent 45ad91b8
...@@ -247,7 +247,9 @@ sub do_depends { ...@@ -247,7 +247,9 @@ sub do_depends {
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'); 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"; say "CPAN build deps: $makedeps";
my $text = read_file "APKBUILD"; my $text = read_file "APKBUILD";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment