[packages/python3-msal] - new
qboosh
qboosh at pld-linux.org
Thu Feb 26 21:16:47 CET 2026
commit 685d6484cb7c033e93fc9848d6e36aadf2c5d291
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Feb 26 21:16:37 2026 +0100
- new
python3-msal.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
---
diff --git a/python3-msal.spec b/python3-msal.spec
new file mode 100644
index 0000000..99b128f
--- /dev/null
+++ b/python3-msal.spec
@@ -0,0 +1,70 @@
+#
+# Conditional build:
+%bcond_with tests # unit tests (files missing in sdist)
+
+Summary: Microsoft Authentication Library
+Summary(pl.UTF-8): Microsoft Authentication Library - biblioteka uwierzytelniająca Microsoftu
+Name: python3-msal
+Version: 1.33.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/msal/
+Source0: https://files.pythonhosted.org/packages/source/m/msal/msal-%{version}.tar.gz
+# Source0-md5: b0cf88719d00c011912cf181a6bfa7c0
+URL: https://pypi.org/project/msal/
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-cryptography >= 2.5
+BuildRequires: python3-cryptography < 48
+BuildRequires: python3-pyjwt >= 1.0.0
+BuildRequires: python3-pyjwt < 3
+BuildRequires: python3-pytest >= 6
+BuildRequires: python3-requests >= 2.0.0
+BuildRequires: python3-requests < 3
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Microsoft Authentication Library (MSAL) for Python library enables
+your app to access the Microsoft Cloud by supporting authentication of
+users with Microsoft Azure Active Directory accounts (AAD) and
+Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID
+Connect.
+
+%description -l pl.UTF-8
+Biblioteka Microsoft Authentication Library (MSAL) dla Pythona pozwala
+aplikacjom korzystać z Microsoft Cloud dzięki obsłudze
+uwierzytelniania użytkowników do kont Microsoft Azure Active Directory
+(AAD) i Microsoft Account (MSA) przy użyciu standardów OAuth2 i OpenID
+Connect.
+
+%prep
+%setup -q -n msal-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{py3_sitescriptdir}/msal
+%{py3_sitescriptdir}/msal-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-msal.git/commitdiff/685d6484cb7c033e93fc9848d6e36aadf2c5d291
More information about the pld-cvs-commit
mailing list