14
0

- Update URL and Source tags to new URL.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python3-saml?expand=0&rev=23
This commit is contained in:
2025-03-22 17:47:55 +00:00
committed by Git OBS Bridge
parent ba455c793b
commit 7603c95923
2 changed files with 14 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 22 17:47:32 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Update URL and Source tags to new URL.
-------------------------------------------------------------------
Tue Mar 18 14:11:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -23,8 +23,8 @@ Release: 0
Summary: Python SAML support
License: MIT
Group: Development/Languages/Python
URL: https://github.com/onelogin/python3-saml
Source: https://github.com/onelogin/python3-saml/archive/v%{version}.tar.gz#/python3-saml-%{version}.tar.gz
URL: https://github.com/SAML-Toolkits/python3-saml
Source: https://github.com/SAML-Toolkits/python3-saml/archive/v%{version}.tar.gz#/python3-saml-%{version}.tar.gz
BuildRequires: %{python_module freezegun >= 0.3.11}
BuildRequires: %{python_module isodate >= 0.6.1}
BuildRequires: %{python_module lxml >= 3.3.5}
@@ -59,20 +59,20 @@ sed -i 's/==/>=/;/dependency_links/d' setup.py
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/onelogin
%python_expand %fdupes %{buildroot}%{$python_sitelib}/SAML-Toolkits
%check
# gh#onelogin/python3-saml#271
# the test suite is a complete disaster currently gh#onelogin/python3-saml#272
# gh#SAML-Toolkits/python3-saml#271
# the test suite is a complete disaster currently gh#SAML-Toolkits/python3-saml#272
%pytest -k 'not (testIsInValidAudience or testIsInValidEncAttrs or testIsInValidIssuer or testIsInValidSessionIndex or testIsInValidSubjectConfirmation)' || /bin/true
%files %{python_files}
%license LICENSE
%doc README.md
%dir %{python_sitelib}/onelogin
%{python_sitelib}/onelogin/saml2
%{python_sitelib}/onelogin/__init__.py
%pycache_only %{python_sitelib}/onelogin/__pycache__/
%dir %{python_sitelib}/SAML-Toolkits
%{python_sitelib}/SAML-Toolkits/saml2
%{python_sitelib}/SAML-Toolkits/__init__.py
%pycache_only %{python_sitelib}/SAML-Toolkits/__pycache__/
%{python_sitelib}/python3_saml-%{version}*-info
%changelog