Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2016-02-08 09:47:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-ncclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ncclient"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2015-09-02 07:53:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-ncclient.new/python-ncclient.changes     
2016-02-08 09:47:58.000000000 +0100
@@ -1,0 +2,51 @@
+Fri Feb  5 10:00:39 UTC 2016 - tbecht...@suse.com
+
+- switch to version from pypi
+  This is the version used by OpenStack networking-cisco
+- update to 0.4.7:
+  * Add support for netconf 1.1
+  * Fix multiple RPC error handling
+  * Add support for cancel-commit and persist param
+  * Add more examples
+  * Add Huawei device support
+  * Add cli command support for hpcomware v7 devices
+  * Add H3C support, Support H3C CLI,Action,Get_bulk,Save,Rollback,etc.
+  * Add alcatel lucent support
+  * Rewrite multiple error handling
+  * Add coveralls support, with shield in README.md
+  * Set severity level to higher when multiple
+  * Simplify logging and multi-error reporting
+  * Keep stacktrace of errors
+  * Check for known hosts on hostkey_verify only
+  * Add check for device sending back null error_text
+  * Fix RPC.raise_mode
+  * Specifying hostkey_verify=False should not load_known_hosts
+  * Check the correct field on rpc-error element
+  * Nexus exec_command operation
+  * Allow specifying multiple cmd elements in Cisco Nexus
+  * Update rpc for nested rpc-errors
+  * Prevent race condition in threading
+  * Prevent hanging in session close
+  * Support for paramiko ProxyCommand via ~/.ssh/config parsing
+  * Add Juniper-specific commit operations
+  * Add Huawei devices support
+  * Tests/Travis support
+  * ioproc transport support for Juniper devices
+  * Update Cisco CSR device handler
+  * Fix issue with locked method missing device handler
+  * Fix for namespace definition with lxml
+  * Add missing SessionError exception
+  * Update docs for Nexus device handler
+  * Docstring fixes
+  * Typos
+  * Minor bugfixes
+  * Add an example for Cisco CSR1000v
+- Remove nexus-support.patch . Applied upstream.
+- Adjust Requires according to requirements.txt
+- Split documentation into extra -doc package
+- Add pr-109.patch . This lowers the lxml requirement so this
+  package works with SLE12.
+- Stop using openstack-suse-macros for now. This fixes the build
+  for openSUSE 13.2 and SLE11SP3
+
+-------------------------------------------------------------------

Old:
----
  ncclient-0.3.2.tar.gz
  nexus-support.patch

New:
----
  ncclient-0.4.7.tar.gz
  pr-109.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ncclient.spec ++++++
--- /var/tmp/diff_new_pack.BXm9Rj/_old  2016-02-08 09:47:59.000000000 +0100
+++ /var/tmp/diff_new_pack.BXm9Rj/_new  2016-02-08 09:47:59.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ncclient
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,21 +17,19 @@
 
 
 Name:           python-ncclient
-Version:        0.3.2
+Version:        0.4.7
 Release:        0
-Url:            https://github.com/CiscoSystems/ncclient
+Url:            https://github.com/ncclient/ncclient
 Summary:        Python NETCONF protocol library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Source:         ncclient-%{version}.tar.gz
-# Forward ported from https://github.com/CiscoSystems/ncclient required for the
-# quantum nexus plugin to work with nexus switches
-Patch0:         nexus-support.patch
+# PATCH-FIX-UPSTREAM pr-109.patch -- 
https://github.com/ncclient/ncclient/pull/109
+Patch0:         pr-109.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  openstack-suse-macros
 BuildRequires:  python-base
-# Documentation requirements:
-BuildRequires:  python-Sphinx
+BuildRequires:  python-setuptools
+Requires:       python-lxml >= 3.1
 Requires:       python-paramiko >= 1.7.7.1
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -43,20 +41,34 @@
 ncclient is a Python library that facilitates client-side scripting
 and application development around the NETCONF protocol.
 
+%package doc
+Summary:        Python NETCONF protocol library - Documentation
+Group:          Documentation/HTML
+BuildRequires:  python-Sphinx
+Requires:       %{name} = %{version}
+
+%description doc
+This package contains documentation files for %{name}.
+
+
 %prep
-%setup -q -n leopoul-ncclient-3304dc4
+%setup -q -n ncclient-%{version}
 %patch0 -p1
 
 %build
-%{__python2} setup.py build
+python setup.py build
 cd docs && make html && rm build/html/.buildinfo
 
 %install
-%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %files
 %defattr(-,root,root)
+%doc LICENSE
+%{python_sitelib}/*
+
+%files doc
+%defattr(-,root,root,-)
 %doc LICENSE README examples docs/build/html
-%{python2_sitelib}/*
 
 %changelog

++++++ ncclient-0.3.2.tar.gz -> ncclient-0.4.7.tar.gz ++++++
++++ 5252 lines of diff (skipped)

++++++ pr-109.patch ++++++
>From 955cb0dd3e4246575e79867236930c1348bdb5bf Mon Sep 17 00:00:00 2001
From: Thomas Bechtold <tbecht...@suse.com>
Date: Fri, 5 Feb 2016 10:32:50 +0100
Subject: [PATCH] Lower required lxml version

ncclient doesn't use any features of the newest lxml module.
So lower the requirement.
This is useful for distributions (in my case SLES) which don't
have the latest and greatest version.
---
 requirements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ncclient-0.4.7/requirements.txt
===================================================================
--- ncclient-0.4.7.orig/requirements.txt
+++ ncclient-0.4.7/requirements.txt
@@ -1,3 +1,3 @@
 setuptools>0.6
 paramiko>=1.7.7.1
-lxml>=3.3.0
+lxml>=3.1

Reply via email to