1
0
Files
python-django-oidc-provider/python-django-oidc-provider.spec
John Vandenberg 9ca049d9db Accepting request 1145427 from home:mcalabkova:branches:devel:languages:python:django
- Update to 0.8.2
  * Added: Discovery endpoint response caching. Introducing OIDC_DISCOVERY_CACHE_ENABLE.
  * Fixed: ResponseType data migration.
  * Fixed: correctly verify PKCE secret in token endpoint.
  0.8.1
  * Changed: create_token and create_code are now methods on base classes to enable customization.
  * Changed: extract "is consent skip allowed" decision from the view to the endpoint.
  * Fixed: race condition in authorization code, parallel requests may reuse same token.
  0.8.0
  * Changed: now supporting latest versions of Django.
  * Changed: drop support for Python 2 and Django lower than 3.2.
  * Added: scope on token and introspection endpoints.
  * Changed: Use static instead of deprecated staticfiles template tag.
  * Fixed: example in docs for translatable scopes (ugettext).
- drop no-longer-needed django4.patch
- rebase python-django-oidc-provider-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/1145427
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-oidc-provider?expand=0&rev=14
2024-02-11 04:38:05 +00:00

67 lines
2.1 KiB
RPMSpec

#
# spec file for package python-django-oidc-provider
#
# Copyright (c) 2024 SUSE LLC
#
# 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-django-oidc-provider
Version: 0.8.2
Release: 0
Summary: OpenID Connect Provider implementation for Django
License: MIT
URL: https://github.com/juanifioren/django-oidc-provider
Source: https://github.com/juanifioren/django-oidc-provider/archive/v%{version}.tar.gz#/django-oidc-provider-%{version}.tar.gz
# https://github.com/juanifioren/django-oidc-provider/issues/401
Patch2: python-django-oidc-provider-no-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django >= 3.2
Requires: python-pyjwkest >= 1.3.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Django >= 3.2}
BuildRequires: %{python_module psycopg2}
BuildRequires: %{python_module pyjwkest >= 1.3.0}
BuildRequires: %{python_module pytest >= 3.6.4}
BuildRequires: %{python_module pytest-django}
# /SECTION
%python_subpackages
%description
OpenID Connect Provider implementation for Django.
%prep
%autosetup -p1 -n django-oidc-provider-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# gh#juanifioren/django-oidc-provider#400
%pytest -k 'not test_makemigrations_output'
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/oidc_provider
%{python_sitelib}/django_oidc_provider-%{version}*-info
%changelog