forked from pool/python-ncclient
Compare commits
12 Commits
Author | SHA256 | Date | |
---|---|---|---|
4a074e60f0 | |||
286290c47e | |||
87ed085c13 | |||
e9e280b553 | |||
a53addc084 | |||
a3cd5cf26a | |||
d8f8166b45 | |||
8cbf2dd47a | |||
e500686921 | |||
c21b42f528 | |||
fb8d5c7a87 | |||
76dac892ab |
25
intersphinx-mapping.patch
Normal file
25
intersphinx-mapping.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
docs/source/conf.py | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/docs/source/conf.py
|
||||
+++ b/docs/source/conf.py
|
||||
@@ -12,6 +12,7 @@
|
||||
# serve to show the default.
|
||||
|
||||
import sys, os
|
||||
+import sphinx
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
@@ -196,6 +197,9 @@ latex_logo = "_static/logo.png"
|
||||
|
||||
|
||||
# Example configuration for intersphinx: refer to the Python standard library.
|
||||
-intersphinx_mapping = {'http://docs.python.org/': None}
|
||||
+if sphinx.version_info[0] < 8:
|
||||
+ intersphinx_mapping = {"http://docs.python.org/": None}
|
||||
+else:
|
||||
+ intersphinx_mapping = {'python': ('https://docs.python.org/', None)}
|
||||
|
||||
autoclass_content = 'both'
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7bdf1c995426d7727a9224c3706ce5fe43ab77c20aaaccfca40427abdadcbfdc
|
||||
size 140680
|
3
ncclient-0.6.19.tar.gz
Normal file
3
ncclient-0.6.19.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c016d3e9d213cd02451e4b81f3dd5b318e19088f842d2605d1cb13e0d3b8320
|
||||
size 142506
|
@@ -1,3 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 05:43:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 14:09:27 UTC 2025 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||
|
||||
- Enable sle15allpythons to also build for Python 3.11 on Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 2 22:26:20 UTC 2025 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.6.19
|
||||
* fixed broken manifest.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 1 16:26:35 UTC 2025 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.6.18
|
||||
* Fix connect using ssh using keyfile without password.
|
||||
- Update to version 0.6.17
|
||||
* Remove hardcoded values in example.
|
||||
* Use Paramiko's PKey class for loading public keys instead of
|
||||
instantiating key subclasses directly.
|
||||
* Remove Python2 support.
|
||||
* Only import UnixSocketSession if the platform is not Windows.
|
||||
* Remove setuptools from runtime requirements; list in build
|
||||
requirements.
|
||||
* Adding error handling parameters for RPC replies.
|
||||
* Drop the pytest-runner dependency.
|
||||
* Fix for broken iterator.
|
||||
- Drop patch
|
||||
* python-ncclient-no-python2.patch (included upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 14:54:22 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- do not require six for build
|
||||
- added patches
|
||||
fix https://github.com/ncclient/ncclient/commit/59ccaac8e01e63f776fb4bf3b68a02e33d24bb20
|
||||
+ python-ncclient-no-python2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 10 19:50:09 UTC 2024 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.6.16
|
||||
* Add Ciena driver.
|
||||
* Update session.py.
|
||||
* call_home: timeout as argument.
|
||||
* Introduce Unix Socket Transport.
|
||||
* feat: Add support for Nokia SR OS private candidate mode.
|
||||
* Fix support of .ssh/id_ed25519 keys.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 22:17:02 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Add intersphinx-mapping.patch to allow working with Sphinx >=
|
||||
8.* (gh#ncclient/ncclient#604).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 28 04:55:02 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ncclient
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,8 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15allpythons}
|
||||
Name: python-ncclient
|
||||
Version: 0.6.15
|
||||
Version: 0.6.19
|
||||
Release: 0
|
||||
Summary: Python library for NETCONF clients
|
||||
License: Apache-2.0
|
||||
@@ -26,18 +27,20 @@ Source: https://github.com/ncclient/ncclient/archive/v%{version}.tar.gz#
|
||||
# PATCH-FIX-OPENSUSE allow_old_sphinx.patch mcepl@suse.com
|
||||
# Allow build with old Sphinx (< 2.0) on Leap
|
||||
Patch0: allow_old_sphinx.patch
|
||||
# PATCH-FIX-UPSTREAM intersphinx-mapping.patch gh#ncclient/ncclient#604 mcepl@suse.com
|
||||
# use conditionally new form of intersphinx_mapping
|
||||
Patch1: intersphinx-mapping.patch
|
||||
BuildRequires: %{python_module lxml >= 3.3.0}
|
||||
BuildRequires: %{python_module paramiko >= 1.15.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-lxml >= 3.3.0
|
||||
Requires: python-paramiko >= 1.15.0
|
||||
Requires: python-setuptools > 0.6
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module lxml >= 3.3.0}
|
||||
BuildRequires: %{python_module paramiko >= 1.15.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -58,20 +61,20 @@ This package contains documentation files for %{name}.
|
||||
%prep
|
||||
%setup -q -n ncclient-%{version}
|
||||
%if 0%{?suse_version} < 1550
|
||||
%patch -P 0 -p 1
|
||||
%patch -p 1 -P 0
|
||||
%endif
|
||||
%patch -p 1 -P 1
|
||||
|
||||
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
|
||||
%pyproject_wheel
|
||||
cd docs && make %{?_smp_mflags} html && rm build/html/.buildinfo
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
|
||||
%pyproject_install
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
@@ -80,7 +83,7 @@ cd docs && make %{?_smp_mflags} html && rm build/html/.buildinfo
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/ncclient
|
||||
%{python_sitelib}/ncclient-%{version}*-info
|
||||
%{python_sitelib}/ncclient-%{version}.dist-info
|
||||
|
||||
%files -n python-ncclient-doc
|
||||
%doc README.md README.rst examples docs/build/html
|
||||
|
Reference in New Issue
Block a user