Accepting request 851467 from home:jayvdb:branches:devel:languages:python
- Activate test suite OBS-URL: https://build.opensuse.org/request/show/851467 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsproto?expand=0&rev=16
This commit is contained in:
parent
33d6de3925
commit
17266d35cc
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 28 09:27:15 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Activate test suite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 23 10:21:57 UTC 2020 - aloisio@gmx.com
|
Mon Nov 23 10:21:57 UTC 2020 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -27,16 +27,20 @@ Group: Development/Languages/Python
|
|||||||
URL: https://pypi.python.org/pypi/wsproto
|
URL: https://pypi.python.org/pypi/wsproto
|
||||||
Source: https://files.pythonhosted.org/packages/source/w/wsproto/wsproto-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/w/wsproto/wsproto-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
%if 0%{?suse_version} <= 1520
|
|
||||||
BuildRequires: %{python_module dataclasses}
|
|
||||||
%endif
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-h11 >= 0.8.1
|
Requires: python-h11 >= 0.8.1
|
||||||
|
BuildArch: noarch
|
||||||
|
%if 0%{?suse_version} <= 1520
|
||||||
|
BuildRequires: %{python_module dataclasses}
|
||||||
|
%endif
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module h11 >= 0.8.1}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
# /SECTION
|
||||||
%if 0%{?suse_version} <= 1520
|
%if 0%{?suse_version} <= 1520
|
||||||
Requires: python-dataclasses
|
Requires: python-dataclasses
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -63,7 +67,8 @@ RFC6455 and Compression Extensions for WebSocket via RFC7692
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
#it seems almost impossible to launch the tests, it has to be done via tox
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user