1
0

4 Commits

2 changed files with 18 additions and 5 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 3 06:48:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Fri Nov 8 12:47:20 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Skip more failing tests, issue is known to upstream
-------------------------------------------------------------------
Fri Feb 9 13:00:59 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-django-oidc-provider
#
# 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
@@ -25,7 +25,9 @@ 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 pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Django >= 3.2
@@ -47,15 +49,16 @@ OpenID Connect Provider implementation for Django.
%autosetup -p1 -n django-oidc-provider-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# gh#juanifioren/django-oidc-provider#400
%pytest -k 'not test_makemigrations_output'
# test_makemigrations_output gh#juanifioren/django-oidc-provider#400
# test_redirects_when_aud* gh#juanifioren/django-oidc-provider#416
%pytest -k 'not (test_makemigrations_output or test_redirects_when_aud)'
%files %{python_files}
%doc README.md