forked from pool/python-azure-mgmt-containerregistry
Accepting request 694401 from devel:languages:python:azure
- Update Python Azure SDK to latest version (forwarded request 694281 from glaubitz) OBS-URL: https://build.opensuse.org/request/show/694401 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-containerregistry?expand=0&rev=4
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
diff -Nru azure-mgmt-containerregistry-2.1.0.orig/setup.py azure-mgmt-containerregistry-2.1.0/setup.py
|
diff -Nru azure-mgmt-containerregistry-2.7.0.orig/setup.py azure-mgmt-containerregistry-2.7.0/setup.py
|
||||||
--- azure-mgmt-containerregistry-2.1.0.orig/setup.py 2018-07-26 20:25:48.000000000 +0200
|
--- azure-mgmt-containerregistry-2.7.0.orig/setup.py 2019-02-01 22:36:14.000000000 +0100
|
||||||
+++ azure-mgmt-containerregistry-2.1.0/setup.py 2018-09-03 16:50:49.626545660 +0200
|
+++ azure-mgmt-containerregistry-2.7.0/setup.py 2019-03-25 14:37:03.009634686 +0100
|
||||||
@@ -80,7 +80,7 @@
|
@@ -79,7 +79,7 @@
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'msrest>=0.5.0',
|
'msrest>=0.5.0',
|
||||||
'msrestazure>=0.4.32,<2.0.0',
|
'msrestazure>=0.4.32,<2.0.0',
|
||||||
- 'azure-common~=1.1,>=1.1.10',
|
- 'azure-common~=1.1',
|
||||||
+ 'azure-common>=1.1.10,<2.0.0',
|
+ 'azure-common>=1.1',
|
||||||
],
|
],
|
||||||
cmdclass=cmdclass
|
extras_require={
|
||||||
)
|
":python_version<'3.0'": ['azure-mgmt-nspkg'],
|
||||||
|
11
amc_drop-extras-require.patch
Normal file
11
amc_drop-extras-require.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
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'],
|
||||||
|
- }
|
||||||
|
)
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4624bdaae57b5e107264f286931d0d81f942d0c57b0d93e8a2432abf9b074d7d
|
|
||||||
size 312490
|
|
3
azure-mgmt-containerregistry-2.7.0.zip
Normal file
3
azure-mgmt-containerregistry-2.7.0.zip
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eef8a747ffb43abeb034419a81091fe3fed24ea6a2beab58f3b6933bb0cf0310
|
||||||
|
size 536647
|
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 11 13:22:37 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- New upstream release
|
||||||
|
+ Version 2.7.0
|
||||||
|
+ For detailed information about changes see the
|
||||||
|
HISTORY.txt file provided with this package
|
||||||
|
- Add patch to drop extras_require field from setup.py,
|
||||||
|
required for SLES12 as the setuptools version is too old
|
||||||
|
+ amc_drop-extras-require.patch
|
||||||
|
- Bump minimum version for namespace packages
|
||||||
|
to 3.0.0 in BuildRequires and Requires
|
||||||
|
- Remove python-devel package from BuildRequires
|
||||||
|
- Refresh patches for new version
|
||||||
|
+ amc_drop-compatible-releases-operator.patch
|
||||||
|
- Run fdupes to hardlink duplicate files
|
||||||
|
+ Add fdupes to BuildRequires
|
||||||
|
+ Add %fdupes invocation to %install
|
||||||
|
- Update BuildRequires and Requires from setup.py
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 3 14:53:57 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Mon Sep 3 14:53:57 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-azure-mgmt-containerregistry
|
# spec file for package python-azure-mgmt-containerregistry
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,13 +12,13 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!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.1.0
|
Version: 2.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Microsoft Azure Container Registry Client Library
|
Summary: Microsoft Azure Container Registry Client Library
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -27,16 +27,17 @@ 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
|
Patch1: amc_drop-compatible-releases-operator.patch
|
||||||
BuildRequires: %{python_module azure-mgmt-nspkg}
|
Patch2: amc_drop-extras-require.patch
|
||||||
BuildRequires: %{python_module azure-nspkg}
|
BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-azure-common < 2.0.0
|
Requires: python-azure-common < 2.0.0
|
||||||
Requires: python-azure-common >= 1.1.10
|
Requires: python-azure-common >= 1.1
|
||||||
Requires: python-azure-mgmt-nspkg
|
Requires: python-azure-mgmt-nspkg >= 3.0.0
|
||||||
Requires: python-azure-nspkg
|
Requires: python-azure-nspkg >= 3.0.0
|
||||||
Requires: python-msrest >= 0.5.0
|
Requires: python-msrest >= 0.5.0
|
||||||
Requires: python-msrestazure < 2.0.0
|
Requires: python-msrestazure < 2.0.0
|
||||||
Requires: python-msrestazure >= 0.4.32
|
Requires: python-msrestazure >= 0.4.32
|
||||||
@@ -57,6 +58,7 @@ This package has been tested with Python 2.7, 3.4, 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
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerregistry-%{version}
|
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerregistry-%{version}
|
||||||
@@ -64,6 +66,7 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerregistry-%{version}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%{python_expand # delete common files
|
%{python_expand # delete common files
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.*
|
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.*
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__
|
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__
|
||||||
|
Reference in New Issue
Block a user