From a4a8574808c03cb4bfe260d7bc21c2124029585a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Thu, 8 Aug 2013 06:54:13 +0000 Subject: don't add python-gi requires automatically as we can't be sure if the code was written for python3 (again from SUSE) --- gi-find-deps.sh.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gi-find-deps.sh.in b/gi-find-deps.sh.in index f099c6a..a66868d 100755 --- a/gi-find-deps.sh.in +++ b/gi-find-deps.sh.in @@ -55,7 +55,8 @@ function python_requires { for module in $(grep -h -P "from gi\.repository import (\w+)" $1 | 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 - echo "python-gi >= 2.90.2" + # Temporarly disabled... this is not true if the python code is written for python3... And there seems no real 'way' to identify this. + #echo "python-gi >= 2.90.2" 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 -- cgit v1.2.1