15
0
2025-05-12 16:06:04 +00:00
committed by Git OBS Bridge
commit 4dd44ad482
7 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5eead1562c448a36dfbcff33d50f568230954216acb3a5dd03446dfa8ee75aa9
size 4844

17
_service Normal file
View File

@@ -0,0 +1,17 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://github.com/hedin/vyatta-conf-parser.git</param>
<param name="scm">git</param>
<param name="revision">9a09e8375ecf75c054f1231fa989222e440313bf</param>
<param name="package-meta">no</param>
<param name="changesgenerate">enable</param>
<param name="filename">VyattaConfParser</param>
<param name="versionformat">0.5.5</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hedin/vyatta-conf-parser.git</param>
<param name="changesrevision">9a09e8375ecf75c054f1231fa989222e440313bf</param></service></servicedata>

View File

@@ -0,0 +1,33 @@
-------------------------------------------------------------------
Mon May 12 15:49:32 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sat Dec 21 14:49:38 UTC 2019 - mardnh@gmx.de
- Update to version 0.5.5:
* Add + sign to regexp pattern
* Upd version number
* Fix #9
-------------------------------------------------------------------
Thu Oct 24 18:06:19 UTC 2019 - mardnh@gmx.de
- Update to version 0.5.3:
* Fix error parsing named section config with missing {} curly
brackets
- Do not longer build for python2, upstream dropped support with
this release
-------------------------------------------------------------------
Tue Oct 1 20:32:45 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 0.5.2
* Fix parsing of multiple values with same key
- Run tests
-------------------------------------------------------------------
Mon Aug 7 11:53:58 UTC 2017 - mardnh@gmx.de
- Initial package, version 0.5.1

View File

@@ -0,0 +1,62 @@
#
# spec file for package python-VyattaConfParser
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2017-2019, Martin Hauke <mardnh@gmx.de>
#
# 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-VyattaConfParser
Version: 0.5.5
Release: 0
Summary: A python config parser for Vyatta/VyOS
License: MIT
URL: https://github.com/hedin/vyatta-conf-parser
#Source: https://files.pythonhosted.org/packages/source/V/VyattaConfParser/VyattaConfParser-%%{version}.tar.gz
Source: VyattaConfParser-%{version}.tar.xz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module datadiff}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
Vyatta/VyOS config parser with unicode support and without dependencies.
%prep
%setup -q -n VyattaConfParser-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/[Vv]yatta[Cc]onf[Pp]arser
%{python_sitelib}/[Vv]yatta[Cc]onf[Pp]arser-%{version}*-info
%changelog