Hello community,
here is the log from the commit of package
python-azure-cognitiveservices-vision-computervision for openSUSE:Factory
checked in at 2018-09-26 16:13:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing
/work/SRC/openSUSE:Factory/python-azure-cognitiveservices-vision-computervision
(Old)
and
/work/SRC/openSUSE:Factory/.python-azure-cognitiveservices-vision-computervision.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-cognitiveservices-vision-computervision"
Wed Sep 26 16:13:06 2018 rev:2 rq:637934 version:0.2.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-azure-cognitiveservices-vision-computervision/python-azure-cognitiveservices-vision-computervision.changes
2018-02-14 10:49:31.894197594 +0100
+++
/work/SRC/openSUSE:Factory/.python-azure-cognitiveservices-vision-computervision.new/python-azure-cognitiveservices-vision-computervision.changes
2018-09-26 16:13:07.719316192 +0200
@@ -1,0 +2,13 @@
+Mon Sep 3 11:42:16 UTC 2018 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 0.2.0
+ + For detailed information about changes see the
+ HISTORY.txt file provided with this package
+- Move LICENSE.txt from %doc to %license section
+- Refresh patches for new version
+ + acvc_drop-compatible-releases-operator.patch
+- Update Requires from setup.py
+- Update %description from setup.py
+
+-------------------------------------------------------------------
Old:
----
azure-cognitiveservices-vision-computervision-0.1.0.zip
New:
----
azure-cognitiveservices-vision-computervision-0.2.0.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-cognitiveservices-vision-computervision.spec ++++++
--- /var/tmp/diff_new_pack.n4pybG/_old 2018-09-26 16:13:08.179315429 +0200
+++ /var/tmp/diff_new_pack.n4pybG/_new 2018-09-26 16:13:08.179315429 +0200
@@ -15,9 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-azure-cognitiveservices-vision-computervision
-Version: 0.1.0
+Version: 0.2.0
Release: 0
Summary: Microsoft Azure Cognitive Services Computer Vision Client
Library
License: MIT
@@ -26,20 +27,20 @@
Source:
https://files.pythonhosted.org/packages/source/a/azure-cognitiveservices-vision-computervision/azure-cognitiveservices-vision-computervision-%{version}.zip
Source1: LICENSE.txt
Patch1: acvc_drop-compatible-releases-operator.patch
+BuildRequires: %{python_module azure-cognitiveservices-nspkg}
+BuildRequires: %{python_module azure-cognitiveservices-vision-nspkg}
+BuildRequires: %{python_module azure-nspkg}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: unzip
-BuildRequires: %{python_module azure-cognitiveservices-vision-nspkg}
-BuildRequires: %{python_module azure-cognitiveservices-nspkg}
-BuildRequires: %{python_module azure-nspkg}
-Requires: python-azure-cognitiveservices-vision-nspkg
Requires: python-azure-cognitiveservices-nspkg
-Requires: python-azure-nspkg
-Requires: python-azure-common >= 1.1
+Requires: python-azure-cognitiveservices-vision-nspkg
Requires: python-azure-common < 2.0.0
-Requires: python-msrest >= 0.4.24
+Requires: python-azure-common >= 1.1
+Requires: python-azure-nspkg
Requires: python-msrest < 2.0.0
+Requires: python-msrest >= 0.4.29
Conflicts: python-azure-sdk <= 2.0.0
BuildArch: noarch
@@ -49,10 +50,7 @@
%description
This is the Microsoft Azure Cognitive Services Computer Vision 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.3, 3.4, 3.5 and 3.6.
+This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
%prep
%setup -q -n azure-cognitiveservices-vision-computervision-%{version}
@@ -75,7 +73,9 @@
%files %{python_files}
%defattr(-,root,root,-)
-%doc HISTORY.rst LICENSE.txt README.rst
+%doc HISTORY.rst README.rst
+%license LICENSE.txt
%{python_sitelib}/azure/cognitiveservices/vision/computervision
%{python_sitelib}/azure_cognitiveservices_vision_computervision-*.egg-info
+
%changelog
++++++ acvc_drop-compatible-releases-operator.patch ++++++
--- /var/tmp/diff_new_pack.n4pybG/_old 2018-09-26 16:13:08.215315369 +0200
+++ /var/tmp/diff_new_pack.n4pybG/_new 2018-09-26 16:13:08.215315369 +0200
@@ -1,101 +1,12 @@
-diff -Nru azure-cognitiveservices-vision-computervision-0.1.0.orig/setup.py
azure-cognitiveservices-vision-computervision-0.1.0/setup.py
---- azure-cognitiveservices-vision-computervision-0.1.0.orig/setup.py
2018-01-23 19:39:56.000000000 +0100
-+++ azure-cognitiveservices-vision-computervision-0.1.0/setup.py
2018-01-25 11:37:00.969207297 +0100
-@@ -79,7 +79,7 @@
+diff -Nru azure-cognitiveservices-vision-computervision-0.2.0.orig/setup.py
azure-cognitiveservices-vision-computervision-0.2.0/setup.py
+--- azure-cognitiveservices-vision-computervision-0.2.0.orig/setup.py
2018-06-22 19:37:04.000000000 +0200
++++ azure-cognitiveservices-vision-computervision-0.2.0/setup.py
2018-09-03 13:40:09.994200468 +0200
+@@ -78,7 +78,7 @@
packages=find_packages(exclude=["tests"]),
install_requires=[
- 'msrest>=0.4.24,<2.0.0',
+ 'msrest>=0.4.29,<2.0.0',
- 'azure-common~=1.1',
+ 'azure-common>=1.1',
],
cmdclass=cmdclass
)
-diff -Nru azure-cognitiveservices-vision-computervision-0.1.0.orig/setup.py~
azure-cognitiveservices-vision-computervision-0.1.0/setup.py~
---- azure-cognitiveservices-vision-computervision-0.1.0.orig/setup.py~
1970-01-01 01:00:00.000000000 +0100
-+++ azure-cognitiveservices-vision-computervision-0.1.0/setup.py~
2018-01-23 19:39:56.000000000 +0100
-@@ -0,0 +1,85 @@
-+#!/usr/bin/env python
-+
-+#-------------------------------------------------------------------------
-+# Copyright (c) Microsoft Corporation. All rights reserved.
-+# Licensed under the MIT License. See License.txt in the project root for
-+# license information.
-+#--------------------------------------------------------------------------
-+
-+import re
-+import os.path
-+from io import open
-+from setuptools import find_packages, setup
-+try:
-+ from azure_bdist_wheel import cmdclass
-+except ImportError:
-+ from distutils import log as logger
-+ logger.warn("Wheel is not available, disabling bdist_wheel hook")
-+ cmdclass = {}
-+
-+# Change the PACKAGE_NAME only to change folder and different name
-+PACKAGE_NAME = "azure-cognitiveservices-vision-computervision"
-+PACKAGE_PPRINT_NAME = "Cognitive Services Computer Vision"
-+
-+# a-b-c => a/b/c
-+package_folder_path = PACKAGE_NAME.replace('-', '/')
-+# a-b-c => a.b.c
-+namespace_name = PACKAGE_NAME.replace('-', '.')
-+
-+# azure v0.x is not compatible with this package
-+# azure v0.x used to have a __version__ attribute (newer versions don't)
-+try:
-+ import azure
-+ try:
-+ ver = azure.__version__
-+ raise Exception(
-+ 'This package is incompatible with azure=={}. '.format(ver) +
-+ 'Uninstall it with "pip uninstall azure".'
-+ )
-+ except AttributeError:
-+ pass
-+except ImportError:
-+ pass
-+
-+# Version extraction inspired from 'requests'
-+with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd:
-+ version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
-+ fd.read(), re.MULTILINE).group(1)
-+
-+if not version:
-+ raise RuntimeError('Cannot find version information')
-+
-+with open('README.rst', encoding='utf-8') as f:
-+ readme = f.read()
-+with open('HISTORY.rst', encoding='utf-8') as f:
-+ history = f.read()
-+
-+setup(
-+ name=PACKAGE_NAME,
-+ version=version,
-+ description='Microsoft Azure {} Client Library for
Python'.format(PACKAGE_PPRINT_NAME),
-+ long_description=readme + '\n\n' + history,
-+ license='MIT License',
-+ author='Microsoft Corporation',
-+ author_email='[email protected]',
-+ url='https://github.com/Azure/azure-sdk-for-python',
-+ classifiers=[
-+ 'Development Status :: 4 - Beta',
-+ 'Programming Language :: Python',
-+ 'Programming Language :: Python :: 2',
-+ 'Programming Language :: Python :: 2.7',
-+ 'Programming Language :: Python :: 3',
-+ 'Programming Language :: Python :: 3.3',
-+ 'Programming Language :: Python :: 3.4',
-+ 'Programming Language :: Python :: 3.5',
-+ 'Programming Language :: Python :: 3.6',
-+ 'License :: OSI Approved :: MIT License',
-+ ],
-+ zip_safe=False,
-+ packages=find_packages(exclude=["tests"]),
-+ install_requires=[
-+ 'msrest>=0.4.24,<2.0.0',
-+ 'azure-common~=1.1',
-+ ],
-+ cmdclass=cmdclass
-+)