14
0

Accepting request 618143 from home:yeey:branches:Cloud:OpenStack:Master

Incorporate the comments from the previous review.

OBS-URL: https://build.opensuse.org/request/show/618143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textfsm?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-06-21 07:28:22 +00:00
committed by Git OBS Bridge
commit 82bf5ad32f
5 changed files with 112 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

30
python-textfsm.changes Normal file
View File

@@ -0,0 +1,30 @@
-------------------------------------------------------------------
Wed Jun 20 21:02:45 UTC 2018 - gyee@suse.com
- Remove python-devel requirement as it is not needed.
-------------------------------------------------------------------
Wed Jun 20 18:01:31 UTC 2018 - gyee@suse.com
- Remove useless descriptions.
-------------------------------------------------------------------
Wed Jun 20 16:16:13 UTC 2018 - gyee@suse.com
- Regenerate the spec file using py2pack.
-------------------------------------------------------------------
Tue Jun 19 17:58:08 UTC 2018 - gyee@suse.com
- Fix SingleSpec requirements.
-------------------------------------------------------------------
Tue Jun 19 16:46:33 UTC 2018 - gyee@suse.com
- Make it a SingleSpec package.
-------------------------------------------------------------------
Mon Jun 18 21:50:46 UTC 2018 - gyee@suse.com
- create initial package version 0.4.1:
Pulled from https://files.pythonhosted.org/packages/a1/0d/a1b490503545b3b4600b965eae5d44cc2b6ce27cfb44f4debc563dbb56d3/textfsm-0.4.1.tar.gz

55
python-textfsm.spec Normal file
View File

@@ -0,0 +1,55 @@
#
# spec file for package python-textfsm
#
# Copyright (c) 2018 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
# 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-textfsm
Version: 0.4.1
Release: 0
License: Apache-2.0
Summary: Python module for parsing semi-structured text into python tables
Url: https://github.com/google/textfsm
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/t/textfsm/textfsm-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
Python module which implements a template based state machine for parsing
semi-formatted text. Originally developed to allow programmatic access to
information returned from the command line interface (CLI) of networking
devices.
%prep
%setup -q -n textfsm-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license COPYING
%doc README.md
%{python_sitelib}/*
%changelog

3
textfsm-0.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21a31e212d625d84a8c7a52f35055d536bd3a1c63d3d41ed65ee5d8bd5f29f00
size 38369