Accepting request 1190663 from home:glaubitz:branches:devel:languages:python:azure
- Initial build + Version 1.0.0 OBS-URL: https://build.opensuse.org/request/show/1190663 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-communication-messages?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
azure-communication-messages-1.0.0.tar.gz
Normal file
3
azure-communication-messages-1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8365551fe2d525d6d3dfb13733a5b2dbcf690e05e6d585270b0628dbc247b3b8
|
||||
size 67491
|
5
python-azure-communication-messages.changes
Normal file
5
python-azure-communication-messages.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 12:57:39 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Initial build
|
||||
+ Version 1.0.0
|
69
python-azure-communication-messages.spec
Normal file
69
python-azure-communication-messages.spec
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package python-azure-communication-messages
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-azure-communication-messages
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Microsoft Communication Messages Client Library for Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Azure/azure-sdk-for-python
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-communication-messages/azure-communication-messages-%{version}.tar.gz
|
||||
BuildRequires: %{python_module azure-communication-nspkg >= 0.0.0b1}
|
||||
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-azure-communication-nspkg >= 0.0.0b1
|
||||
Requires: python-azure-nspkg >= 3.0.0
|
||||
Requires: (python-azure-core >= 1.30.0 with python-azure-core < 2.0.0)
|
||||
Requires: (python-isodate >= 0.6.1 with python-isodate < 1.0.0)
|
||||
Requires: (python-typing_extensions >= 4.6.0 if python-base < 3.8)
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
his package contains a Python SDK for Azure Communication Services
|
||||
for Messages (Advanced Messaging).
|
||||
|
||||
%prep
|
||||
%setup -q -n azure-communication-messages-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand # delete common files
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/communication/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/communication/__pycache__
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/azure/communication/messages
|
||||
%{python_sitelib}/azure_communication_messages-*.dist-info
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user