14
0

Accepting request 1284390 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymemcache?expand=0&rev=18
This commit is contained in:
2025-06-11 14:21:49 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 09:03:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:31:00 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:31:00 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pymemcache # spec file for package python-pymemcache
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de> # Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -26,14 +26,16 @@ Summary: A pure Python memcached client
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/Pinterest/pymemcache URL: https://github.com/Pinterest/pymemcache
Source: https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pymemcache/pymemcache-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: memcached BuildRequires: memcached
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module Faker} BuildRequires: %{python_module Faker}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pylibmc}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module zstd} BuildRequires: %{python_module zstd}
@@ -57,10 +59,10 @@ pymemcache supports the following features:
sed -i 's/tool:pytest/tool:ignore-pytest-cov/' setup.cfg sed -i 's/tool:pytest/tool:ignore-pytest-cov/' setup.cfg
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check