17
0

Accepting request 1285480 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1285480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-system-hotkey310?expand=0&rev=2
This commit is contained in:
2025-06-13 16:48:08 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 12:21:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Jan 3 13:37:18 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-system-hotkey310
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-system-hotkey310
Version: 1.0.5
Release: 0
@@ -25,9 +23,11 @@ Summary: System wide hotkeys
License: BSD-3-Clause
URL: https://github.com/hhannine/system_hotkey310
Source0: https://files.pythonhosted.org/packages/source/s/system_hotkey310/system_hotkey310-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xcffib}
BuildRequires: %{python_module xpybutil}
BuildRequires: fdupes
@@ -47,10 +47,10 @@ System wide hotkeys for python 3.
%setup -q -n system_hotkey310-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -61,6 +61,6 @@ System wide hotkeys for python 3.
%license LICENSE
%doc HISTORY.rst README.rst
%{python_sitelib}/system_hotkey
%{python_sitelib}/*egg-info
%{python_sitelib}/system_hotkey310-%{version}*-info
%changelog