[packages/python3-azure-storage-blob] - new
qboosh
qboosh at pld-linux.org
Sun Mar 15 18:17:16 CET 2026
commit 46cb72cd3a30765d88d13bb721cafbd9e17c9674
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 15 18:17:19 2026 +0100
- new
python3-azure-storage-blob.spec | 73 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
---
diff --git a/python3-azure-storage-blob.spec b/python3-azure-storage-blob.spec
new file mode 100644
index 0000000..1b8b64f
--- /dev/null
+++ b/python3-azure-storage-blob.spec
@@ -0,0 +1,73 @@
+#
+# Conditional build:
+%bcond_with tests # unit tests (missing devtools_testutils in sdist)
+
+Summary: Microsoft Azure Blob Storage Client Library for Python
+Summary(pl.UTF-8): Biblioteka kliencka Microsoft Azure Blob Storage dla Pythona
+Name: python3-azure-storage-blob
+Version: 12.28.0
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/azure-storage-blob/
+Source0: https://files.pythonhosted.org/packages/source/a/azure-storage-blob/azure_storage_blob-%{version}.tar.gz
+# Source0-md5: a2ad5ead52fb3b697c6ff579c9f24aa3
+URL: https://pypi.org/project/azure-storage-blob/
+BuildRequires: python3-modules >= 1:3.9
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-aiohttp >= 3.0
+BuildRequires: python3-azure-core >= 1.30.0
+BuildRequires: python3-cryptography >= 2.1.4
+BuildRequires: python3-isodate >= 0.6.1
+BuildRequires: python3-pytest
+BuildRequires: python3-pytest-asyncio
+BuildRequires: python3-typing_extensions >= 4.6.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
+Azure Blob Storage is Microsoft's object storage solution for the
+cloud. Blob Storage is optimized for storing massive amounts of
+unstructured data, such as text or binary data.
+
+%description -l pl.UTF-8
+Azure Blob Storage to rozwiązanie Microsoftu do przechowywania
+obiektów w chmurze. Blob Storage jest zoptymalizowane pod kątem
+przechowywania dużych ilości danych bez struktury, takich jak dane
+tekstowe lub binarne.
+
+%prep
+%setup -q -n azure_storage_blob-%{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-storage-blob-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG.md LICENSE README.md migration_guide.md
+%dir %{py3_sitescriptdir}/azure/storage
+%{py3_sitescriptdir}/azure/storage/blob
+%{py3_sitescriptdir}/azure_storage_blob-%{version}-py*.egg-info
+%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-azure-storage-blob.git/commitdiff/46cb72cd3a30765d88d13bb721cafbd9e17c9674
More information about the pld-cvs-commit
mailing list