2020-11-19 12:02:31 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-openidc-client
|
|
|
|
#
|
2025-06-02 15:03:15 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2020-11-19 12:02:31 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-openidc-client
|
|
|
|
Version: 0.6.0
|
|
|
|
Release: 0
|
|
|
|
Summary: Python OpenID client
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/puiterwijk/python-openidc-client
|
|
|
|
Source0: https://github.com/puiterwijk/python-openidc-client/archive/v%{version}.tar.gz
|
2025-06-02 15:03:15 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-11-19 12:02:31 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module requests}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-02 15:03:15 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2020-11-19 12:02:31 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
Requires: python-requests
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Python client for OpenID including token caching and management.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n python-openidc-client-%{version}
|
|
|
|
|
|
|
|
%build
|
2025-06-02 15:03:15 +00:00
|
|
|
%pyproject_wheel
|
2020-11-19 12:02:31 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-02 15:03:15 +00:00
|
|
|
%pyproject_install
|
2020-11-19 12:02:31 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pytest
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
2025-06-02 15:03:15 +00:00
|
|
|
%{python_sitelib}/openidc[-_]client
|
|
|
|
%{python_sitelib}/openidc[-_]client-%{version}*-info
|
2020-11-19 12:02:31 +00:00
|
|
|
|
|
|
|
%changelog
|