forked from pool/python-msal-extensions
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 10442a8361 | |||
| d346143794 |
12
me_relax-portalocker.patch
Normal file
12
me_relax-portalocker.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
diff -Nru msal_extensions-1.2.0.orig/setup.py msal_extensions-1.2.0/setup.py
|
||||||
|
--- msal_extensions-1.2.0.orig/setup.py 2024-06-23 04:15:27.000000000 +0200
|
||||||
|
+++ msal_extensions-1.2.0/setup.py 2024-11-22 11:05:40.219183804 +0100
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
python_requires=">=3.7",
|
||||||
|
install_requires=[
|
||||||
|
'msal>=1.29,<2', # Use TokenCache.search() from MSAL Python 1.29+
|
||||||
|
- 'portalocker<3,>=1.4',
|
||||||
|
+ 'portalocker<4,>=1.4',
|
||||||
|
|
||||||
|
## We choose to NOT define a hard dependency on this.
|
||||||
|
# "pygobject>=3,<4;platform_system=='Linux'",
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 22 10:54:07 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Add patch to relax python-portalocker version dependency in setup.py
|
||||||
|
+ me_relax-portalocker.patch
|
||||||
|
- Relax python-portalocker version dependency in BuildRequires and Requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 9 07:08:18 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Tue Jul 9 07:08:18 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/AzureAD/microsoft-authentication-library-for-python
|
URL: https://github.com/AzureAD/microsoft-authentication-library-for-python
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/msal-extensions/msal_extensions-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/msal-extensions/msal_extensions-%{version}.tar.gz
|
||||||
|
Patch: me_relax-portalocker.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@@ -32,7 +33,7 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: (python-msal >= 1.29 with python-msal < 2.0)
|
Requires: (python-msal >= 1.29 with python-msal < 2.0)
|
||||||
Requires: (python-portalocker >= 1.4 with python-portalocker < 3.0)
|
Requires: (python-portalocker >= 1.4 with python-portalocker < 4.0)
|
||||||
%if 0%{?sle_version} >= 150400
|
%if 0%{?sle_version} >= 150400
|
||||||
Obsoletes: python3-msal-extensions < 1.1.0
|
Obsoletes: python3-msal-extensions < 1.1.0
|
||||||
%endif
|
%endif
|
||||||
@@ -40,7 +41,7 @@ BuildArch: noarch
|
|||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module msal < 2.0}
|
BuildRequires: %{python_module msal < 2.0}
|
||||||
BuildRequires: %{python_module msal >= 1.29}
|
BuildRequires: %{python_module msal >= 1.29}
|
||||||
BuildRequires: %{python_module portalocker < 3.0}
|
BuildRequires: %{python_module portalocker < 4.0}
|
||||||
BuildRequires: %{python_module portalocker >= 1.4}
|
BuildRequires: %{python_module portalocker >= 1.4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -56,6 +57,7 @@ This packages contains additional extensions.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n msal_extensions-%{version}
|
%setup -q -n msal_extensions-%{version}
|
||||||
|
%patch -P0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|||||||
Reference in New Issue
Block a user