1
0

Accepting request 735695 from devel:languages:python:azure

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

OBS-URL: https://build.opensuse.org/request/show/735695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-containerregistry?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-10-10 12:29:28 +00:00 committed by Git OBS Bridge
commit 7dfc007ecb
6 changed files with 18 additions and 32 deletions

View File

@ -1,12 +0,0 @@
diff -Nru azure-mgmt-containerregistry-2.7.0.orig/setup.py azure-mgmt-containerregistry-2.7.0/setup.py
--- azure-mgmt-containerregistry-2.7.0.orig/setup.py 2019-02-01 22:36:14.000000000 +0100
+++ azure-mgmt-containerregistry-2.7.0/setup.py 2019-03-25 14:37:03.009634686 +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-containerregistry-2.7.0.orig/setup.py azure-mgmt-containerregistry-2.7.0/setup.py
--- azure-mgmt-containerregistry-2.7.0.orig/setup.py 2019-04-11 15:19:12.073971823 +0200
+++ azure-mgmt-containerregistry-2.7.0/setup.py 2019-04-11 15:19:27.666117442 +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:eef8a747ffb43abeb034419a81091fe3fed24ea6a2beab58f3b6933bb0cf0310
size 536647

View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Oct 4 12:15:17 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 3.0.0rc5
+ 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
+ amc_drop-compatible-releases-operator.patch
+ amc_drop-extras-require.patch
- Update %description from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 11 13:22:37 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Thu Apr 11 13:22:37 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-azure-mgmt-containerregistry Name: python-azure-mgmt-containerregistry
Version: 2.7.0 Version: 3.0.0rc5
Release: 0 Release: 0
Summary: Microsoft Azure Container Registry Client Library Summary: Microsoft Azure Container Registry Client Library
License: MIT License: MIT
@ -26,8 +26,6 @@ Group: Development/Languages/Python
Url: https://github.com/Azure/azure-sdk-for-python Url: https://github.com/Azure/azure-sdk-for-python
Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-containerregistry/azure-mgmt-containerregistry-%{version}.zip Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-containerregistry/azure-mgmt-containerregistry-%{version}.zip
Source1: LICENSE.txt 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-mgmt-nspkg >= 3.0.0}
BuildRequires: %{python_module azure-nspkg >= 3.0.0} BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -53,12 +51,10 @@ This is the Microsoft Azure Container Registry Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM). 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 %prep
%setup -q -n azure-mgmt-containerregistry-%{version} %setup -q -n azure-mgmt-containerregistry-%{version}
%patch1 -p1
%patch2 -p1
%build %build
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerregistry-%{version} install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerregistry-%{version}