From 38dbb545a31c3970081bf5f52b329a7c961eae5e20148548f3a13a4541eed6dc Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 7 Sep 2016 09:47:22 +0000 Subject: [PATCH] Accepting request 424777 from Cloud:OpenStack:Factory 1 OBS-URL: https://build.opensuse.org/request/show/424777 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ncclient?expand=0&rev=5 --- ncclient-0.4.7.tar.gz | 3 --- ncclient-0.5.2.tar.gz | 3 +++ pr-109.patch | 24 ++++++------------------ python-ncclient.changes | 12 ++++++++++++ python-ncclient.spec | 7 ++++--- 5 files changed, 25 insertions(+), 24 deletions(-) delete mode 100644 ncclient-0.4.7.tar.gz create mode 100644 ncclient-0.5.2.tar.gz diff --git a/ncclient-0.4.7.tar.gz b/ncclient-0.4.7.tar.gz deleted file mode 100644 index d348cdb..0000000 --- a/ncclient-0.4.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21d7782588d3b0440ae12a985fad8d26f158bb9d8c386d7a5df043e142ab5135 -size 60224 diff --git a/ncclient-0.5.2.tar.gz b/ncclient-0.5.2.tar.gz new file mode 100644 index 0000000..db34830 --- /dev/null +++ b/ncclient-0.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b050423717e7d9751e8c8279452d5b262207a4d1ac2e89c8c6129e5cda17934d +size 61456 diff --git a/pr-109.patch b/pr-109.patch index 9219862..b9fd248 100644 --- a/pr-109.patch +++ b/pr-109.patch @@ -1,22 +1,10 @@ -From 955cb0dd3e4246575e79867236930c1348bdb5bf Mon Sep 17 00:00:00 2001 -From: Thomas Bechtold -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 @@ +diff --git a/requirements.txt b/requirements.txt +index 6c1ff6c..b833698 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1,4 +1,4 @@ setuptools>0.6 paramiko>=1.7.7.1 -lxml>=3.3.0 +lxml>=3.1 + six diff --git a/python-ncclient.changes b/python-ncclient.changes index 5df7a6f..9da12d7 100644 --- a/python-ncclient.changes +++ b/python-ncclient.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Sep 3 20:52:24 UTC 2016 - mardnh@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 + ------------------------------------------------------------------- Fri Feb 5 10:00:39 UTC 2016 - tbechtold@suse.com diff --git a/python-ncclient.spec b/python-ncclient.spec index 32a57ef..b2c3085 100644 --- a/python-ncclient.spec +++ b/python-ncclient.spec @@ -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 @@ python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} %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,-)