From 4651ce1ebd8b9c1a8bd67c44ab623554ccddb0b47f6a5cd13c695f9bdaafe8e9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 24 Jul 2020 01:00:55 +0000 Subject: [PATCH] Accepting request 822509 from home:sebix:branches:devel:languages:python - Update to version 3.8.6: - No upstream changelog available - Use source tarball from pypi instead of GitHub. OBS-URL: https://build.opensuse.org/request/show/822509 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=7 --- mocket-3.8.4.tar.gz | 3 --- mocket-3.8.6.tar.gz | 3 +++ python-mocket.changes | 7 +++++++ python-mocket.spec | 13 +++++++------ 4 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 mocket-3.8.4.tar.gz create mode 100644 mocket-3.8.6.tar.gz diff --git a/mocket-3.8.4.tar.gz b/mocket-3.8.4.tar.gz deleted file mode 100644 index c0f78e6..0000000 --- a/mocket-3.8.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:487a2baf9bcb2b13de4c9fffc2371b23f07ff64c171b0f1115a370b683042ab8 -size 69189 diff --git a/mocket-3.8.6.tar.gz b/mocket-3.8.6.tar.gz new file mode 100644 index 0000000..5f04865 --- /dev/null +++ b/mocket-3.8.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aeaa0ce03473f4770eba0de47392b3d7310356ae3a486b2a3ba14c437f8b9e92 +size 72587 diff --git a/python-mocket.changes b/python-mocket.changes index 5a0b6f4..6a25fb6 100644 --- a/python-mocket.changes +++ b/python-mocket.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 23 18:54:20 UTC 2020 - Sebastian Wagner + +- Update to version 3.8.6: + - No upstream changelog available +- Use source tarball from pypi instead of GitHub. + ------------------------------------------------------------------- Wed Apr 1 07:38:18 UTC 2020 - pgajdos@suse.com diff --git a/python-mocket.spec b/python-mocket.spec index 873e2ca..275e986 100644 --- a/python-mocket.spec +++ b/python-mocket.spec @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mocket -Version: 3.8.4 +Version: 3.8.6 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 +Source0: https://files.pythonhosted.org/packages/source/m/mocket/mocket-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -44,6 +44,7 @@ BuildRequires: %{python_module cryptography} BuildRequires: %{python_module decorator} BuildRequires: %{python_module gevent} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pook} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-magic} @@ -64,10 +65,10 @@ Socket Mock Framework - for all kinds of socket animals, web-clients included, with gevent/asyncio/SSL support. %prep -%setup -q -n python-mocket-%{version} +%setup -q -n mocket-%{version} rm -f setup.cfg pytest.ini tox.ini +sed -i '/pipenv/d' setup.py touch conftest.py -rm tests/tests27/test_pook.py %build export LANG=en_US.UTF-8 @@ -84,9 +85,9 @@ export PYTHONPATH=${PWD} export SKIP_TRUE_HTTP=1 %{python_expand # if [ $python = python2 ]; then - $python -m pytest tests/main mocket tests/tests27/ -vv -k 'not RedisTestCase' + $python -m pytest tests/main mocket -vv -k 'not RedisTestCase' else - $python -m pytest tests/main mocket tests/tests27/ tests/tests35/ -vv -k 'not RedisTestCase' + $python -m pytest tests/main mocket tests/tests35/ -vv -k 'not RedisTestCase' fi }