Accepting request 79160 from GNOME:Factory
Fix gi-find-deps.sh to address a special case in python-gobject: a ImportError text tries to explain how to convert the code OBS-URL: https://build.opensuse.org/request/show/79160 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gobject-introspection?expand=0&rev=31
This commit is contained in:
commit
2ba76c983e
@ -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+$::g' -e 's:\s+as\s+\w+::g' -e 's:,: :g'); do
|
||||
for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed -e 's:#.*::' -e 's:raise ImportError.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+$::g' -e 's:\s+as\s+\w+::g' -e 's:,: :g'); do
|
||||
split_name_version $module
|
||||
print_req_prov
|
||||
done
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 19:47:13 UTC 2011 - dimstar@opensuse.org
|
||||
|
||||
- Extend gi-find-deps.sh: Special case for .py files:
|
||||
raise ImportError.* lines are deleted. pygobject for example
|
||||
tries to explain how to convert the sources to the new gi-based
|
||||
python bindings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 27 23:29:04 CEST 2011 - vuntz@opensuse.org
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user