Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:azouhr:playground
python-napalm-s350
python-napalm-s350.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-napalm-s350.spec of Package python-napalm-s350
# # spec file for package python-napalm-s350 # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-napalm-s350 %define base_version 0.3.1 Version: 20210309.fbabbe1 Release: 0 Summary: NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx, CBS35x) License: Apache-2.0 URL: https://github.com/napalm-automation-community/napalm-s350 Source: napalm-s350-%{version}.tar.xz BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-napalm >= 2.5.0 Requires: python-netmiko Requires: python-netaddr BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module napalm >= 4.0.0} BuildRequires: %{python_module pylama} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages %description NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx, CBS35x). Community driver without support. To use, allow password-auth in switches: ip ssh password-auth %prep %autosetup -n napalm-s350-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check skip_tests="test_method_signatures" skip_tests+=" or test_get_facts or test_get_interfaces or test_get_arp_table" skip_tests+=" or test_get_arp_table_with_vrf or test_get_interfaces_ip or test_get_config_filtered" %pytest -k "not (${skip_tests})" %files %{python_files} %license LICENSE %doc README.md CONTRIBUTING AUTHORS %{python_sitelib}/napalm_s350 %{python_sitelib}/napalm_s350-%{base_version}*-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor