commit python-ncclient for openSUSE:Factory

2020-08-10 Thread root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2020-08-10 15:05:21

Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and  /work/SRC/openSUSE:Factory/.python-ncclient.new.3399 (New)


Package is "python-ncclient"

Mon Aug 10 15:05:21 2020 rev:12 rq:825318 version:0.6.9

Changes:

--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2020-02-19 12:41:31.311737996 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ncclient.new.3399/python-ncclient.changes
2020-08-10 15:06:00.600254285 +0200
@@ -1,0 +2,12 @@
+Sun Aug  9 14:03:46 UTC 2020 - Martin Hauke 
+
+- Update to version 0.6.9
+  * Fix for breaking API change
+- Update to version 0.6.8
+  * Support for namespace prefixes for XPath queries
+  * edit-config parameter validation
+  * Support for multiple RPC errors
+  * API to get supported device types
+  * Support for subtree filters with multiple top-level tags
+
+---

Old:

  ncclient-0.6.7.tar.gz

New:

  ncclient-0.6.9.tar.gz



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.Z0w8Bd/_old  2020-08-10 15:06:01.608254818 +0200
+++ /var/tmp/diff_new_pack.Z0w8Bd/_new  2020-08-10 15:06:01.608254818 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ncclient
-Version:0.6.7
+Version:0.6.9
 Release:0
 Summary:Python library for NETCONF clients
 License:Apache-2.0
