forked from pool/python-PyBrowserID
Accepting request 1275131 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1275131 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyBrowserID?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 6 12:25:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 18 07:18:27 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
Mon Mar 18 07:18:27 UTC 2024 - Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyBrowserID
|
# spec file for package python-PyBrowserID
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2017-2018 The openSUSE Project.
|
# Copyright (c) 2017-2018 The openSUSE Project.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-PyBrowserID
|
Name: python-PyBrowserID
|
||||||
Version: 0.14.0
|
Version: 0.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -29,7 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/P/PyBrowserID/PyB
|
|||||||
Patch0: python-PyBrowserID-unittest-mock.patch
|
Patch0: python-PyBrowserID-unittest-mock.patch
|
||||||
# PATCH-FIX-UPSTREAM (not submitted because the project is archive and doesn't accept pull requests)
|
# PATCH-FIX-UPSTREAM (not submitted because the project is archive and doesn't accept pull requests)
|
||||||
Patch1: 0001-Remove-the-use-of-the-deprecated-assertEquals-functi.patch
|
Patch1: 0001-Remove-the-use-of-the-deprecated-assertEquals-functi.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
@@ -50,10 +51,10 @@ Mozilla Persona.
|
|||||||
%autosetup -p1 -n PyBrowserID-%{version}
|
%autosetup -p1 -n PyBrowserID-%{version}
|
||||||
|
|
||||||
%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
|
||||||
@@ -61,6 +62,7 @@ Mozilla Persona.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.txt README.rst
|
%doc CHANGES.txt README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/browserid
|
||||||
|
%{python_sitelib}/[Pp]y[Bb]rowser[Ii][Dd]-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user