forked from pool/python-notify2
		
	Accepting request 1291569 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1291569 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-notify2?expand=0&rev=7
This commit is contained in:
		@@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
 | 
					Thu Jul 10 01:49:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Switch to pyproject macros.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-------------------------------------------------------------------
 | 
					-------------------------------------------------------------------
 | 
				
			||||||
Mon Dec 30 10:52:21 UTC 2024 - Torsten Gruner <simmphonie@opensuse.org>
 | 
					Mon Dec 30 10:52:21 UTC 2024 - Torsten Gruner <simmphonie@opensuse.org>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# spec file for package python-notify2
 | 
					# spec file for package python-notify2
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 | 
					# Copyright (c) 2025 SUSE LLC
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# 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
 | 
				
			||||||
@@ -22,15 +22,16 @@ Version:        0.3.1
 | 
				
			|||||||
Release:        0
 | 
					Release:        0
 | 
				
			||||||
Summary:        Python interface to DBus notifications
 | 
					Summary:        Python interface to DBus notifications
 | 
				
			||||||
License:        BSD-2-Clause
 | 
					License:        BSD-2-Clause
 | 
				
			||||||
Group:          Development/Languages/Python
 | 
					 | 
				
			||||||
URL:            https://pypi.python.org/pypi/notify2/
 | 
					URL:            https://pypi.python.org/pypi/notify2/
 | 
				
			||||||
Source:         https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
 | 
					Source:         https://files.pythonhosted.org/packages/source/n/notify2/notify2-%{version}.tar.gz
 | 
				
			||||||
BuildRequires:  %{python_module dbus-python}
 | 
					BuildRequires:  %{python_module dbus-python}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module pip}
 | 
				
			||||||
BuildRequires:  %{python_module setuptools}
 | 
					BuildRequires:  %{python_module setuptools}
 | 
				
			||||||
 | 
					BuildRequires:  %{python_module wheel}
 | 
				
			||||||
BuildRequires:  fdupes
 | 
					BuildRequires:  fdupes
 | 
				
			||||||
BuildRequires:  python-rpm-macros
 | 
					BuildRequires:  python-rpm-macros
 | 
				
			||||||
BuildArch:      noarch
 | 
					 | 
				
			||||||
Requires:       python-dbus-python
 | 
					Requires:       python-dbus-python
 | 
				
			||||||
 | 
					BuildArch:      noarch
 | 
				
			||||||
%python_subpackages
 | 
					%python_subpackages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%description
 | 
					%description
 | 
				
			||||||
@@ -43,16 +44,16 @@ applications.
 | 
				
			|||||||
%setup -q -n notify2-%{version}
 | 
					%setup -q -n notify2-%{version}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%build
 | 
					%build
 | 
				
			||||||
%python_build
 | 
					%pyproject_wheel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%install
 | 
					%install
 | 
				
			||||||
%python_install
 | 
					%pyproject_install
 | 
				
			||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
					%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%files %{python_files}
 | 
					%files %{python_files}
 | 
				
			||||||
%license LICENSE
 | 
					%license LICENSE
 | 
				
			||||||
%{python_sitelib}/notify2.py*
 | 
					%{python_sitelib}/notify2.py
 | 
				
			||||||
%pycache_only %{python_sitelib}/__pycache__/notify2*
 | 
					%pycache_only %{python_sitelib}/__pycache__/notify2.*.pyc
 | 
				
			||||||
%{python_sitelib}/notify2-%{version}-*info
 | 
					%{python_sitelib}/notify2-%{version}.dist-info
 | 
				
			||||||
 | 
					
 | 
				
			||||||
%changelog
 | 
					%changelog
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user