Accepting request 76037 from home:vuntz:branches:GNOME:Factory

Fix bug in Requires generation

OBS-URL: https://build.opensuse.org/request/show/76037
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2011-07-11 15:48:25 +00:00 committed by Git OBS Bridge
parent e57c4d8d65
commit 74f322bfe8
2 changed files with 9 additions and 1 deletions

View File

@ -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:,: :g'); do
split_name_version $module
print_req_prov
done

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 11 13:24:35 CEST 2011 - vuntz@opensuse.org
- gi-find-deps.sh: Correctly deal with "from gi.repository import
Gtk,GObject" by replacing ',' with a space instead of just
removing it. This should fix wrong Requires like
typelib(GtkGObject).
-------------------------------------------------------------------
Wed Jun 15 12:25:02 CEST 2011 - dimstar@opensuse.org