Accepting request 514958 from Cloud:OpenStack:Factory
1 OBS-URL: https://build.opensuse.org/request/show/514958 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ncclient?expand=0&rev=6
This commit is contained in:
parent
38dbb545a3
commit
82f8026f2d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b050423717e7d9751e8c8279452d5b262207a4d1ac2e89c8c6129e5cda17934d
|
|
||||||
size 61456
|
|
3
ncclient-0.5.3.tar.gz
Normal file
3
ncclient-0.5.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fe6b9c16ed5f1b21f5591da74bfdd91a9bdf69eb4e918f1c06b3c8db307bd32b
|
||||||
|
size 63151
|
@ -1,10 +1,10 @@
|
|||||||
diff --git a/requirements.txt b/requirements.txt
|
diff --git a/requirements.txt b/requirements.txt
|
||||||
index 6c1ff6c..b833698 100644
|
index a586d5c..4109867 100644
|
||||||
--- a/requirements.txt
|
--- a/requirements.txt
|
||||||
+++ b/requirements.txt
|
+++ b/requirements.txt
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
setuptools>0.6
|
setuptools>0.6
|
||||||
paramiko>=1.7.7.1
|
paramiko>=1.15.0
|
||||||
-lxml>=3.3.0
|
-lxml>=3.3.0
|
||||||
+lxml>=3.1
|
+lxml>=3.1
|
||||||
six
|
six
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 7 08:36:21 UTC 2017 - mardnh@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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 3 20:52:24 UTC 2016 - mardnh@gmx.de
|
Sat Sep 3 20:52:24 UTC 2016 - mardnh@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ncclient
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: python-ncclient
|
||||||
Version: 0.5.2
|
Version: 0.5.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://github.com/ncclient/ncclient
|
Summary: Python library for NETCONF clients
|
||||||
Summary: Python NETCONF protocol library
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://pypi.io/packages/source/n/ncclient/ncclient-%{version}.tar.gz
|
Url: http://ncclient.org
|
||||||
# PATCH-FIX-UPSTREAM pr-109.patch -- https://github.com/ncclient/ncclient/pull/109
|
Source: https://files.pythonhosted.org/packages/source/n/ncclient/ncclient-%{version}.tar.gz
|
||||||
Patch0: pr-109.patch
|
Patch0: pr-109.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-base
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: fdupes
|
||||||
Requires: python-lxml >= 3.1
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-paramiko >= 1.7.7.1
|
Requires: %{python_module lxml >= 3.3.0}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
Requires: %{python_module paramiko >= 1.15.0}
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
Requires: %{python_module setuptools > 0.6}
|
||||||
%else
|
Requires: %{python_module six}
|
||||||
BuildArch: noarch
|
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
|
%endif
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ncclient is a Python library that facilitates client-side scripting
|
ncclient is a Python library that facilitates client-side scripting
|
||||||
and application development around the NETCONF protocol.
|
and application development around the NETCONF protocol.
|
||||||
|
|
||||||
%package doc
|
%package -n python-ncclient-doc
|
||||||
Summary: Python NETCONF protocol library - Documentation
|
Summary: Python NETCONF protocol library - Documentation
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: %{python_module Sphinx}
|
||||||
Requires: %{name} = %{version}
|
Provides: %{python_module python-ncclient-doc = %{version}}
|
||||||
|
|
||||||
%description doc
|
%description -n python-ncclient-doc
|
||||||
This package contains documentation files for %{name}.
|
This package contains documentation files for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ncclient-%{version}
|
%setup -q -n ncclient-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
cd docs && make html && rm build/html/.buildinfo
|
cd docs && make %{?_smp_mflags} html && rm build/html/.buildinfo
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python2 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{python_sitelib}/ncclient
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/ncclient-%{version}-py%{py_ver}.egg-info
|
|
||||||
|
|
||||||
%files doc
|
%files -n python-ncclient-doc
|
||||||
%defattr(-,root,root,-)
|
%doc LICENSE README README.rst examples docs/build/html
|
||||||
%doc LICENSE README examples docs/build/html
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user