commit python-slip for openSUSE:Factory

2019-06-07 Thread root
Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2019-06-07 12:17:50

Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and  /work/SRC/openSUSE:Factory/.python-slip.new.4811 (New)


Package is "python-slip"

Fri Jun  7 12:17:50 2019 rev:7 rq:707607 version:0.6.5

Changes:

--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2018-12-14 
20:47:18.953515367 +0100
+++ /work/SRC/openSUSE:Factory/.python-slip.new.4811/python-slip.changes
2019-06-07 12:17:53.548799492 +0200
@@ -1,0 +2,5 @@
+Tue Jun  4 13:00:15 UTC 2019 - pgaj...@suse.com
+
+- add a note that upstream does not include any tests
+
+---



Other differences:
--
++ python-slip.spec ++
--- /var/tmp/diff_new_pack.m8mKuQ/_old  2019-06-07 12:17:54.160799297 +0200
+++ /var/tmp/diff_new_pack.m8mKuQ/_new  2019-06-07 12:17:54.164799295 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slip
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -88,6 +88,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+# no unit tests found
+
 %files %{python_files}
 %license COPYING
 %dir %{python_sitelib}/slip/




commit python-slip for openSUSE:Factory

2018-12-14 Thread root
Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2018-12-14 20:47:16

Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and  /work/SRC/openSUSE:Factory/.python-slip.new.28833 (New)


Package is "python-slip"

Fri Dec 14 20:47:16 2018 rev:6 rq:655913 version:0.6.5

Changes:

--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2017-12-15 
14:00:59.685333686 +0100
+++ /work/SRC/openSUSE:Factory/.python-slip.new.28833/python-slip.changes   
2018-12-14 20:47:18.953515367 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:54:21 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-slip.spec ++
--- /var/tmp/diff_new_pack.W8wflm/_old  2018-12-14 20:47:19.433514706 +0100
+++ /var/tmp/diff_new_pack.W8wflm/_new  2018-12-14 20:47:19.433514706 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slip
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -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,11 +21,11 @@
 Version:0.6.5
 Release:0
 Summary:Miscellaneous convenience, extension and workaround code for 
Python
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Libraries
-Url:https://github.com/nphilipp/python-slip
+URL:https://github.com/nphilipp/python-slip
 Source0:
https://github.com/nphilipp/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module base}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-six
@@ -86,10 +86,10 @@
 
 %install
 %python_install
