15
0
Tomáš Chvátal
2020-05-26 07:27:30 +00:00
committed by Git OBS Bridge
parent c398175987
commit 81ed94892d

View File

@@ -23,23 +23,23 @@ Version: 0.1.0
Release: 0
Summary: Implementations of the Buttplug Client for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/buttplugio/buttplug-py/
Source: https://github.com/buttplugio/buttplug-py/archive/%{version}.tar.gz#/%{packagename}-%{version}.tar.gz
%if 0%{?suse_version} <= 1520
BuildRequires: %{python_module dataclasses}
%endif
BuildRequires: %{python_module pytest >= 4.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module websockets >= 7.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if 0%{?suse_version} <= 1520
Requires: python-dataclasses
%endif
Requires: python-setuptools
Requires: python-websockets
BuildArch: noarch
%if 0%{?suse_version} <= 1520
BuildRequires: %{python_module dataclasses}
%endif
%if 0%{?suse_version} <= 1520
Requires: python-dataclasses
%endif
%python_subpackages
%description
@@ -59,7 +59,7 @@ Application or Intiface C# CLI or Node CLI.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%license LICENSE