14
0

Accepting request 1284477 from devel:languages:python

- Convert to pip-based build

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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 13:13:58 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 28 23:33:12 UTC 2018 - Neal Gompa <ngompa13@gmail.com> Mon May 28 23:33:12 UTC 2018 - Neal Gompa <ngompa13@gmail.com>

View File

@@ -1,6 +1,7 @@
# #
# spec file for package python-python-openid-cla # spec file for package python-python-openid-cla
# #
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>. # Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -12,49 +13,41 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-openid-cla Name: python-python-openid-cla
Version: 1.2 Version: 1.2
Release: 0 Release: 0
Summary: CLA extension for python-openid Summary: CLA extension for python-openid
Group: Development/Libraries/Python
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/Python
URL: https://github.com/puiterwijk/python-openid-cla URL: https://github.com/puiterwijk/python-openid-cla
Source: https://github.com/puiterwijk/python-openid-cla/archive/v%{version}/python-openid-cla-%{version}.tar.gz Source: https://github.com/puiterwijk/python-openid-cla/archive/v%{version}/python-openid-cla-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildArch: noarch
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if "%{python_flavor}" == "python2" BuildArch: noarch
Requires: python2-python-openid Requires: python-python3-openid
%endif
%if "%{python_flavor}" == "python3"
Requires: python3-python3-openid
%endif
%python_subpackages %python_subpackages
%description %description
CLA extension implementation for python-openid. CLA extension implementation for python-openid.
%prep %prep
%setup -q -n python-openid-cla-%{version} %setup -q -n python-openid-cla-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%files %{python_files} %files %{python_files}
%license COPYING %license COPYING
%{python_sitelib}/* %{python_sitelib}/openid_cla
%{python_sitelib}/python[-_]openid[-_]cla-%{version}*-info
%changelog %changelog