Accepting request 945694 from home:bnavigator:branches:devel:languages:python
- python-selectors2 is only required for python <= 3.4 OBS-URL: https://build.opensuse.org/request/show/945694 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ncclient?expand=0&rev=3
This commit is contained in:
parent
de55b508e8
commit
e3ce55adb9
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 20:42:01 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- python-selectors2 is only required for python <= 3.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 01:52:08 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-ncclient
|
||||
Version: 0.6.12
|
||||
Release: 0
|
||||
Summary: Python library for NETCONF clients
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://ncclient.org
|
||||
URL: https://ncclient.readthedocs.io/en/latest/
|
||||
Source: https://github.com/ncclient/ncclient/archive/v%{version}.tar.gz#/ncclient-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE allow_old_sphinx.patch mcepl@suse.com
|
||||
# Allow build with old Sphinx (< 2.0) on Leap
|
||||
@ -33,7 +34,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-lxml >= 3.3.0
|
||||
Requires: python-paramiko >= 1.15.0
|
||||
%ifpython2
|
||||
%if 0%{?python_version_nodots} <= 34
|
||||
Requires: python-selectors2 >= 2.0.1
|
||||
%endif
|
||||
Requires: python-setuptools > 0.6
|
||||
@ -43,7 +44,12 @@ BuildRequires: %{python_module lxml >= 3.3.0}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module paramiko >= 1.15.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module selectors2}
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-selectors2 >= 2.0.1
|
||||
%endif
|
||||
%if 0%{?python3_version_nodots} <= 34
|
||||
BuildRequires: python3-selectors2 >= 2.0.1
|
||||
%endif
|
||||
BuildRequires: %{python_module six}
|
||||
%python_subpackages
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user