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

- Update Python Azure SDK to latest version

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

View File

@ -1,12 +0,0 @@
diff -Nru azure-mgmt-containerinstance-1.4.0.orig/setup.py azure-mgmt-containerinstance-1.4.0/setup.py
--- azure-mgmt-containerinstance-1.4.0.orig/setup.py 2018-11-12 23:22:44.000000000 +0100
+++ azure-mgmt-containerinstance-1.4.0/setup.py 2019-03-25 14:26:43.991584585 +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-containerinstance-1.4.0.orig/setup.py azure-mgmt-containerinstance-1.4.0/setup.py
--- azure-mgmt-containerinstance-1.4.0.orig/setup.py 2019-04-11 15:13:02.538498142 +0200
+++ azure-mgmt-containerinstance-1.4.0/setup.py 2019-04-11 15:13:27.202731374 +0200
@@ -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:274a9def808407fafe123aa8e9bc1c838a48af2de56419598db7a8b8901086e3
size 98366

View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Oct 4 12:15:13 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 1.5.0
+ For detailed information about changes see the
HISTORY.txt file provided with this package
- Drop patch to support older versions of setuptools as
SLE-12 is now shipping with a recent enough version
+ amc_drop-compatible-releases-operator.patch
+ amc_drop-extras-require.patch
- Remove python-devel package from BuildRequires
- Update %description from setup.py
-------------------------------------------------------------------
Thu Apr 11 13:17:24 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-containerinstance
Version: 1.4.0
Version: 1.5.0
Release: 0
Summary: Microsoft Azure Container Instance Client Library
License: MIT
@ -26,11 +26,8 @@ Group: Development/Languages/Python
Url: https://github.com/Azure/azure-sdk-for-python
Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-containerinstance/azure-mgmt-containerinstance-%{version}.zip
Source1: LICENSE.txt
Patch1: amc_drop-compatible-releases-operator.patch
Patch2: amc_drop-extras-require.patch
BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0}
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -58,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-containerinstance-%{version}
%patch1 -p1
%patch2 -p1
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerinstance-%{version}