Hello community, here is the log from the commit of package python-ncclient for openSUSE:Factory checked in at 2019-12-07 15:09:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old) and /work/SRC/openSUSE:Factory/.python-ncclient.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ncclient" Sat Dec 7 15:09:27 2019 rev:10 rq:754829 version:0.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes 2019-05-15 12:35:30.216352539 +0200 +++ /work/SRC/openSUSE:Factory/.python-ncclient.new.4691/python-ncclient.changes 2019-12-07 15:09:40.971844321 +0100 @@ -1,0 +2,29 @@ +Wed Dec 4 21:46:22 UTC 2019 - Martin Hauke <mar...@gmx.de> + +- Update to version 0.6.6: + * Read ssh timeout from config file if not specified in method + call + * Tox support + * Huge XML tree parser support + * Adding optional bind address to connect +- Update to version 0.6.5 + * Pin selectors2 to Python versions <= 3.4 + * Fix config examples to actually use the nc namespace + * fix: correctly set port for paramiko when using ssh_config file + * test: add test to check ProxyCommand uses correct port + * Update commits for py3 + * Enhance Alcatel-Lucent -support + * Juniper RPC: allow specifying format in CompareConfiguration + * Parsing of NETCONF 1.1 frames no longer decodes each chunk of + bytes... + * Fix filter in create_subscription + * Validate 'with-defaults' mode based on supported modes + advertised in capability URI +- Remove patch: + * sphinx-use-imgmath-extension.patch (fixed by upstream) +- Use tarball from github +- Run testsuite +- Drop not needed dependencies +- Minor fixes to make the rpm post-build-checks happy + +------------------------------------------------------------------- Old: ---- ncclient-0.6.4.tar.gz sphinx-use-imgmath-extension.patch New: ---- ncclient-0.6.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ncclient.spec ++++++ --- /var/tmp/diff_new_pack.PkCVbL/_old 2019-12-07 15:09:42.107844160 +0100 +++ /var/tmp/diff_new_pack.PkCVbL/_new 2019-12-07 15:09:42.107844160 +0100 @@ -17,17 +17,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-ncclient -Version: 0.6.4 +Version: 0.6.6 Release: 0 Summary: Python library for NETCONF clients License: Apache-2.0 Group: Development/Languages/Python Url: http://ncclient.org -Source: https://files.pythonhosted.org/packages/source/n/ncclient/ncclient-%{version}.tar.gz -Patch0: sphinx-use-imgmath-extension.patch -BuildRequires: %{python_module devel} +Source: https://github.com/ncclient/ncclient/archive/v%{version}.tar.gz#/ncclient-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -39,12 +36,13 @@ Requires: python-setuptools > 0.6 Requires: python-six BuildArch: noarch -%if %{with test} BuildRequires: %{python_module lxml >= 3.3.0} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} BuildRequires: %{python_module paramiko >= 1.15.0} -BuildRequires: %{python_module setuptools > 0.6} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module selectors2} BuildRequires: %{python_module six} -%endif %python_subpackages %description @@ -64,7 +62,9 @@ %prep %setup -q -n ncclient-%{version} -%patch0 +find examples/ -name "*.py" -exec sed -i 's|#!/usr/bin/env python$|#!/usr/bin/python|g' {} \; +# drop shebang +find ncclient/operations/third_party/ -name "*.py" -exec sed -i '/^#!\//, 1d' {} \; %build %python_build @@ -74,6 +74,9 @@ %python_install %fdupes %{buildroot} +%check +%pytest + %files %{python_files} %license LICENSE %{python_sitelib}/* ++++++ ncclient-0.6.4.tar.gz -> ncclient-0.6.6.tar.gz ++++++ ++++ 4581 lines of diff (skipped)