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

- Update Python Azure SDK to latest version

OBS-URL: https://build.opensuse.org/request/show/735230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-network?expand=0&rev=8
This commit is contained in:
John Paul Adrian Glaubitz 2019-10-07 10:12:16 +00:00 committed by Git OBS Bridge
parent 22df9d7206
commit 774a5657e9
6 changed files with 18 additions and 32 deletions

View File

@ -1,12 +0,0 @@
diff -Nru azure-mgmt-network-2.6.0rc1.orig/setup.py azure-mgmt-network-2.6.0rc1/setup.py
--- azure-mgmt-network-2.6.0rc1.orig/setup.py 2019-02-15 16:55:42.000000000 +0100
+++ azure-mgmt-network-2.6.0rc1/setup.py 2019-03-28 12:55:29.228799159 +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-network-2.6.0rc1.orig/setup.py azure-mgmt-network-2.6.0rc1/setup.py
--- azure-mgmt-network-2.6.0rc1.orig/setup.py 2019-03-28 12:57:51.558122309 +0100
+++ azure-mgmt-network-2.6.0rc1/setup.py 2019-03-28 12:58:00.706207341 +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:95a2a409733fd831f813a870d509cbe7df1287dc242ed5faa024ed5934374963
size 10579600

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Oct 4 12:18:44 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 5.0.0
+ 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
+ amn_drop-compatible-releases-operator.patch
+ amn_drop-extras-require.patch
- Update %description from setup.py
-------------------------------------------------------------------
Fri Apr 12 13:07:40 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-network
Version: 2.6.0rc1
Version: 5.0.0
Release: 0
Summary: Microsoft Azure Network 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-network/azure-mgmt-network-%{version}.zip
Source1: LICENSE.txt
Patch1: amn_drop-compatible-releases-operator.patch
Patch2: amn_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}
@ -53,12 +51,10 @@ This is the Microsoft Azure Network Management Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).
This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
%prep
%setup -q -n azure-mgmt-network-%{version}
%patch1 -p1
%patch2 -p1
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-network-%{version}