Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nautilus for openSUSE:Factory 
checked in at 2022-09-21 14:42:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old)
 and      /work/SRC/openSUSE:Factory/.python-nautilus.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nautilus"

Wed Sep 21 14:42:18 2022 rev:29 rq:1004748 version:4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes  
2020-06-05 20:28:46.253270264 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nautilus.new.2083/python-nautilus.changes    
    2022-09-21 14:43:12.821883932 +0200
@@ -1,0 +2,24 @@
+Sun Sep 18 08:53:05 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 4.0:
+  + Updated migration docs and rewrote overview.
+
+-------------------------------------------------------------------
+Tue Aug 16 13:30:03 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Update to version 4.0.alpha:
+  + The extension was ported to Nautilus 43: Notably, this removes
+    any direct access to GTK widgets from the API. Most scripts
+    will need to be modified. Please check the migration guide in
+    the docs on how to update your scripts.
+  + Switched to Meson build system.
+  + Removed support for Python 2.
+  + Fixed build with -fno-common.
+  + Added missing parent constructor calls to examples.
+  + Decorated the examples with typehints.
+  + Fixed several memory leaks.
+- Drop python-nautilus-gcc10-buildfix.patch: fixed upstream.
+- Add meson BuildRequires and replace configur/make/make_install
+  macros with relevant meon/meson_build/meson_install variants.
+
+-------------------------------------------------------------------

Old:
----
  nautilus-python-1.2.3.tar.xz
  python-nautilus-gcc10-buildfix.patch

New:
----
  nautilus-python-4.0.tar.xz

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

Other differences:
------------------
++++++ python-nautilus.spec ++++++
--- /var/tmp/diff_new_pack.c98vTk/_old  2022-09-21 14:43:13.261885082 +0200
+++ /var/tmp/diff_new_pack.c98vTk/_new  2022-09-21 14:43:13.265885092 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nautilus
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,22 +22,21 @@
 %define skip_python2 1
 
 Name:           python-nautilus
-Version:        1.2.3
+Version:        4.0
 Release:        0
 Summary:        Python bindings for Nautilus
 License:        GPL-2.0-or-later
 Group:          Development/Libraries/Python
 URL:            https://wiki.gnome.org/Projects/NautilusPython
-Source:         
http://download.gnome.org/sources/nautilus-python/1.2/%{_name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM python-nautilus-gcc10-buildfix.patch -- Fix build with 
gcc 10
-Patch0:         python-nautilus-gcc10-buildfix.patch
+Source:         
https://download.gnome.org/sources/nautilus-python/4.0/%{_name}-%{version}.tar.xz
 
 BuildRequires:  %{python_module devel}
 BuildRequires:  gtk-doc
+BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
-BuildRequires:  pkgconfig(libnautilus-extension)
-BuildRequires:  pkgconfig(pygobject-3.0)
+BuildRequires:  pkgconfig(libnautilus-extension-4) >= 43.beta
+BuildRequires:  pkgconfig(pygobject-3.0) >= 3.0.0
 
 Requires:       %{name}-common-files = %{version}
 Requires:       python-gobject
@@ -83,24 +82,20 @@
 %autosetup -p1 -n %{_name}-%{version}
 
 %build
-%define _configure ../configure
-%{python_expand mkdir build_%{$python_bin_suffix}
-pushd build_%{$python_bin_suffix}
-export PYTHON=$python
-%configure \
-       --disable-static \
-       --docdir=%{_docdir}/$python-nautilus \
-       --enable-gtk-doc \
-       %{nil}
-%make_build
-popd
+%{python_expand export PYTHON=$python
+%define _vpath_builddir build_%{$python_bin_suffix}
+sed -i "s|docdir =.*|docdir = '%{_docdir}/$python-nautilus'|g" meson.build
+%meson
+%meson_build
 }
 
 %install
-%{python_expand pushd build_%{$python_bin_suffix}
-%make_install
-popd
+%{python_expand export PYTHON=$python
+%define _vpath_builddir build_%{$python_bin_suffix}
+sed -i "s|docdir =.*|docdir = '%{_docdir}/$python-nautilus'|g" meson.build
+%meson_install
 }
+
 # New dir where python extensions get installed. It's not created by make
 # install (bgo#638890).
 test ! -d %{buildroot}%{_datadir}/nautilus-python/extensions
@@ -110,19 +105,19 @@
 
 %files %{python_files}
 %license COPYING
-%doc NEWS
-%doc %{_docdir}/%{python_flavor}-nautilus
+%doc %{_docdir}/%{python_flavor}-nautilus/
 
 %files -n %{name}-common-files
-%{_libdir}/nautilus/extensions-3.0/libnautilus-python.so
+%doc NEWS.md
+%{_libdir}/nautilus/extensions-4/libnautilus-python.so
 %dir %{_datadir}/nautilus-python
 %dir %{_datadir}/nautilus-python/extensions
 
 %files %{python_files devel}
-%doc AUTHORS ChangeLog
+%doc AUTHORS
 
 %files -n %{name}-common-devel
 %doc %{_datadir}/gtk-doc/html/nautilus-python
-%{_libdir}/pkgconfig/nautilus-python.pc
+%{_datadir}/pkgconfig/nautilus-python.pc
 
 %changelog

++++++ nautilus-python-1.2.3.tar.xz -> nautilus-python-4.0.tar.xz ++++++
++++ 52737 lines of diff (skipped)

Reply via email to