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
|
||||
index 6c1ff6c..b833698 100644
|
||||
index a586d5c..4109867 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
setuptools>0.6
|
||||
paramiko>=1.7.7.1
|
||||
paramiko>=1.15.0
|
||||
-lxml>=3.3.0
|
||||
+lxml>=3.1
|
||||
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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user