- Update to 3.7.3:
* testsuite fixes - Drop patch partial-wildcards.patch - Add patch partial-wildcards.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
fd9ad1b16f
commit
5873b02147
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-mocket
|
||||
Version: 3.7.2
|
||||
Version: 3.7.3
|
||||
Release: 0
|
||||
Summary: Python socket mock framework
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mindflayer/python-mocket
|
||||
Source: https://github.com/mindflayer/python-mocket/archive/%{version}.tar.gz#/mocket-%{version}.tar.gz
|
||||
# https://github.com/mindflayer/python-mocket/issues/102
|
||||
Patch0: https://github.com/mindflayer/python-mocket/commit/98b3302d9.patch#/partial-wildcards.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -42,13 +40,13 @@ Suggests: python-requests
|
||||
Suggests: python-xxhash
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module PySocks}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
BuildRequires: %{python_module decorator}
|
||||
BuildRequires: %{python_module gevent}
|
||||
BuildRequires: %{python_module hexdump}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pyOpenSSL}
|
||||
BuildRequires: %{python_module PySocks}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-magic}
|
||||
BuildRequires: %{python_module redis}
|
||||
@@ -69,12 +67,8 @@ included, with gevent/asyncio/SSL support.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-mocket-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
rm -f setup.cfg pytest.ini tox.ini
|
||||
|
||||
touch conftest.py
|
||||
|
||||
rm tests/tests27/test_pook.py
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user