[packages/python3-azure-identity] - new

qboosh qboosh at pld-linux.org
Sun Mar 15 13:46:34 CET 2026


commit 489e88407c5649d15be3e376ea40468b37301c8a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Mar 15 13:46:37 2026 +0100

    - new

 python3-azure-identity.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
---
diff --git a/python3-azure-identity.spec b/python3-azure-identity.spec
new file mode 100644
index 0000000..26533e7
--- /dev/null
+++ b/python3-azure-identity.spec
@@ -0,0 +1,75 @@
+#
+# Conditional build:
+%bcond_with	tests	# unit tests (missing devtools_testutils in sdist)
+
+Summary:	Microsoft Azure Identity Library for Python
+Summary(pl.UTF-8):	Biblioteka tożsamości Microsoft Azure dla Pythona
+Name:		python3-azure-identity
+Version:	1.24.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+#Source0Download: https://pypi.org/simple/azure-identity/
+Source0:	https://files.pythonhosted.org/packages/source/a/azure-identity/azure_identity-%{version}.tar.gz
+# Source0-md5:	1dc04930c8d242afeee89cc3d6ca89ec
+URL:		https://pypi.org/project/azure-identity/
+BuildRequires:	python3-modules >= 1:3.9
+BuildRequires:	python3-setuptools
+%if %{with tests}
+BuildRequires:	python3-azure-core >= 1.31.0
+BuildRequires:	python3-cryptography >= 2.5
+BuildRequires:	python3-msal >= 1.30.0
+BuildRequires:	python3-msal-extensions >= 1.2.0
+BuildRequires:	python3-pytest
+BuildRequires:	python3-pytest-asyncio
+BuildRequires:	python3-typing_extensions >= 4.0.0
+%endif
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python3-modules >= 1:3.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Azure Identity library provides Microsoft Entra ID (formerly
+Azure Active Directory) token authentication support across the Azure
+SDK. It provides a set of TokenCredential/SupportsTokenInfo
+implementations, which can be used to construct Azure SDK clients that
+support Microsoft Entra token authentication.
+
+%description -l pl.UTF-8
+Biblioteka Azure Identity udostępnia obsługę uwierzytelniania tokenem
+Microsoft Entra ID (dawniej Azure Active Directory) w ramach Azure
+SDK. Udostępnia zbiór implementacji TokenCredential/SupportsTokenInfo,
+których można używać do konstrukcji klientów Azure SDK, obsługujących
+uwierzytelnianie tokenem Microsoft Entra.
+
+%prep
+%setup -q -n azure_identity-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_asyncio.plugin \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}
+cp -pr samples $RPM_BUILD_ROOT%{_examplesdir}/python3-azure-identity-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc APP_REGISTRATION.md BREAKING_CHANGES.md CHANGELOG.md LICENSE README.md TOKEN_CACHING.md TROUBLESHOOTING.md migration_guide.md
+%{py3_sitescriptdir}/azure/identity
+%{py3_sitescriptdir}/azure_identity-%{version}-py*.egg-info
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-azure-identity.git/commitdiff/489e88407c5649d15be3e376ea40468b37301c8a



More information about the pld-cvs-commit mailing list