@@ -83,6 +83,6 @@
 %{python_sitelib}/*
 
 %files -n python-ncclient-doc
-%doc README README.rst examples docs/build/html
+%doc README.md README.rst examples docs/build/html
 
 %changelog

++ ncclient-0.6.7.tar.gz -> ncclient-0.6.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ncclient-0.6.7/Changelog new/ncclient-0.6.9/Changelog
--- old/ncclient-0.6.7/Changelog2019-12-21 20:16:07.0 +0100
+++ new/ncclient-0.6.9/Changelog2020-08-09 00:09:16.0 +0200
@@ -1,3 +1,74 @@
+version 0.6.9
+-
+
+* Resiolved breaking API change
+
+version 0.6.8
+-
+
+* Variety of small updates and bugfixes, but of note:
+  - Support for namespace prefixes for XPath queries
+  - `edit-config` parameter validation
+  - Support for multiple RPC errors
+  - API to get supported device types
+  - Support for subtree filters with multiple top-level tags
+* Thanks to all contributors!
+* Pulled due to avccidental breaking API change
+
+version 0.6.7
+-
+
+* Variety of bugfixes from a variety of contributors since 0.6.6 (see commit 
history)
+
+
+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
+
+
+version 0.6.5
+-
+
+* Updated README for 0.6.5 release
+
+
+version 0.6.4
+-
+
+* 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
+
+
+version 0.6.3
+-
+
+* Fix homepage link registered with PyPi
+* SSH Host Key checking
+* Updated junos.py to resolve RestrictedUser error
+* Close the channel when closing SSH session
+* Invoke self.parse() to ensure errors, if any, have been detected before 
check in ok()
+
+
+version 0.6.2
+-
+
+* Migration to user selectors instead of select, allowing higher scale 
operations
+* Improved netconf:base:1.1 parsing
+* Graceful exit on session close
+
+
 version 0.6.0
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ncclient-0.6.7/README new/ncclient-0.6.9/README
--- old/ncclient-0.6.7/README   2019-12-21 20:16:07.0 +0100
+++ new/ncclient-0.6.9/README   1970-01-01 01:00:00.0 +0100
@@ -1,90 +0,0 @@
-[![Build 
Status](https://travis-ci.org/einarnn/ncclient.svg?branch=master)](https://travis-ci.org/einarnn/ncclient)
-
-ncclient: Python library for NETCONF clients
-
-
-ncclient is a Python library that facilitates client-side scripting
-and application development around the NETCONF protocol. 

commit python-ncclient for openSUSE:Factory

2020-02-19 Thread root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2020-02-19 12:41:29

Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and  /work/SRC/openSUSE:Factory/.python-ncclient.new.26092 (New)


Package is "python-ncclient"

Wed Feb 19 12:41:29 2020 rev:11 rq:776246 version:0.6.7

Changes:

--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2019-12-07 15:09:40.971844321 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ncclient.new.26092/python-ncclient.changes   
2020-02-19 12:41:31.311737996 +0100
@@ -1,0 +2,6 @@
+Sat Dec 21 20:09:12 UTC 2019 - Martin Hauke 
+
+- Update to version 0.6.7
+  * Bugfix release
+
+---

Old:

  ncclient-0.6.6.tar.gz

New:

  ncclient-0.6.7.tar.gz



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.PfXagO/_old  2020-02-19 12:41:34.619744365 +0100
+++ /var/tmp/diff_new_pack.PfXagO/_new  2020-02-19 12:41:34.619744365 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ncclient
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ncclient
-Version:0.6.6
+Version:0.6.7
 Release:0
 Summary:Python library for NETCONF clients
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:http://ncclient.org
+URL:http://ncclient.org
 Source: 
https://github.com/ncclient/ncclient/archive/v%{version}.tar.gz#/ncclient-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -72,6 +72,7 @@
 
 %install
 %python_install
+%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
 %fdupes %{buildroot}
 
 %check

++ ncclient-0.6.6.tar.gz -> ncclient-0.6.7.tar.gz ++
 2195 lines of diff (skipped)




commit python-ncclient for openSUSE:Factory

2019-12-07 Thread root
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 
+
+- 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)




commit python-ncclient for openSUSE:Factory

2019-05-15 Thread root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2019-05-15 12:35:29

Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and  /work/SRC/openSUSE:Factory/.python-ncclient.new.5148 (New)


Package is "python-ncclient"

Wed May 15 12:35:29 2019 rev:9 rq:703087 version:0.6.4

Changes:

--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2019-03-20 13:22:50.361291737 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ncclient.new.5148/python-ncclient.changes
2019-05-15 12:35:30.216352539 +0200
@@ -1,0 +2,9 @@
+Wed Apr 10 06:59:10 UTC 2019 - Dirk Mueller 
+
+- update to v0.6.4:
+  * Use os.path.expanduser() on paths read from ssh_config.
+  * Proxycommand can be a list. Identityfile already performs ~ expansion in
+  * Enhance Alcatel-Lucent -support
+- add sphinx-use-imgmath-extension.patch
+
+---

Old:

  ncclient-0.6.3.tar.gz

New:

  ncclient-0.6.4.tar.gz
  sphinx-use-imgmath-extension.patch



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.SXCBYe/_old  2019-05-15 12:35:31.104350185 +0200
+++ /var/tmp/diff_new_pack.SXCBYe/_new  2019-05-15 12:35:31.108350175 +0200
@@ -19,20 +19,23 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:   python-ncclient
-Version:0.6.3
+Version:0.6.4
 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}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-lxml >= 3.3.0
 Requires:   python-paramiko >= 1.15.0
+%ifpython2
 Requires:   python-selectors2 >= 2.0.1
+%endif
 Requires:   python-setuptools > 0.6
 Requires:   python-six
 BuildArch:  noarch
@@ -51,7 +54,9 @@
 %package -n python-ncclient-doc
 Summary:Python NETCONF protocol library - Documentation
 Group:  Documentation/HTML
+BuildRequires:  %{python_module Sphinx-latex}
 BuildRequires:  %{python_module Sphinx}
+BuildRequires:  texlive-dvipng
 Provides:   %{python_module python-ncclient-doc = %{version}}
 
 %description -n python-ncclient-doc
@@ -59,6 +64,7 @@
 
 %prep
 %setup -q -n ncclient-%{version}
+%patch0
 
 %build
 %python_build

++ ncclient-0.6.3.tar.gz -> ncclient-0.6.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ncclient-0.6.3/PKG-INFO new/ncclient-0.6.4/PKG-INFO
--- old/ncclient-0.6.3/PKG-INFO 2018-09-26 20:17:34.0 +0200
+++ new/ncclient-0.6.4/PKG-INFO 2019-04-07 19:45:30.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: ncclient
-Version: 0.6.3
+Version: 0.6.4
 Summary: Python library for NETCONF clients
 Home-page: https://github.com/ncclient/ncclient
 Author: Shikhar Bhushan, Leonidas Poulopoulos, Ebben Aries, Einar 
Nilsen-Nygaard
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ncclient-0.6.3/examples/alu/edit_config.py 
new/ncclient-0.6.4/examples/alu/edit_config.py
--- old/ncclient-0.6.3/examples/alu/edit_config.py  1970-01-01 
01:00:00.0 +0100
+++ new/ncclient-0.6.4/examples/alu/edit_config.py  2019-04-07 
15:39:58.0 +0200
@@ -0,0 +1,39 @@
+#!/usr/bin/env python
+import logging
+
+from ncclient import manager
+from ncclient.xml_ import *
+
+
+def connect(host, port, user, password):
+conn = manager.connect(host=host,
+   port=port,
+   username=user,
+   password=password,
+   timeout=10,
+   device_params={'name': 'alu'},
+   hostkey_verify=False)
+
+print('Set CLI -config -block')
+
+config = """
+configure port 1/1/1
+description \"Loaded as CLI -block\"
+exit"""
+
+conn.load_configuration(format='cli', config=config)
+
+
+print('Load XML -config')
+config = new_ele('configure', attrs={'xmlns': ALU_CONFIG})
+port = sub_ele(config, 'port')
+sub_ele(port, 'port-id').text = '1/1/1'
+desc = sub_ele(port, 'description')
+sub_ele(desc, 'long-description-string').text = "Loaded using XML"
+
+conn.load_configuration(config=config, format='xml')
+
+conn.close_session()
+
+if __name__ == '__main__':
+

commit python-ncclient for openSUSE:Factory

2019-03-20 Thread root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2019-03-20 13:22:21

Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and  /work/SRC/openSUSE:Factory/.python-ncclient.new.28833 (New)


Package is "python-ncclient"

Wed Mar 20 13:22:21 2019 rev:8 rq:686886 version:0.6.3

Changes:

--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2018-09-26 14:23:02.925957418 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ncclient.new.28833/python-ncclient.changes   
2019-03-20 13:22:50.361291737 +0100
@@ -1,0 +2,48 @@
+Wed Mar 20 09:16:40 UTC 2019 - Thomas Bechtold 
+
+- update to version v0.6.3
+  * Housekeeping & Cleaning
+  * Log sent and received messages at level INFO. Fixes #167
+  * - move known_hosts_lookup (the host entry in known_hosts, with optional 
port number appended)
+  * First draft of versioning with versioneer (#269)
+  * revert to raising SSHError
+  * fix: add missing placeholder in exception string
+  * Updates to re-enable Python 3.7 (#249)
+  * Updates for 0.5.4 and 0.6.0
+  * SSH Host key checking (#280)
+  * check for transform_reply type (#270)
+  * Change superclass call style to keep tests happy
+  * SSH Host key checking
+  * Fix homepage link registered with PyPi (#274)
+  * more tests
+  * invoke self.parse() to ensure errors, if any, have been detetcted before 
check in ok() (#286)
+  * Avoid spurious SessionCloseError when intentionally closing session. (#268)
+  * Minor edits
+  * Revert "Fixes to unit tests to account for use of selectors"
+  * Close the channel when closing SSH session
+  * Revert "fixes to tests for python2.7"
+  * add Huawei device support through YANG (#1) (#242)
+  * Revert "use selectors instead of select; improve performance of base 1.0 
or 1.1 selection"
+  * instructions for running unit tests locally
+  * updated README.md in preparation for 0.6.1 release
+  * netconf:base:1.1 parsing improvements (#267)
+  * Add session as extra context to session-related logs
+  * Include host in log message as well, as session-id is not globally unique
+  * fix: comments & whitespace tidy
+  * removed Manager class metaclass and modified operation lookup to 
__getattr__ (#200)
+  * Add support for loading host-specific known_hosts files via 
UserKnownHostsFile. (#255)
+  * Typo in log message
+  * selector changes (#260)
+  * use selectors instead of select; improve performance of base 1.0 or 1.1 
selection
+  * Updated junos.py to resolve RestrictedUser error: (#283)
+  * change hostkey var name to be explicit on type hostkey_b64
+  * Fixes to unit tests to account for use of selectors
+  * fixes to tests for python2.7
+  * remove breaking test for incorrect host key padding
+  * check known_hosts only if hostkey_b64 not specified
+  * include selectors2 in requirements
+  * remove unused import
+  * Revert "include selectors2 in requirements"
+- Drop pr-109.patch
+
+---

Old:

  ncclient-0.5.4.tar.gz
  pr-109.patch

New:

  ncclient-0.6.3.tar.gz



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.X9ZKTp/_old  2019-03-20 13:22:50.985291582 +0100
+++ /var/tmp/diff_new_pack.X9ZKTp/_new  2019-03-20 13:22:50.989291582 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ncclient
 #
-# 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,27 +12,27 @@
 # 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-%{**}}
 %bcond_without test
 Name:   python-ncclient
-Version:0.5.4
+Version:0.6.3
 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: pr-109.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-lxml >= 3.3.0
 Requires:   python-paramiko >= 1.15.0
+Requires:   python-selectors2 >= 2.0.1
 Requires:   python-setuptools > 0.6
 Requires:   python-six

commit python-ncclient for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2018-09-26 14:22:59

Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and  /work/SRC/openSUSE:Factory/.python-ncclient.new (New)


Package is "python-ncclient"

Wed Sep 26 14:22:59 2018 rev:7 rq:634905 version:0.5.4

Changes:

--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2017-08-28 15:31:16.385753187 +0200
+++ /work/SRC/openSUSE:Factory/.python-ncclient.new/python-ncclient.changes 
2018-09-26 14:23:02.925957418 +0200
@@ -0,0 +1,5 @@
+---
+Sat Sep  8 11:21:16 UTC 2018 - dmuel...@suse.com
+
+- Update to 0.5.4
+  * Python 3.6 support

Old:

  ncclient-0.5.3.tar.gz

New:

  ncclient-0.5.4.tar.gz



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.NqRB1B/_old  2018-09-26 14:23:03.309956807 +0200
+++ /var/tmp/diff_new_pack.NqRB1B/_new  2018-09-26 14:23:03.309956807 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ncclient
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:   python-ncclient
-Version:0.5.3
+Version:0.5.4
 Release:0
 Summary:Python library for NETCONF clients
 License:Apache-2.0
@@ -31,10 +31,10 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   %{python_module lxml >= 3.3.0}
-Requires:   %{python_module paramiko >= 1.15.0}
-Requires:   %{python_module setuptools > 0.6}
-Requires:   %{python_module six}
+Requires:   python-lxml >= 3.3.0
+Requires:   python-paramiko >= 1.15.0
+Requires:   python-setuptools > 0.6
+Requires:   python-six
 BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module lxml >= 3.3.0}
@@ -70,10 +70,10 @@
 %fdupes %{buildroot}
 
 %files %{python_files}
-%doc LICENSE
+%license LICENSE
 %{python_sitelib}/*
 
 %files -n python-ncclient-doc
-%doc LICENSE README README.rst examples docs/build/html
+%doc README README.rst examples docs/build/html
 
 %changelog

++ ncclient-0.5.3.tar.gz -> ncclient-0.5.4.tar.gz ++
 2462 lines of diff (skipped)




commit python-ncclient for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2017-08-28 15:31:14

Comparing /work/SRC/openSUSE:Factory/python-ncclient (Old)
 and  /work/SRC/openSUSE:Factory/.python-ncclient.new (New)


Package is "python-ncclient"

Mon Aug 28 15:31:14 2017 rev:6 rq:514958 version:0.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-ncclient/python-ncclient.changes  
2016-09-07 11:47:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-ncclient.new/python-ncclient.changes 
2017-08-28 15:31:16.385753187 +0200
@@ -0,0 +1,11 @@
+
+---
+Mon Aug  7 08:36:21 UTC 2017 - mar...@gmx.de
+
+- Update to 0.5.3
+  * Add notifications support
+  * Add support for ecdsa keys
+  * Various bug fixes
+- Convert to singlespec  
+- Rebase patch: pr-109.patch
+

Old:

  ncclient-0.5.2.tar.gz

New:

  ncclient-0.5.3.tar.gz



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.YoKvGg/_old  2017-08-28 15:31:17.401610373 +0200
+++ /var/tmp/diff_new_pack.YoKvGg/_new  2017-08-28 15:31:17.405609811 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ncclient
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,60 +16,64 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
 Name:   python-ncclient
-Version:0.5.2
+Version:0.5.3
 Release:0
-Url:https://github.com/ncclient/ncclient
-Summary:Python NETCONF protocol library
+Summary:Python library for NETCONF clients
 License:Apache-2.0
 Group:  Development/Languages/Python
-Source: 
https://pypi.io/packages/source/n/ncclient/ncclient-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM pr-109.patch -- 
https://github.com/ncclient/ncclient/pull/109
+Url:http://ncclient.org
+Source: 
https://files.pythonhosted.org/packages/source/n/ncclient/ncclient-%{version}.tar.gz
 Patch0: pr-109.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-base
-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()")}
-%else
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   %{python_module lxml >= 3.3.0}
+Requires:   %{python_module paramiko >= 1.15.0}
+Requires:   %{python_module setuptools > 0.6}
+Requires:   %{python_module six}
 BuildArch:  noarch
+%if %{with test}
+BuildRequires:  %{python_module lxml >= 3.3.0}
+BuildRequires:  %{python_module paramiko >= 1.15.0}
+BuildRequires:  %{python_module setuptools > 0.6}
+BuildRequires:  %{python_module six}
 %endif
+%python_subpackages
 
 %description
 ncclient is a Python library that facilitates client-side scripting
 and application development around the NETCONF protocol.
 
-%package doc
+%package -n python-ncclient-doc
 Summary:Python NETCONF protocol library - Documentation
 Group:  Documentation/HTML
-BuildRequires:  python-Sphinx
-Requires:   %{name} = %{version}
+BuildRequires:  %{python_module Sphinx}
+Provides:   %{python_module python-ncclient-doc = %{version}}
 
-%description doc
+%description -n python-ncclient-doc
 This package contains documentation files for %{name}.
 
-
 %prep
 %setup -q -n ncclient-%{version}
 %patch0 -p1
 
 %build
-python setup.py build
-cd docs && make html && rm build/html/.buildinfo
+%python_build
+cd docs && make %{?_smp_mflags} html && rm build/html/.buildinfo
 
 %install
-python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%fdupes %{buildroot}
 
-%files
-%defattr(-,root,root)
+%files %{python_files}
 %doc LICENSE
-%{python_sitelib}/ncclient
-%{python_sitelib}/ncclient-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/*
 
-%files doc
-%defattr(-,root,root,-)
-%doc LICENSE README examples docs/build/html
+%files -n python-ncclient-doc
+%doc LICENSE README README.rst examples docs/build/html
 
 %changelog

++ ncclient-0.5.2.tar.gz -> ncclient-0.5.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ncclient-0.5.2/PKG-INFO 

commit python-ncclient for openSUSE:Factory

2016-09-07 Thread h_root
Hello community,

here is the log from the commit of package python-ncclient for openSUSE:Factory 
checked in at 2016-09-07 11:47:22

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  
2016-02-08 09:47:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-ncclient.new/python-ncclient.changes 
2016-09-07 11:47:32.0 +0200
@@ -1,0 +2,12 @@
+Sat Sep  3 20:52:24 UTC 2016 - mar...@gmx.de
+
+- update to 0.5.2:
+  * Add support for Python 3
+  * Improve Junos ioproc performance
+  * Performance improvements
+  * Updated test cases
+  * Many bug and performance fixes
+- fix source-url
+- rebase patch: pr-109.patch
+
+---

Old:

  ncclient-0.4.7.tar.gz

New:

  ncclient-0.5.2.tar.gz



Other differences:
--
++ python-ncclient.spec ++
--- /var/tmp/diff_new_pack.HEhhtT/_old  2016-09-07 11:47:34.0 +0200
+++ /var/tmp/diff_new_pack.HEhhtT/_new  2016-09-07 11:47:34.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   python-ncclient
-Version:0.4.7
+Version:0.5.2
 Release:0
 Url:https://github.com/ncclient/ncclient
 Summary:Python NETCONF protocol library
 License:Apache-2.0
 Group:  Development/Languages/Python
-Source: ncclient-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/n/ncclient/ncclient-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM pr-109.patch -- 
https://github.com/ncclient/ncclient/pull/109
 Patch0: pr-109.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -65,7 +65,8 @@
 %files
 %defattr(-,root,root)
 %doc LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/ncclient
+%{python_sitelib}/ncclient-%{version}-py%{py_ver}.egg-info
 
 %files doc
 %defattr(-,root,root,-)

++ ncclient-0.4.7.tar.gz -> ncclient-0.5.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ncclient-0.4.7/PKG-INFO new/ncclient-0.5.2/PKG-INFO
--- old/ncclient-0.4.7/PKG-INFO 2016-01-30 08:08:06.0 +0100
+++ new/ncclient-0.5.2/PKG-INFO 2016-07-05 14:26:59.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ncclient
-Version: 0.4.7
+Version: 0.5.2
 Summary: Python library for NETCONF clients
 Home-page: http://ncclient.org
 Author: Shikhar Bhushan, Leonidas Poulopoulos, Ebben Aries
@@ -12,15 +12,18 @@
 ncclient is a Python library that facilitates client-side scripting and
 application development around the NETCONF protocol. ``ncclient`` was
 developed by `Shikar Bhushan `_. It is now
-maintained by `Leonidas Poulopoulos (@leopoul) 
`_
+maintained by `Leonidas Poulopoulos (@leopoul) `_
 
 Docs:
 `http://ncclient.readthedocs.org `_
 
+Github:
+`https://github.com/ncclient/ncclient 
`_
+
 Requirements:
 ^
 
--  Python 2.6 <= version < 3.0
+-  Python >= 2.6 or Python 3
 -  setuptools 0.6+
 -  Paramiko 1.7+
 -  lxml 3.3.0+
@@ -102,6 +105,15 @@
 Changes \| brief
 
 
+**v0.5.2**
+
+- Add support for Python 3
+- Improve Junos ioproc performance
+- Performance improvements
+- Updated test cases
+- Many bug and performance fixes
+
+
 **v0.4.7**
 
 - Add support for netconf 1.1
@@ -161,19 +173,55 @@
 Acknowledgements
 
 
-- v0.4.7: Thanks to all contribs and bug hunters; `Einar 
Nilsen-Nygaard `_, `Vaibhav Bajpai 
`_, Norio Nakamoto .
-- v0.4.6: Thanks to all contribs and bug hunters; `Nitin Kumar 
`_, `Carl Moberg `_, 
`Stavros Kroustouris `_ .
-- v0.4.5: Thanks to all contribs and bug hunters; `Sebastian Wiesinger 
`_, `Vincent Bernat 
`_, `Matthew Stone 
`_, `Nitin Kumar `_.
-- v0.4.3: Thanks to all contributors and bug hunters; `Jeremy Schulman 
`_, `Ray Solomon 
`_, `Rick Sherman `_, 

commit python-ncclient for openSUSE:Factory

2016-02-08 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-ncclient.new/python-ncclient.changes 
2016-02-08 09:47:58.0 +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.0 +0100
+++ /var/tmp/diff_new_pack.BXm9Rj/_new  2016-02-08 09:47:59.0 +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: