diff options
author | Erich Eckner <git@eckner.net> | 2017-05-02 15:40:37 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-02 15:40:37 +0200 |
commit | c0760a0fe81db0b7f8ad37c36b702fad94687dbc (patch) | |
tree | 72f352036d2b19cad4addfb6c3df804f12bf9386 | |
parent | 0ecda25f113e90a5f2c6794883bbecb756b8f354 (diff) | |
download | builder-c0760a0fe81db0b7f8ad37c36b702fad94687dbc.tar.xz |
bin/get-package-updates: ignore runtime dependencies
-rwxr-xr-x | bin/get-package-updates | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index 17c9c2f..ac7e905 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -141,10 +141,11 @@ while read -r package git_revision repository; do sort -u > \ "${work_dir}/package-infos/${package}.${git_revision}.builds" - # extract "needs" = ( pkgsrc.depends \cup makedepends \cup checkdepends ) \setminus "builds" + # extract "needs" = ( makedepends \cup checkdepends ) \setminus "builds" ( ( - sed -n '/^pkgname = /q;/^'$'\t''depends = /p' "${work_dir}/package-infos/${package}.${git_revision}.SRCINFO" + # this would include runtime dependencies, too: + # sed -n '/^pkgname = /q;/^'$'\t''depends = /p' "${work_dir}/package-infos/${package}.${git_revision}.SRCINFO" grep '^'$'\t''\(makedepends\|checkdepends\) = ' "${work_dir}/package-infos/${package}.${git_revision}.SRCINFO" ) | \ cut -d= -f2 | \ |