forked from pool/python-python-memcached
Accepting request 969217 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/969217 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-memcached?expand=0&rev=19
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 11 13:02:07 UTC 2022 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- do not use mock
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 3 11:51:18 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Wed Jun 3 11:51:18 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-memcached
|
# spec file for package python-python-memcached
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,7 +26,6 @@ License: Python-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/linsomniac/python-memcached
|
URL: https://github.com/linsomniac/python-memcached
|
||||||
Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz
|
Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
@@ -56,6 +55,7 @@ for more information.
|
|||||||
sed -i \
|
sed -i \
|
||||||
-e 's:#!/usr/bin/env python::' \
|
-e 's:#!/usr/bin/env python::' \
|
||||||
memcache.py
|
memcache.py
|
||||||
|
sed -i 's/import mock/import unittest.mock as mock/' tests/test_memcache.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Reference in New Issue
Block a user