Accepting request 79157 from home:dimstar:pytest
special case to address python-gobject Requires OBS-URL: https://build.opensuse.org/request/show/79157 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=66
This commit is contained in:
parent
f7782548ea
commit
4091a37f11
@ -20,7 +20,7 @@ fi
|
||||
}
|
||||
|
||||
function print_req_prov {
|
||||
echo -n "typelib($symbol)"
|
||||
echo -n "$file: typelib($symbol)"
|
||||
if [ ! -z "$version" ]; then
|
||||
echo " = ${version}"
|
||||
else
|
||||
@ -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…
Reference in New Issue
Block a user