Sync from SUSE:SLFO:Main python-notify2 revision ecc3fb6fc16d22ad397be1c40d3e5df3
This commit is contained in:
commit
179cbe65e5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
notify2-0.3.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
notify2-0.3.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
45
python-notify2.changes
Normal file
45
python-notify2.changes
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 11 16:00:15 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Fix Requires of dbus-python so that the macros can work out the
|
||||||
|
correct flavor for multiple python3 flavors
|
||||||
|
gh#openSUSE/python-rpm-macros#66
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 10 12:53:58 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix fdupes call
|
||||||
|
- Use singlespec everywhere as we rather update packages on older
|
||||||
|
releases to be singlespeced instead of using py2 only variants
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 2 09:11:09 UTC 2017 - antoine.belvire@opensuse.org
|
||||||
|
|
||||||
|
- Fix build for Leap 42.3, which does not have a singlespec version
|
||||||
|
of python-dbus (boo#1046811).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 6 11:32:19 UTC 2017 - antoine.belvire@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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 28 08:53:49 UTC 2016 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- Use pypi.io as Source url
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 12 08:08:04 UTC 2016 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Avoid BuildArch noarch in SLE_11 to fix build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 30 18:34:25 UTC 2015 - antoine.belvire@laposte.net
|
||||||
|
|
||||||
|
- Initial package (v0.3).
|
||||||
|
|
58
python-notify2.spec
Normal file
58
python-notify2.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-notify2
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-notify2
|
||||||
|
Version: 0.3.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Python interface to DBus notifications
|
||||||
|
License: BSD-2-Clause
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
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}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: python-dbus-python
|
||||||
|
%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
|
||||||
|
with Python 2 and 3, and its callbacks can work with Gtk 3 or Qt 4
|
||||||
|
applications.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n notify2-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%{python_sitelib}/notify2.py*
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/notify2*
|
||||||
|
%{python_sitelib}/notify2-%{version}-*info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user