forked from pool/python-system_hotkey
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-system_hotkey?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
58dbbcbbb9
commit
ef3d3e28c1
@@ -25,6 +25,8 @@ Summary: System wide hotkeys
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/timeyyy/system_hotkey
|
||||
Source0: https://github.com/timeyyy/system_hotkey/archive/%{version}.tar.gz#/system_hotkey-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest-xvfb}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module xcffib}
|
||||
BuildRequires: %{python_module xpybutil}
|
||||
@@ -42,6 +44,8 @@ System wide hotkeys for python 3.
|
||||
|
||||
%prep
|
||||
%setup -q -n system_hotkey-%{version}
|
||||
# version was not bumped
|
||||
sed -i -e 's:1\.0\.1:1.0.2:g' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -51,14 +55,15 @@ System wide hotkeys for python 3.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
# The tests currently fail
|
||||
#%%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst README.rst
|
||||
%dir %{python_sitelib}/system_hotkey/
|
||||
%dir %{python_sitelib}/system_hotkey/__pycache__/
|
||||
%{python_sitelib}/system_hotkey-1.0.1-py%{python_version}.egg-info/
|
||||
%{python_sitelib}/system_hotkey-%{version}-py%{python_version}.egg-info/
|
||||
%{python_sitelib}/system_hotkey/*.py
|
||||
%pycache_only %{python_sitelib}/system_hotkey/__pycache__/*.pyc
|
||||
|
||||
|
Reference in New Issue
Block a user