forked from pool/python-buttplug
- update to 0.3.0:
* switch to maintained fork of the library * DeviceRemoved event no longer tries to use non-existent dict - Fix pytest version. - Initial package release. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-buttplug?expand=0&rev=10
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-buttplug
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%define packagename buttplug-py
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-buttplug
|
||||
Version: 0.2.0
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
Summary: Implementations of the Buttplug Client for Python
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/buttplugio/buttplug-py/
|
||||
Source: https://github.com/buttplugio/buttplug-py/archive/%{version}.tar.gz#/%{packagename}-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/b/buttplug/buttplug-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module websockets >= 7.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-websockets
|
||||
@@ -50,27 +49,24 @@ that can connect to Buttplug Servers, such as the Intiface Desktop
|
||||
Application or Intiface C# CLI or Node CLI.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{packagename}-%{version}
|
||||
%setup -q -n buttplug-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
%doc README.md
|
||||
%dir %{python_sitelib}/buttplug/
|
||||
%dir %{python_sitelib}/buttplug/*/
|
||||
%dir %{python_sitelib}/buttplug/*/__pycache__/
|
||||
%{python_sitelib}/buttplug/*.py
|
||||
%{python_sitelib}/buttplug/*/*.py
|
||||
%{python_sitelib}/buttplug-%{version}-py%{python_version}.egg-info/
|
||||
%{python_sitelib}/buttplug-%{version}.dist-info
|
||||
%pycache_only %{python_sitelib}/buttplug/__pycache__/*.pyc
|
||||
%pycache_only %{python_sitelib}/buttplug/*/__pycache__/*.pyc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user