15
0

Accepting request 1274829 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1274829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-JsonWeb?expand=0&rev=7
This commit is contained in:
2025-05-06 14:42:56 +00:00
committed by Git OBS Bridge
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 6 08:16:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Mon Apr 10 12:14:57 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-JsonWeb
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,10 @@ URL: http://www.jsonweb.info/
Source: https://files.pythonhosted.org/packages/source/J/JsonWeb/JsonWeb-%{version}.tar.gz
# PATCH-FIX-OPENSUSE python-311.patch
Patch0: python-311.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -38,10 +41,10 @@ to your python classes.
%autosetup -p1 -n JsonWeb-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%check
%pytest
@@ -49,6 +52,6 @@ to your python classes.
%files %{python_files}
%doc README.rst
%{python_sitelib}/jsonweb
%{python_sitelib}/JsonWeb-%{version}*-info
%{python_sitelib}/[Jj]son[Ww]eb-%{version}*info
%changelog