Hello community,

here is the log from the commit of package gobject-introspection for 
openSUSE:Factory checked in at 2017-02-13 07:46:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gobject-introspection (Old)
 and      /work/SRC/openSUSE:Factory/.gobject-introspection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gobject-introspection"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gobject-introspection/gobject-introspection.changes  
    2016-09-24 15:19:49.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.gobject-introspection.new/gobject-introspection.changes
 2017-02-13 07:47:00.516327347 +0100
@@ -1,0 +2,7 @@
+Sat Feb 11 16:24:53 UTC 2017 - [email protected]
+
+- gi-find-deps.sh: do not match "from gi.repository import" if
+  there is anything but white space in front of it (usually
+  indicates we are in some descriptive comment block)"
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gobject-introspection.spec ++++++
--- /var/tmp/diff_new_pack.sqGtrM/_old  2017-02-13 07:47:02.464049218 +0100
+++ /var/tmp/diff_new_pack.sqGtrM/_new  2017-02-13 07:47:02.468048647 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gobject-introspection
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -81,9 +81,9 @@
 
 %package devel
 Summary:        GObject Introspection Development Files
+# Note: the devel package requires the binaries, not just the library
 License:        LGPL-2.1+
 Group:          Development/Libraries/GNOME
-# Note: the devel package requires the binaries, not just the library
 Requires:       %{name} = %{version}
 Requires:       libffi-devel
 

++++++ gi-find-deps.sh ++++++
--- /var/tmp/diff_new_pack.sqGtrM/_old  2017-02-13 07:47:02.500044078 +0100
+++ /var/tmp/diff_new_pack.sqGtrM/_new  2017-02-13 07:47:02.500044078 +0100
@@ -60,7 +60,7 @@
 }
 
 function python_requires {
-       for module in $(grep -h -P "from gi\.repository import (\w+)" $1 | sed 
-e 's:#.*::' -e 's:raise ImportError.*::' -e 's:.*"from gi.repository import 
.*".*::' | 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 "^\s*from gi\.repository import (\w+)" $1 | 
sed -e 's:#.*::' -e 's:raise ImportError.*::' -e 's:.*"from gi.repository 
import .*".*::' | 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
                # Temporarly disabled... this is not true if the python code is 
written for python3... And there seems no real 'way' to identify this.


Reply via email to