1
0

Accepting request 735210 from home:glaubitz:branches:devel:languages:python:azure

- Update Python Azure SDK to latest version

OBS-URL: https://build.opensuse.org/request/show/735210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-iothub?expand=0&rev=6
This commit is contained in:
John Paul Adrian Glaubitz 2019-10-07 10:10:08 +00:00 committed by Git OBS Bridge
parent 39f9c57334
commit a5d230c371
6 changed files with 16 additions and 31 deletions

View File

@ -1,12 +0,0 @@
diff -Nru azure-mgmt-iothub-0.7.0.orig/setup.py azure-mgmt-iothub-0.7.0/setup.py
--- azure-mgmt-iothub-0.7.0.orig/setup.py 2018-12-14 22:29:40.000000000 +0100
+++ azure-mgmt-iothub-0.7.0/setup.py 2019-03-27 15:17:34.025585016 +0100
@@ -79,7 +79,7 @@
install_requires=[
'msrest>=0.5.0',
'msrestazure>=0.4.32,<2.0.0',
- 'azure-common~=1.1',
+ 'azure-common>=1.1',
],
extras_require={
":python_version<'3.0'": ['azure-mgmt-nspkg'],

View File

@ -1,11 +0,0 @@
diff -Nru azure-mgmt-iothub-0.7.0.orig/setup.py azure-mgmt-iothub-0.7.0/setup.py
--- azure-mgmt-iothub-0.7.0.orig/setup.py 2019-03-27 15:17:58.921837774 +0100
+++ azure-mgmt-iothub-0.7.0/setup.py 2019-03-27 15:18:09.949949693 +0100
@@ -81,7 +81,4 @@
'msrestazure>=0.4.32,<2.0.0',
'azure-common>=1.1',
],
- extras_require={
- ":python_version<'3.0'": ['azure-mgmt-nspkg'],
- }
)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0055fa6ec7a8d6dc9458605878d04d229f57f248096e54bc82dbe4c16d17634
size 140713

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:388be0ed9f7ec8e7e450c7677aa4f823773a99df78ecac9ae4d36653420b7c70
size 150898

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Oct 4 12:17:16 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 0.8.2
+ For detailed information about changes see the
HISTORY.txt file provided with this package
- Drop patches to support older versions of setuptools as
SLE-12 is now shipping with a recent enough version
+ ami_drop-compatible-releases-operator.patch
+ ami_drop-extras-require.patch
-------------------------------------------------------------------
Fri Apr 12 12:07:37 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-azure-mgmt-iothub
Version: 0.7.0
Version: 0.8.2
Release: 0
Summary: Microsoft Azure IoTHub Management Client Library
License: MIT
@ -26,8 +26,6 @@ Group: Development/Languages/Python
Url: https://github.com/Azure/azure-sdk-for-python
Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-iothub/azure-mgmt-iothub-%{version}.zip
Source1: LICENSE.txt
Patch1: ami_drop-compatible-releases-operator.patch
Patch2: ami_drop-extras-require.patch
BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0}
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module setuptools}
@ -57,8 +55,6 @@ This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
%prep
%setup -q -n azure-mgmt-iothub-%{version}
%patch1 -p1
%patch2 -p1
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-iothub-%{version}