Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-02 15:40:37 +0200
committerErich Eckner <git@eckner.net>2017-05-02 15:40:37 +0200
commitc0760a0fe81db0b7f8ad37c36b702fad94687dbc (patch)
tree72f352036d2b19cad4addfb6c3df804f12bf9386 /bin/get-package-updates
parent0ecda25f113e90a5f2c6794883bbecb756b8f354 (diff)
bin/get-package-updates: ignore runtime dependencies
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates5
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 | \