Hello community, here is the log from the commit of package python-azure-batch for openSUSE:Factory checked in at 2019-05-14 13:30:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-batch (Old) and /work/SRC/openSUSE:Factory/.python-azure-batch.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-batch" Tue May 14 13:30:37 2019 rev:5 rq:694366 version:6.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-batch/python-azure-batch.changes 2018-09-26 16:12:34.675371000 +0200 +++ /work/SRC/openSUSE:Factory/.python-azure-batch.new.5148/python-azure-batch.changes 2019-05-14 13:30:39.115382933 +0200 @@ -1,0 +2,19 @@ +Wed Apr 10 14:55:13 UTC 2019 - John Paul Adrian Glaubitz <[email protected]> + +- New upstream release + + Version 6.0.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Refresh patches for new version + + ab_drop-compatible-releases-operator.patch +- Remove python-devel package from BuildRequires +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Update BuildRequires and Requires from setup.py +- Use namespace packages for python2 builds only as the python3 + packages are using Implicit Namespace Packages (PEP 420) + +------------------------------------------------------------------- Old: ---- azure-batch-5.0.0.zip New: ---- azure-batch-6.0.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-batch.spec ++++++ --- /var/tmp/diff_new_pack.tOfiFz/_old 2019-05-14 13:30:41.143387736 +0200 +++ /var/tmp/diff_new_pack.tOfiFz/_new 2019-05-14 13:30:41.175387812 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-azure-batch # -# 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 # 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) # 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-%{**}} Name: python-azure-batch -Version: 5.0.0 +Version: 6.0.0 Release: 0 Summary: Microsoft Azure Batch Client Library License: MIT @@ -27,14 +27,16 @@ Source: https://files.pythonhosted.org/packages/source/a/azure-batch/azure-batch-%{version}.zip Source1: LICENSE.txt Patch1: ab_drop-compatible-releases-operator.patch -BuildRequires: %{python_module azure-nspkg} -BuildRequires: %{python_module devel} +BuildRequires: %{python_module azure-nspkg >= 3.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-azure-common < 2.0.0 Requires: python-azure-common >= 1.1 -Requires: python-azure-nspkg +Requires: python-azure-nspkg >= 3.0.0 +Requires: python-msrest >= 0.5.0 +Requires: python-msrestazure < 2.0.0 Requires: python-msrestazure >= 0.4.32 Conflicts: python-azure-sdk <= 2.0.0 @@ -45,7 +47,7 @@ %description This is the Microsoft Azure Batch Client Library. -This package has been tested with Python 2.7, 3.4, 3.5 and 3.6. +This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7. %prep %setup -q -n azure-batch-%{version} @@ -57,6 +59,7 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %{python_expand # delete common files rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.* rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ ++++++ ab_drop-compatible-releases-operator.patch ++++++ --- /var/tmp/diff_new_pack.tOfiFz/_old 2019-05-14 13:30:41.583388779 +0200 +++ /var/tmp/diff_new_pack.tOfiFz/_new 2019-05-14 13:30:41.603388826 +0200 @@ -1,12 +1,12 @@ -diff -Nru azure-batch-5.0.0.orig/setup.py azure-batch-5.0.0/setup.py ---- azure-batch-5.0.0.orig/setup.py 2018-08-28 20:12:36.000000000 +0200 -+++ azure-batch-5.0.0/setup.py 2018-09-03 10:57:14.219316550 +0200 +diff -Nru azure-batch-6.0.0.orig/setup.py azure-batch-6.0.0/setup.py +--- azure-batch-6.0.0.orig/setup.py 2018-12-20 19:45:56.000000000 +0100 ++++ azure-batch-6.0.0/setup.py 2019-02-18 12:43:21.057554449 +0100 @@ -78,7 +78,7 @@ - packages=find_packages(exclude=["tests"]), install_requires=[ - 'msrestazure>=0.4.32', + 'msrest>=0.5.0', + 'msrestazure>=0.4.32,<2.0.0', - 'azure-common~=1.1', + 'azure-common>=1.1', ], - cmdclass=cmdclass - ) + extras_require={ + ":python_version<'3.0'": ['azure-nspkg'],
