aboutsummaryrefslogtreecommitdiffstats
path: root/gi-find-deps.sh.in
diff options
context:
space:
mode:
authorChristiaan Welvaart <cjw@mageia.org>2011-07-07 19:52:17 +0000
committerChristiaan Welvaart <cjw@mageia.org>2011-07-07 19:52:17 +0000
commit52572ab6938ee2c57edaff9b1efa1aa13ddd53ac (patch)
tree64818205a71d2af5599f7a91f2e9f51d88737310 /gi-find-deps.sh.in
parent2b0222bf310ddfd221e18d0bae46e803c04db1d2 (diff)
downloadrpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar
rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar.gz
rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar.bz2
rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar.xz
rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.zip
- gi deps for python: accept arbitrary whitespace in dependency lists1.138
Diffstat (limited to 'gi-find-deps.sh.in')
-rwxr-xr-xgi-find-deps.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi-find-deps.sh.in b/gi-find-deps.sh.in
index 0a356c2..69aecfd 100755
--- a/gi-find-deps.sh.in
+++ b/gi-find-deps.sh.in
@@ -65,7 +65,7 @@ while read file; do
done
;;
*.py)
- for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:,::g'); do
+ for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:\s*,\s*: :g'); do
split_name_version $module
print_req_prov
done