14
0

Accepting request 1284831 from devel:languages:python

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1284831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-repoze.who?expand=0&rev=11
This commit is contained in:
2025-06-11 16:34:39 +00:00
committed by Git OBS Bridge
2 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 12:45:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Oct 29 08:17:10 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-repoze.who
#
# Copyright (c) 2024 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
@@ -17,8 +17,8 @@
%global modname repoze.who
%{?sle15_python_module_pythons}
%global skip_python313 1
%{?sle15_python_module_pythons}
Name: python-repoze.who
Version: 3.0.0
Release: 0
@@ -27,8 +27,10 @@ License: SUSE-Repoze
URL: http://www.repoze.org
Source: https://files.pythonhosted.org/packages/source/r/repoze.who/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module WebOb}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.interface}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -53,10 +55,10 @@ domain of the WSGI application.
%setup -q -n %{modname}-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
%check
@@ -65,6 +67,9 @@ domain of the WSGI application.
%files %{python_files}
%license LICENSE.txt
%doc *.txt
%{python_sitelib}/*
%dir %{python_sitelib}/repoze
%{python_sitelib}/repoze/who
%{python_sitelib}/repoze[._]who-%{version}*-info
%{python_sitelib}/repoze[._]who-%{version}*nspkg.pth
%changelog