From 81ed94892d4dd27580b46840b881ab9c57f7a356f2869368ef2b8c9ef160f62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 26 May 2020 07:27:30 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-buttplug?expand=0&rev=2 --- python-buttplug.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/python-buttplug.spec b/python-buttplug.spec index d015584..ee2cba2 100644 --- a/python-buttplug.spec +++ b/python-buttplug.spec @@ -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