15
0

Accepting request 808727 from home:andythe_great

- Fix pytest version.

OBS-URL: https://build.opensuse.org/request/show/808727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-buttplug?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2020-05-26 07:22:50 +00:00
committed by Git OBS Bridge
commit c398175987
5 changed files with 117 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
buttplug-py-0.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f89c7ef8b5e4388b9301eb946a2ec83350353f6e305e1dc92662378995f9d304
size 24769

14
python-buttplug.changes Normal file
View File

@@ -0,0 +1,14 @@
-------------------------------------------------------------------
Mon May 25 10:50:16 UTC 2020 - andy great <andythe_great@pm.me>
- Fix pytest version.
-------------------------------------------------------------------
Sun May 24 16:53:39 UTC 2020 - andy great <andythe_great@pm.me>
- Fix dependencies, add dataclasses to build for leap 15.2.
-------------------------------------------------------------------
Thu May 7 00:15:12 UTC 2020 - andy great <andythe_great@pm.me>
- Initial package release.

76
python-buttplug.spec Normal file
View File

@@ -0,0 +1,76 @@
#
# spec file for package python-buttplug
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%define packagename buttplug-py
Name: python-buttplug
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 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
%python_subpackages
%description
Buttplug-py is a python implementation of the Core and Client portions of
the Buttplug Sex Toy Control Protocol. It allows users to write applications
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}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%files %{python_files}
%license LICENSE
%doc README.md CHANGELOG.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/
%pycache_only %{python_sitelib}/buttplug/__pycache__/*.pyc
%pycache_only %{python_sitelib}/buttplug/*/__pycache__/*.pyc
%changelog