2020-04-24 23:36:52 +00:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
source lib-cache.sh;
|
|
|
|
|
|
|
|
module_name="$1";
|
|
|
|
module_basename="${1//::/-}";
|
|
|
|
|
|
|
|
print_requirements () {
|
2021-12-06 16:07:01 +00:00
|
|
|
module_name="$1";
|
|
|
|
|
|
|
|
./retrieve-meta-yaml.sh "$module_name" |
|
|
|
|
sed -re '1,/^requires:/d; /^[a-z]/,$d; s@^\s*@@; s@:\s.*@@';
|
|
|
|
./retrieve-meta-yaml.sh "$module_name" |
|
|
|
|
sed -re '1,/^build_requires:/d; /^[a-z]/,$d; s@^\s*@@; s@:\s.*@@';
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cached_output print_requirements "$module_basename" "$module_name" "direct.deps";
|