Accepting request 195421 from home:dimstar:branches:GNOME:Factory
- Enhance gi-find-deps.sh: when scannig python file for gi.require_version, make sure to ignore python comments (starting with #). OBS-URL: https://build.opensuse.org/request/show/195421 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gobject-introspection?expand=0&rev=127
This commit is contained in:
parent
05f34442d2
commit
1b81878200
@ -51,7 +51,7 @@ function python_requires {
|
||||
# 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-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
|
||||
for module in $(grep -h -P -o ".*(gi\.require_version\(['\"][^'\"]+['\"],\s*['\"][^'\"]+['\"]\))" $1 | sed -e 's:#.*::' -e 's:.*gi.require_version::' -e "s:[()\"' ]::g" -e 's:,:-:'); do
|
||||
split_name_version $module
|
||||
print_req_prov
|
||||
done
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 08:44:06 UTC 2013 - dimstar@opensuse.org
|
||||
|
||||
- Enhance gi-find-deps.sh: when scannig python file for
|
||||
gi.require_version, make sure to ignore python comments (starting
|
||||
with #).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 15 06:56:37 UTC 2013 - dimstar@opensuse.org
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user