diff --git a/gi-find-deps.sh b/gi-find-deps.sh index cb7536a..6c32552 100644 --- a/gi-find-deps.sh +++ b/gi-find-deps.sh @@ -43,6 +43,7 @@ function python_requires { for module in $(grep -h -P "from gi.repository import (\w+)" $1 | 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 + echo "python-gobject >= 2.21.4" done for module in $(grep -h -P -o "(gi.require_version\(['\"][^'\"]+['\"],\s*['\"][^'\"]+['\"]\))" $1 | sed -e 's:gi.require_version::' -e "s:[()\"' ]::g" -e 's:,:-:'); do split_name_version $module diff --git a/gobject-introspection.changes b/gobject-introspection.changes index daeb733..27d146a 100644 --- a/gobject-introspection.changes +++ b/gobject-introspection.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Dec 10 22:39:56 UTC 2012 - dimstar@opensuse.org + +- Enhance gi-find-deps.sh: in case we add typelib() requires for + python scripts, we are sure that this script would also require + python-gobject (which provides gi.repository). Fixes issues + similar to bnc#793758. + ------------------------------------------------------------------- Tue Nov 13 14:33:07 UTC 2012 - dimstar@opensuse.org