15
0
forked from pool/python-napalm

Accepting request 946134 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/946134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-napalm?expand=0&rev=10
This commit is contained in:
2022-01-13 22:21:21 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 11 21:55:43 UTC 2022 - Ben Greiner <code@bnavigator.de>
- remove selectors2 test requirement: It's unmaintained and pulled
in by ncclient only if necessary, i.e. on python <= 3.4 (!), but
nowhere declared or used by napalm itself.
-------------------------------------------------------------------
Wed Oct 13 12:42:18 UTC 2021 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-napalm
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -47,7 +47,7 @@ Requires: python-setuptools >= 38.4.0
Requires: python-textfsm
Requires: python-typing_extensions
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Jinja2}
@@ -67,7 +67,6 @@ BuildRequires: %{python_module pyeapi >= 0.8.2}
BuildRequires: %{python_module pytest >= 5.4.3}
BuildRequires: %{python_module requests >= 2.7.0}
BuildRequires: %{python_module scp}
BuildRequires: %{python_module selectors2 >= 2.0.1}
BuildRequires: %{python_module setuptools >= 38.4.0}
BuildRequires: %{python_module textfsm}
BuildRequires: %{python_module typing_extensions}
@@ -80,6 +79,7 @@ interact with different router vendor devices using a unified API.
%prep
%setup -q -n napalm-%{version}
sed -i '1{/env python/d}' napalm/pyIOSXR/*.py
%build
%python_build