1
0

Accepting request 735728 from devel:languages:python:azure

- Update Python Azure SDK to latest version (forwarded request 735230 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/735728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-network?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2019-10-10 12:30:49 +00:00 committed by Git OBS Bridge
commit 712585c5f1
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}