commit thunarx-python for openSUSE:Leap:15.2

2020-03-19 Thread root
Hello community,

here is the log from the commit of package thunarx-python for 
openSUSE:Leap:15.2 checked in at 2020-03-20 05:15:07

Comparing /work/SRC/openSUSE:Leap:15.2/thunarx-python (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.3160 (New)


Package is "thunarx-python"

Fri Mar 20 05:15:07 2020 rev:20 rq:786373 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/thunarx-python/thunarx-python.changes  
2020-02-29 17:18:53.489345100 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.3160/thunarx-python.changes
2020-03-20 05:15:13.594560947 +0100
@@ -1,0 +2,6 @@
+Tue Mar 17 08:14:09 UTC 2020 - Stefan Seyfried 
+
+- add thunarx-python-py3.8.diff to add missing "--embed" flag to
+  python3-config
+
+---

New:

  thunarx-python-py3.8.diff



Other differences:
--
++ thunarx-python.spec ++
--- /var/tmp/diff_new_pack.FXw6vY/_old  2020-03-20 05:15:14.122561302 +0100
+++ /var/tmp/diff_new_pack.FXw6vY/_new  2020-03-20 05:15:14.126561305 +0100
@@ -24,6 +24,7 @@
 URL:https://goodies.xfce.org/projects/bindings/thunarx-python
 Source: 
http://archive.xfce.org/src/bindings/%{name}/0.5/%{name}-%{version}.tar.bz2
 Patch0: reproducible.patch
+Patch1: thunarx-python-py3.8.diff
 BuildRequires:  fdupes
 BuildRequires:  gtk-doc
 BuildRequires:  pkgconfig

++ thunarx-python-py3.8.diff ++
diff --git a/aclocal.m4 b/aclocal.m4
index 402f5c8..3f9dd64 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -11008,7 +11008,9 @@ py_lib_name=`basename $py_include_path`
 if test "x$PYTHON_LIBS" = x; then
   PYTHON_CONFIG=`which $PYTHON`-config
   if test -x "$PYTHON_CONFIG"; then
-PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
+# python 3.8 needs this, but 3.6 does not support it
+$PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed
+PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null`
   else
 PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
   fi
diff --git a/configure b/configure
index 9fabaa0..690ca33 100755
--- a/configure
+++ b/configure
@@ -13557,7 +13557,9 @@ py_lib_name=`basename $py_include_path`
 if test "x$PYTHON_LIBS" = x; then
   PYTHON_CONFIG=`which $PYTHON`-config
   if test -x "$PYTHON_CONFIG"; then
-PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
+# python 3.8 needs this, but 3.6 does not support it
+$PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed
+PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null`
   else
 PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
   fi



commit thunarx-python for openSUSE:Leap:15.2

2020-02-29 Thread root
Hello community,

here is the log from the commit of package thunarx-python for 
openSUSE:Leap:15.2 checked in at 2020-02-29 17:16:37

Comparing /work/SRC/openSUSE:Leap:15.2/thunarx-python (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.26092 (New)


Package is "thunarx-python"

Sat Feb 29 17:16:37 2020 rev:19 rq:780334 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/thunarx-python/thunarx-python.changes  
2020-02-16 18:30:38.798791070 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.26092/thunarx-python.changes   
2020-02-29 17:18:53.489345100 +0100
@@ -1,0 +2,5 @@
+Mon Feb 24 17:11:18 UTC 2020 - Stefan Seyfried 
+
+- port reproducible.patch to python 3
+
+---



Other differences:
--
++ reproducible.patch ++
--- /var/tmp/diff_new_pack.yf4y9y/_old  2020-02-29 17:18:53.753345644 +0100
+++ /var/tmp/diff_new_pack.yf4y9y/_new  2020-02-29 17:18:53.757345652 +0100
@@ -9,22 +9,21 @@
 and https://reproducible-builds.org/specs/source-date-epoch/
 for the definition of this variable.
 
-Index: thunarx-python-0.5.1/docs/Makefile.in
+Index: b/docs/Makefile.in
 ===
 thunarx-python-0.5.1.orig/docs/Makefile.in
-+++ thunarx-python-0.5.1/docs/Makefile.in
+--- a/docs/Makefile.in
 b/docs/Makefile.in
 @@ -591,7 +591,7 @@ uninstall-am: uninstall-HTMLDATA
  
  
  @ENABLE_GTK_DOC_TRUE@reference/builddate.xml: $(REFERENCE_DEPS)
 -@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; 
print(datetime.date.today())' > $@
-+@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; import os; import time; 
print 
datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", 
time.time(.date()' > $@
++@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; import os; import time; 
print(datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH",
 time.time(.date())' > $@
  
  @ENABLE_GTK_DOC_TRUE@$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
  @ENABLE_GTK_DOC_TRUE@ $(GTKDOC_MKHTML) \
-
-diff --git a/docs/Makefile.am b/docs/Makefile.am
-index 19971c2..3e01d78 100644
+Index: b/docs/Makefile.am
+===
 --- a/docs/Makefile.am
 +++ b/docs/Makefile.am
 @@ -63,7 +63,7 @@ REFERENCE_DEPS = \
@@ -32,7 +31,7 @@
  
  reference/builddate.xml: $(REFERENCE_DEPS)
 -  $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@
-+  $(PYTHON) -c 'import datetime; import os; import time; print 
datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", 
time.time(.date()' > $@
++  $(PYTHON) -c 'import datetime; import os; import time; 
print(datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH",
 time.time(.date())' > $@
  
  $(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
$(GTKDOC_MKHTML) \




commit thunarx-python for openSUSE:Leap:15.2

2020-02-16 Thread root
Hello community,

here is the log from the commit of package thunarx-python for 
openSUSE:Leap:15.2 checked in at 2020-02-16 18:29:59

Comparing /work/SRC/openSUSE:Leap:15.2/thunarx-python (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.26092 (New)


Package is "thunarx-python"

Sun Feb 16 18:29:59 2020 rev:18 rq:774539 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/thunarx-python/thunarx-python.changes  
2020-01-17 12:06:05.824627069 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.26092/thunarx-python.changes   
2020-02-16 18:30:38.798791070 +0100
@@ -1,0 +2,6 @@
+Mon Feb 10 15:02:48 UTC 2020 - Tomáš Chvátal 
+
+- Do not pull in python-gtk as that is py2 only and this package
+  now uses introspection and gtk3
+
+---



Other differences:
--
++ thunarx-python.spec ++
--- /var/tmp/diff_new_pack.W4TDFi/_old  2020-02-16 18:30:39.202791282 +0100
+++ /var/tmp/diff_new_pack.W4TDFi/_new  2020-02-16 18:30:39.206791283 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package thunarx-python
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,8 +21,7 @@
 Release:0
 Summary:Python Bindings for the Thunar Extension Framework
 License:GPL-2.0-or-later
-Group:  Development/Languages/Python
-Url:http://goodies.xfce.org/projects/bindings/thunarx-python
+URL:https://goodies.xfce.org/projects/bindings/thunarx-python
 Source: 
http://archive.xfce.org/src/bindings/%{name}/0.5/%{name}-%{version}.tar.bz2
 Patch0: reproducible.patch
 BuildRequires:  fdupes
@@ -32,7 +31,6 @@
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20.0
 BuildRequires:  pkgconfig(pygobject-3.0) >= 3.20.0
 BuildRequires:  pkgconfig(thunarx-3)
-Requires:   python-gtk
 Requires:   thunar
 Recommends: %{name}-doc = %{version}
 
@@ -42,7 +40,6 @@
 
 %package doc
 Summary:Documentation for thunarx-python
-Group:  Documentation/HTML
 
 %description doc
 This package provides the documentation files for python thunarx.




commit thunarx-python for openSUSE:Leap:15.2

2020-01-17 Thread root
Hello community,

here is the log from the commit of package thunarx-python for 
openSUSE:Leap:15.2 checked in at 2020-01-17 12:05:54

Comparing /work/SRC/openSUSE:Leap:15.2/thunarx-python (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.26092 (New)


Package is "thunarx-python"

Fri Jan 17 12:05:54 2020 rev:17 rq:765055 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/thunarx-python/thunarx-python.changes  
2020-01-15 16:24:08.452608700 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.thunarx-python.new.26092/thunarx-python.changes   
2020-01-17 12:06:05.824627069 +0100
@@ -1,0 +2,5 @@
+Wed Jan 15 14:48:27 UTC 2020 - Maurizio Galli 
+
+- Build against python 3
+
+---



Other differences:
--
++ thunarx-python.spec ++
--- /var/tmp/diff_new_pack.m02C2J/_old  2020-01-17 12:06:06.584627403 +0100
+++ /var/tmp/diff_new_pack.m02C2J/_new  2020-01-17 12:06:06.584627403 +0100
@@ -28,7 +28,7 @@
 BuildRequires:  fdupes
 BuildRequires:  gtk-doc
 BuildRequires:  pkgconfig
-BuildRequires:  python-devel
+BuildRequires:  python3-devel
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20.0
 BuildRequires:  pkgconfig(pygobject-3.0) >= 3.20.0
 BuildRequires:  pkgconfig(thunarx-3)
@@ -48,14 +48,13 @@
 This package provides the documentation files for python thunarx.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 %configure \
 --enable-gtk-doc \
 --docdir=%{_defaultdocdir}/%{name}
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install