14
0

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:
2022-04-13 19:04:14 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 2 deletions

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,6 @@ License: Python-2.0
Group: Development/Languages/Python
URL: https://github.com/linsomniac/python-memcached
Source: https://github.com/linsomniac/python-memcached/archive/%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
@@ -56,6 +55,7 @@ for more information.
sed -i \
-e 's:#!/usr/bin/env python::' \
memcache.py
sed -i 's/import mock/import unittest.mock as mock/' tests/test_memcache.py
%build
%python_build