Accepting request 754829 from Cloud:OpenStack:Factory
OBS-URL: https://build.opensuse.org/request/show/754829 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ncclient?expand=0&rev=10
This commit is contained in:
parent
34e1b56c3c
commit
f8a4b4ed40
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47d5af7398f16d609eebd02be2ecbd997b364032b5dc6d4927c810ea24f39080
|
||||
size 88691
|
3
ncclient-0.6.6.tar.gz
Normal file
3
ncclient-0.6.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d2392c25df3a6c41cea0c51316607b61ce2fb1d5a00d798631ce0bd63cce8649
|
||||
size 107483
|
@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 21:46:22 UTC 2019 - Martin Hauke <mardnh@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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 06:59:10 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@ -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-selectors2 >= 2.0.1
|
||||
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 @@ This package contains documentation files for %{name}.
|
||||
|
||||
%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 @@ cd docs && make %{?_smp_mflags} html && rm build/html/.buildinfo
|
||||
%python_install
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- docs/source/conf.py
|
||||
+++ docs/source/conf.py
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig']
|
||||
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.imgmath', 'sphinx.ext.ifconfig']
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
templates_path = ['_templates']
|
Loading…
x
Reference in New Issue
Block a user