diff options
Diffstat (limited to 'gi-find-deps.sh.in')
-rwxr-xr-x | gi-find-deps.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi-find-deps.sh.in b/gi-find-deps.sh.in index a66868d..60d8355 100755 --- a/gi-find-deps.sh.in +++ b/gi-find-deps.sh.in @@ -52,7 +52,7 @@ function javascript_requires { } 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 + 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' -e 's:\s[0-9]+\s: :g' -e 's:[^A-Za-z0-9\.\-]: :g'); do split_name_version $module print_req_prov # Temporarly disabled... this is not true if the python code is written for python3... And there seems no real 'way' to identify this. |