|
 |
f1f552 |
%global pypi_name textfsm
|
|
 |
f1f552 |
|
|
 |
f1f552 |
Name: python-%{pypi_name}
|
|
 |
f1f552 |
Version: 1.1.0
|
|
 |
f1f552 |
Release: 1%{?dist}
|
|
 |
f1f552 |
Summary: Python module for parsing semi-structured text into python tables
|
|
 |
f1f552 |
|
|
 |
f1f552 |
License: ASL 2.0
|
|
 |
f1f552 |
URL: https://github.com/google/textfsm
|
|
 |
f1f552 |
Source0: https://github.com/google/textfsm/archive/v%{version}.tar.gz
|
|
 |
f1f552 |
BuildArch: noarch
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%description
|
|
 |
f1f552 |
Python module which implements a template based state machine for parsing
|
|
 |
f1f552 |
semi-formatted text. Originally developed to allow programmatic access to
|
|
 |
f1f552 |
information returned from the command line interface (CLI) of networking
|
|
 |
f1f552 |
devices.
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%package -n python3-%{pypi_name}
|
|
 |
f1f552 |
Summary: %{summary}
|
|
 |
f1f552 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
f1f552 |
BuildRequires: python3-devel
|
|
 |
f1f552 |
BuildRequires: python3-future
|
|
 |
f1f552 |
BuildRequires: python3-setuptools
|
|
 |
f1f552 |
BuildRequires: python3-six
|
|
 |
f1f552 |
BuildRequires: python3-pytest
|
|
 |
f1f552 |
BuildRequires: python3-pytest-runner
|
|
 |
f1f552 |
Requires: python3-future
|
|
 |
f1f552 |
Requires: python3-six
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%description -n python3-%{pypi_name}
|
|
 |
f1f552 |
Python module which implements a template based state machine for parsing
|
|
 |
f1f552 |
semi-formatted text. Originally developed to allow programmatic access to
|
|
 |
f1f552 |
information returned from the command line interface (CLI) of networking
|
|
 |
f1f552 |
devices.
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%prep
|
|
 |
f1f552 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
f1f552 |
# Remove bundled egg-info
|
|
 |
f1f552 |
rm -rf %{pypi_name}.egg-info
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%build
|
|
 |
f1f552 |
%py3_build
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%install
|
|
 |
f1f552 |
%py3_install
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%check
|
|
 |
f1f552 |
%{__python3} setup.py test
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%files -n python3-%{pypi_name}
|
|
 |
f1f552 |
%license COPYING
|
|
 |
f1f552 |
%exclude %{python3_sitelib}/testdata
|
|
 |
f1f552 |
%{python3_sitelib}/%{pypi_name}
|
|
 |
f1f552 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
 |
f1f552 |
|
|
 |
f1f552 |
%changelog
|
|
 |
f1f552 |
* Mon Feb 22 2021 Javier Peña <jpena@redhat.com> - 1.1.0-1
|
|
 |
f1f552 |
- Update to upstream version 1.1.0 (#1931302)
|
|
 |
f1f552 |
- Remove python2 subpackage
|
|
 |
f1f552 |
- Enable unit tests
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-13
|
|
 |
f1f552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-12
|
|
 |
f1f552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-11
|
|
 |
f1f552 |
- Rebuilt for Python 3.9
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-10
|
|
 |
f1f552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-9
|
|
 |
f1f552 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-8
|
|
 |
f1f552 |
- Rebuilt for Python 3.8
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-7
|
|
 |
f1f552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Tue Mar 12 2019 Javier Peña <jpena@redhat.com> - 0.3.2-6
|
|
 |
f1f552 |
- Switch sources to use GitHub release
|
|
 |
f1f552 |
- Disable unit tests until they are present in the tarball
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
|
|
 |
f1f552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Mon Oct 01 2018 Javier Peña <jpena@redhat.com> - 0.3.2-4
|
|
 |
f1f552 |
- Removed Python 2 package from Fedora 30+ (bz#1634614)
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
|
|
 |
f1f552 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.2-2
|
|
 |
f1f552 |
- Rebuilt for Python 3.7
|
|
 |
f1f552 |
|
|
 |
f1f552 |
* Fri Mar 16 2018 Javier Peña <jpena@redhat.com> - 0.3.2-1
|
|
 |
f1f552 |
- Initial package.
|