- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-notify2?expand=0&rev=5
This commit is contained in:
parent
db437ac7bf
commit
4cb309178c
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.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:684281f91c51fc60bc7909a35bd21d043a2a421f4e269de1ed1f13845d1d6321
|
|
||||||
size 8798
|
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Wed Dec 28 08:53:49 UTC 2016 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-notify2
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,22 +16,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-notify2
|
Name: python-notify2
|
||||||
Version: 0.3
|
Version: 0.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python interface to DBus notifications
|
Summary: Python interface to DBus notifications
|
||||||
License: BSD-3-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://pypi.python.org/pypi/notify2/
|
Url: https://pypi.python.org/pypi/notify2/
|
||||||
Source: https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
|
Source: https://pypi.io/packages/source/n/notify2/notify2-%{version}.tar.gz
|
||||||
BuildRequires: dbus-1-python
|
BuildRequires: %{python_module dbus-python}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%ifpython3
|
||||||
|
Requires: dbus-1-python3
|
||||||
|
%else
|
||||||
Requires: dbus-1-python
|
Requires: dbus-1-python
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a pure-python replacement for notify-python, using python-dbus
|
This is a pure-python replacement for notify-python, using python-dbus
|
||||||
to communicate with the notifications server directly. It's compatible
|
to communicate with the notifications server directly. It's compatible
|
||||||
@ -42,17 +49,15 @@ applications.
|
|||||||
%setup -q -n notify2-%{version}
|
%setup -q -n notify2-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root %{buildroot}
|
%python_install
|
||||||
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
%files
|
%files %python_files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
# Note: no need for update-alternatives, there is no conflicting path with python3-notify2
|
%doc LICENSE
|
||||||
# (no documentation, no script in bindir)
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/notify2.py
|
|
||||||
%{python_sitelib}/notify2.pyc
|
|
||||||
%{python_sitelib}/notify2-%{version}-py%{py_ver}.egg-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user