-%fdupes %{buildroot}/%{python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%doc COPYING
+%license COPYING
 %dir %{python_sitelib}/slip/
 %dir %{python_sitelib}/slip/_wrappers
 %pycache_only %{python_sitelib}/slip/_wrappers/__pycache__




commit python-slip for openSUSE:Factory

2017-12-15 Thread root
Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2017-12-15 14:00:57

Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and  /work/SRC/openSUSE:Factory/.python-slip.new (New)


Package is "python-slip"

Fri Dec 15 14:00:57 2017 rev:5 rq:556474 version:0.6.5

Changes:

--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2017-11-30 
12:35:18.891901317 +0100
+++ /work/SRC/openSUSE:Factory/.python-slip.new/python-slip.changes 
2017-12-15 14:00:59.685333686 +0100
@@ -1,0 +2,5 @@
+Tue Dec 12 12:52:11 UTC 2017 - tchva...@suse.com
+
+- Make sure to build with python3 only present on system
+
+---



Other differences:
--
++ python-slip.spec ++
--- /var/tmp/diff_new_pack.jdAl6m/_old  2017-12-15 14:01:01.99374 +0100
+++ /var/tmp/diff_new_pack.jdAl6m/_new  2017-12-15 14:01:01.997222081 +0100
@@ -80,6 +80,7 @@
 %setup -q
 
 %build
+export PYTHON=python3
 make %{?_smp_mflags}
 %python_build
 
@@ -88,7 +89,6 @@
 %fdupes %{buildroot}/%{python_sitelib}
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc COPYING
 %dir %{python_sitelib}/slip/
 %dir %{python_sitelib}/slip/_wrappers
@@ -101,14 +101,12 @@
 %{python_sitelib}/slip/_wrappers/_glib.*
 
 %files %{python_files dbus}
-%defattr(-,root,root,-)
 %doc doc/dbus/*
 %{python_sitelib}/slip/dbus
 %{python_sitelib}/slip.dbus-%{version}-py%{python_version}.egg-info
 
 %ifpython2
 %files %{python_files gtk}
-%defattr(-,root,root,-)
 %{python_sitelib}/slip/gtk
 %{python_sitelib}/slip.gtk-%{version}-py%{python_version}.egg-info
 %endif




commit python-slip for openSUSE:Factory

2017-11-30 Thread root
Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2017-11-30 12:35:14

Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and  /work/SRC/openSUSE:Factory/.python-slip.new (New)


Package is "python-slip"

Thu Nov 30 12:35:14 2017 rev:4 rq:544575 version:0.6.5

Changes:

--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2017-11-12 
17:58:57.368228123 +0100
+++ /work/SRC/openSUSE:Factory/.python-slip.new/python-slip.changes 
2017-11-30 12:35:18.891901317 +0100
@@ -1,0 +2,5 @@
+Thu Nov 23 10:20:51 UTC 2017 - mplus...@suse.com
+
+- Fix python dbus requirement (bsc#1069504) 
+
+---



Other differences:
--
++ python-slip.spec ++
--- /var/tmp/diff_new_pack.Nxbpva/_old  2017-11-30 12:35:19.451880956 +0100
+++ /var/tmp/diff_new_pack.Nxbpva/_new  2017-11-30 12:35:19.455880810 +0100
@@ -42,7 +42,7 @@
 Summary:Convenience functions for dbus services
 Group:  System/Libraries
 Requires:   %{name} = %{version}-%{release}
-Requires:   dbus-1-python >= 0.80
+Requires:   python-dbus-python >= 0.80
 Requires:   python-decorator
 Requires:   python-six
 # Don't require any of python-gobject{,2} because slip.dbus works with either 
one. In




commit python-slip for openSUSE:Factory

2017-11-12 Thread root
Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2017-11-12 17:58:56

Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and  /work/SRC/openSUSE:Factory/.python-slip.new (New)


Package is "python-slip"

Sun Nov 12 17:58:56 2017 rev:3 rq:540002 version:0.6.5

Changes:

--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2017-05-18 
20:51:44.402302714 +0200
+++ /work/SRC/openSUSE:Factory/.python-slip.new/python-slip.changes 
2017-11-12 17:58:57.368228123 +0100
@@ -1,0 +2,10 @@
+Wed Nov  8 18:13:54 UTC 2017 - mplus...@suse.com
+
+- Finalize singlespec conversion
+
+---
+Thu Aug 24 13:54:58 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -19,0 +30 @@
+



Other differences:
--
++ python-slip.spec ++
--- /var/tmp/diff_new_pack.Q1rLHF/_old  2017-11-12 17:58:57.900208746 +0100
+++ /var/tmp/diff_new_pack.Q1rLHF/_new  2017-11-12 17:58:57.900208746 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-slip
 Version:0.6.5
 Release:0
@@ -24,10 +25,12 @@
 Group:  System/Libraries
 Url:https://github.com/nphilipp/python-slip
 Source0:
https://github.com/nphilipp/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
+BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
 Requires:   python-six
 BuildArch:  noarch
+%python_subpackages
 
 %description
 The Simple Library for Python packages contain miscellaneous code for
@@ -58,6 +61,7 @@
 there are no clients anymore on the message bus, as well as convenience
 functions and decorators for integrating a dbus service with PolicyKit.
 
+%ifpython2
 %package gtk
 Summary:Code to make auto-wrapping gtk labels
 Group:  System/Libraries
@@ -70,38 +74,43 @@
 
 This package provides slip.gtk.set_autowrap(), a convenience function which
 lets gtk labels be automatically re-wrapped upon resizing.
+%endif
 
 %prep
 %setup -q
 
 %build
 make %{?_smp_mflags}
+%python_build
 
 %install
-%make_install
-
+%python_install
 %fdupes %{buildroot}/%{python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc COPYING
 %dir %{python_sitelib}/slip/
 %dir %{python_sitelib}/slip/_wrappers
+%pycache_only %{python_sitelib}/slip/_wrappers/__pycache__
+%pycache_only %{python_sitelib}/slip/__pycache__
 %{python_sitelib}/slip/__init__.py*
 %{python_sitelib}/slip/util
 %{python_sitelib}/slip-%{version}-py%{python_version}.egg-info
 %{python_sitelib}/slip/_wrappers/__init__.*
 %{python_sitelib}/slip/_wrappers/_glib.*
 
-%files dbus
+%files %{python_files dbus}
 %defattr(-,root,root,-)
 %doc doc/dbus/*
 %{python_sitelib}/slip/dbus
 %{python_sitelib}/slip.dbus-%{version}-py%{python_version}.egg-info
 
-%files gtk
+%ifpython2
+%files %{python_files gtk}
 %defattr(-,root,root,-)
 %{python_sitelib}/slip/gtk
 %{python_sitelib}/slip.gtk-%{version}-py%{python_version}.egg-info
+%endif
 
 %changelog




commit python-slip for openSUSE:Factory

2017-05-18 Thread root
Hello community,

here is the log from the commit of package python-slip for openSUSE:Factory 
checked in at 2017-05-18 20:51:32

Comparing /work/SRC/openSUSE:Factory/python-slip (Old)
 and  /work/SRC/openSUSE:Factory/.python-slip.new (New)


Package is "python-slip"

Thu May 18 20:51:32 2017 rev:2 rq:495759 version:0.6.5

Changes:

--- /work/SRC/openSUSE:Factory/python-slip/python-slip.changes  2016-01-28 
17:23:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-slip.new/python-slip.changes 
2017-05-18 20:51:44.402302714 +0200
@@ -1,0 +2,8 @@
+Wed May 17 14:32:37 UTC 2017 - mchand...@suse.de
+
+- Version bump to 0.6.5
+  * Fix org.freedesktop.DBus.Error.ServiceUnknown errors without
+polkitd (gh#nphilipp/python-slip#4)
+  * cope with changes in supplied upload_url
+
+---

Old:

  python-slip-0.6.4.tar.bz2

New:

  python-slip-0.6.5.tar.bz2



Other differences:
--
++ python-slip.spec ++
--- /var/tmp/diff_new_pack.6fXnSV/_old  2017-05-18 20:51:45.046211859 +0200
+++ /var/tmp/diff_new_pack.6fXnSV/_new  2017-05-18 20:51:45.050211294 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slip
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-slip
-Version:0.6.4
+Version:0.6.5
 Release:0
 Summary:Miscellaneous convenience, extension and workaround code for 
Python
 License:GPL-2.0+
@@ -78,7 +78,7 @@
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 
 %fdupes %{buildroot}/%{python_sitelib}
 

++ python-slip-0.6.4.tar.bz2 -> python-slip-0.6.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-slip-0.6.4/github_rules.mk 
new/python-slip-0.6.5/github_rules.mk
--- old/python-slip-0.6.4/github_rules.mk   2015-09-18 22:25:42.0 
+0200
+++ new/python-slip-0.6.5/github_rules.mk   2017-05-16 12:14:36.0 
+0200
@@ -62,7 +62,7 @@
--header "Content-Type: $$mimetype" \
--header "Accept: 
application/vnd.github.manifold-preview" \
--data-binary "@$(PKGARCHIVE)" \
-   "$${upload_url%\{\?name\}}?name=$(PKGARCHIVE)")"; \
+   "$${upload_url%\{\?*}?name=$(PKGARCHIVE)")"; \
if [ "$$(echo "$$upload_out" | jq .state)" = "\"uploaded\"" ]; 
then \
echo done; \
else \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-slip-0.6.4/python-slip.spec 
new/python-slip-0.6.5/python-slip.spec
--- old/python-slip-0.6.4/python-slip.spec  2015-09-18 22:25:42.0 
+0200
+++ new/python-slip-0.6.5/python-slip.spec  2017-05-16 12:14:36.0 
+0200
@@ -1,5 +1,5 @@
 Name:   python-slip
-Version:0.6.4
+Version:0.6.5
 Release:1%{?dist}
 Summary:Convenience, extension and workaround code for Python 2.x
 
@@ -157,6 +157,9 @@
 %{python2_sitelib}/slip.gtk-%{version}-py%{python2_version}.egg-info
 
 %changelog
+* Tue May 16 2017 Nils Philippsen  - 0.6.5-1
+- cope better with missing polkitd (#1393488)
+
 * Fri Sep 18 2015 Nils Philippsen  - 0.6.4-1
 - util.files.overwrite_safely(): preserve ownership
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-slip-0.6.4/slip/dbus/polkit.py 
new/python-slip-0.6.5/slip/dbus/polkit.py
--- old/python-slip-0.6.4/slip/dbus/polkit.py   2015-09-18 22:25:42.0 
+0200
+++ new/python-slip-0.6.5/slip/dbus/polkit.py   2017-05-16 12:14:36.0 
+0200
@@ -206,17 +206,17 @@
 @property
 def _interface(self):
 if not PolKit.__interface:
-PolKit.__interface = dbus.Interface(self._bus.get_object(
-self._dbus_name, self._dbus_path),
-self._dbus_interface)
+try:
+PolKit.__interface = dbus.Interface(self._bus.get_object(
+self._dbus_name, self._dbus_path),
+self._dbus_interface)
+except dbus.DBusException:
+pass
 return PolKit.__interface
 
 @property
 def _polkit_present(self):
-try:
-return bool(self._interface)
-except dbus.DBusException:
-return False
+return bool(self._interface)
 
 def