- Update to 1.3.32:
* No good changelog - Remove unused patch ciscoconfparse-1.2.40-fix-tests.patch - Update to 1.3.30: * Fix bugs related to Python3 (Github issue #117) * Add IP helper-address parsing in models_cisco.py * Revert universal wheel packages (universal=0) * Build universal wheel packages * Build improvements - ref Github issue #127, #128 * Another swing at Github issue #127 * Rollback fix for Github issue #127 * Attempt to fix Github issue #127 * Fix Github issue #124-126 and Github issue #110 * Fix Github issue #121 and Github issue #123 * Fix Github issue #114 (Py3.5 requires different open() syntax) * Fix Github issue #111 (banner parsing broken in some cases) * Add * to MANIFEST.in * Attempt to resolve Github issue #106 * Add dns_query() zone transfer as text OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ciscoconfparse?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
56272769d4
commit
d6b8481d43
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ciscoconfparse
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -12,30 +12,27 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-ciscoconfparse
|
||||
Version: 1.3.15
|
||||
Version: 1.3.32
|
||||
Release: 0
|
||||
Summary: Python library for parsing, querying and modifying Cisco IOS-style configurations
|
||||
Summary: Library for parsing, querying and modifying Cisco IOS-style configurations
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mpenning/ciscoconfparse
|
||||
Source: https://files.pythonhosted.org/packages/source/c/ciscoconfparse/ciscoconfparse-%{version}.tar.gz
|
||||
# PATCH fix tests
|
||||
Patch0: ciscoconfparse-1.2.40-fix-tests.patch
|
||||
BuildRequires: %{python_module colorama}
|
||||
BuildRequires: %{python_module dnspython}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python2-ipaddress
|
||||
BuildRequires: python2-mock
|
||||
# For tests
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python2-ipaddress
|
||||
BuildRequires: python2-mock
|
||||
Requires: python-colorama
|
||||
Requires: python-dnspython
|
||||
Requires: python-ipaddr
|
||||
@@ -57,7 +54,6 @@ relationships.
|
||||
|
||||
%prep
|
||||
%setup -q -n ciscoconfparse-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -67,9 +63,8 @@ relationships.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Upstream has broken tests.
|
||||
# https://github.com/mpenning/ciscoconfparse/issues/106
|
||||
# %%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitelib} py.test-%%{$python_version}
|
||||
# Upstream stubbornly refuses PRs and does not distribute tests
|
||||
#%%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user