commit python-notify2 for openSUSE:Factory

2019-01-03 Thread root
Hello community,

here is the log from the commit of package python-notify2 for openSUSE:Factory 
checked in at 2019-01-03 18:06:24

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


Package is "python-notify2"

Thu Jan  3 18:06:24 2019 rev:4 rq:656832 version:0.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-notify2/python-notify2.changes
2017-07-02 13:38:47.725839348 +0200
+++ /work/SRC/openSUSE:Factory/.python-notify2.new.28833/python-notify2.changes 
2019-01-03 18:06:25.516151172 +0100
@@ -1,0 +2,7 @@
+Mon Dec 10 12:53:58 UTC 2018 - Tomáš Chvátal 
+
+- Fix fdupes call
+- Use singlespec everywhere as we rather update packages on older
+  releases to be singlespeced instead of using py2 only variants
+
+---



Other differences:
--
++ python-notify2.spec ++
--- /var/tmp/diff_new_pack.rPVuuY/_old  2019-01-03 18:06:26.092150661 +0100
+++ /var/tmp/diff_new_pack.rPVuuY/_new  2019-01-03 18:06:26.092150661 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-notify2
 #
-# 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/
 #
 
 
@@ -23,25 +23,18 @@
 Summary:Python interface to DBus notifications
 License:BSD-2-Clause
 Group:  Development/Languages/Python
-Url:https://pypi.python.org/pypi/notify2/
-Source: 
https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
-%if 0%{suse_version} <= 1315
-BuildRequires:  dbus-1-python
-BuildRequires:  dbus-1-python3
-%else
+URL:https://pypi.python.org/pypi/notify2/
+Source: 
https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
 BuildRequires:  %{python_module dbus-python}
-%endif
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildArch:  noarch
 %ifpython3
 Requires:   dbus-1-python3
 %else
 Requires:   dbus-1-python
 %endif
-BuildArch:  noarch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -58,11 +51,10 @@
 
 %install
 %python_install
-%fdupes %{buildroot}/%{_prefix}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files %python_files
-%defattr(-,root,root,-)
-%doc LICENSE
+%files %{python_files}
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog




commit python-notify2 for openSUSE:Factory

2017-07-02 Thread root
Hello community,

here is the log from the commit of package python-notify2 for openSUSE:Factory 
checked in at 2017-07-02 13:38:46

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


Package is "python-notify2"

Sun Jul  2 13:38:46 2017 rev:3 rq:507570 version:0.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-notify2/python-notify2.changes
2017-05-08 19:03:58.935937590 +0200
+++ /work/SRC/openSUSE:Factory/.python-notify2.new/python-notify2.changes   
2017-07-02 13:38:47.725839348 +0200
@@ -1,0 +2,6 @@
+Sun Jul  2 09:11:09 UTC 2017 - antoine.belv...@opensuse.org
+
+- Fix build for Leap 42.3, which does not have a singlespec version
+  of python-dbus (boo#1046811).
+
+---



Other differences:
--
++ python-notify2.spec ++
--- /var/tmp/diff_new_pack.HXh5EP/_old  2017-07-02 13:38:48.285760389 +0200
+++ /var/tmp/diff_new_pack.HXh5EP/_new  2017-07-02 13:38:48.289759825 +0200
@@ -25,7 +25,12 @@
 Group:  Development/Languages/Python
 Url:https://pypi.python.org/pypi/notify2/
 Source: 
https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
+%if 0%{suse_version} <= 1315
+BuildRequires:  dbus-1-python
+BuildRequires:  dbus-1-python3
+%else
 BuildRequires:  %{python_module dbus-python}
+%endif
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros




commit python-notify2 for openSUSE:Factory

2017-05-08 Thread root
Hello community,

here is the log from the commit of package python-notify2 for openSUSE:Factory 
checked in at 2017-05-08 19:03:16

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


Package is "python-notify2"

Mon May  8 19:03:16 2017 rev:2 rq:493199 version:0.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-notify2/python-notify2.changes
2017-01-25 23:23:49.290379480 +0100
+++ /work/SRC/openSUSE:Factory/.python-notify2.new/python-notify2.changes   
2017-05-08 19:03:58.935937590 +0200
@@ -1,0 +2,10 @@
+Sat May  6 11:32:19 UTC 2017 - antoine.belv...@opensuse.org
+
+- Update to version 0.3.1:
+  * Wrap notifications_registry lookup in try block not to show
+irrelevant errors.
+  * Add LICENSE file.
+- Convert to singlespec.
+- Fix license.
+
+---

Old:

  notify2-0.3.tar.gz

New:

  notify2-0.3.1.tar.gz



Other differences:
--
++ python-notify2.spec ++
--- /var/tmp/diff_new_pack.ylMmWX/_old  2017-05-08 19:03:59.435866967 +0200
+++ /var/tmp/diff_new_pack.ylMmWX/_new  2017-05-08 19:03:59.439866402 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-notify2
 #
-# 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
@@ -16,22 +16,29 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-notify2
-Version:0.3
+Version:0.3.1
 Release:0
 Summary:Python interface to DBus notifications
-License:BSD-3-Clause
+License:BSD-2-Clause
 Group:  Development/Languages/Python
 Url:https://pypi.python.org/pypi/notify2/
 Source: 
https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
-BuildRequires:  dbus-1-python
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module dbus-python}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%ifpython3
+Requires:   dbus-1-python3
+%else
 Requires:   dbus-1-python
-%if 0%{?suse_version} > 1110
-BuildArch:  noarch
 %endif
+BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
+%python_subpackages
+
 %description
 This is a pure-python replacement for notify-python, using python-dbus
 to communicate with the notifications server directly. It's compatible
@@ -42,17 +49,15 @@
 %setup -q -n notify2-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root %{buildroot}
+%python_install
+%fdupes %{buildroot}/%{_prefix}
 
-%files
-%defattr(-,root,root)
-# Note: no need for update-alternatives, there is no conflicting path with 
python3-notify2
-# (no documentation, no script in bindir)
-%{python_sitelib}/notify2.py
-%{python_sitelib}/notify2.pyc
-%{python_sitelib}/notify2-%{version}-py%{py_ver}.egg-info
+%files %python_files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{python_sitelib}/*
 
 %changelog

++ notify2-0.3.tar.gz -> notify2-0.3.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/notify2-0.3/LICENSE new/notify2-0.3.1/LICENSE
--- old/notify2-0.3/LICENSE 1970-01-01 01:00:00.0 +0100
+++ new/notify2-0.3.1/LICENSE   2017-04-28 15:57:22.0 +0200
@@ -0,0 +1,39 @@
+notify2 is under the BSD 2-Clause License.
+
+Some of the examples (icon.py, default-action.py, multi-actions.py and 
qt-app.py)
+are derived from pynotify examples, and are therefore `LGPL-2.1 
`_,
+© 2006 Christian Hammond .
+
+Contributors
+
+
+* Thomas Kluyver
+* John Terry
+
+License text
+
+
+Copyright (c) 2012, Thomas Kluyver & contributors
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+  list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice, 
this
+  list of conditions and the following disclaimer in the documentation and/or
+  other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND