2019-09-30 11:14:26 -04:00
|
|
|
Name: pyparsing
|
2022-07-01 06:46:07 +00:00
|
|
|
Version: 3.0.7
|
2021-12-01 14:41:29 +08:00
|
|
|
Release: 1
|
2019-09-30 11:14:26 -04:00
|
|
|
Summary: A Python Parsing Module
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/pyparsing/pyparsing/
|
2020-09-05 18:33:35 +08:00
|
|
|
Source0: https://github.com/pyparsing/pyparsing/releases/download/pyparsing_%{version}/pyparsing-%{version}.tar.gz
|
2019-09-30 11:14:26 -04:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
2020-08-07 19:40:57 +08:00
|
|
|
BuildRequires: dos2unix python3-devel python3-setuptools
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pip python%{python3_pkgversion}-wheel
|
2019-09-30 11:14:26 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The pyparsing module is an alternative approach to creating and executing simple
|
|
|
|
|
grammars, vs. the traditional lex/yacc approach, or the use of regular expressions.
|
|
|
|
|
The pyparsing module provides a library of classes that client code uses to
|
|
|
|
|
construct the grammar directly in Python code.
|
|
|
|
|
|
|
|
|
|
%package -n python3-pyparsing
|
|
|
|
|
Summary: Pyparsing for python3
|
2021-12-01 14:41:29 +08:00
|
|
|
Provides: python%{python3_pkgversion}dist(pyparsing) = %{version}
|
|
|
|
|
Provides: python%{python3_version}dist(pyparsing) = %{version}
|
2019-09-30 11:14:26 -04:00
|
|
|
%{?python_provide:%python_provide python3-%pyparsing}
|
|
|
|
|
|
|
|
|
|
%description -n python3-pyparsing
|
|
|
|
|
pyparsing is a module that can be used to easily and directly configure syntax
|
|
|
|
|
definitions for any number of text parsing applications.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Documents for %{name}
|
|
|
|
|
Buildarch: noarch
|
|
|
|
|
Requires: man info
|
|
|
|
|
Provides: pyparsing-doc
|
|
|
|
|
Obsoletes: pyparsing-doc
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Man pages and other related documents for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
|
|
2020-07-17 16:37:42 +08:00
|
|
|
dos2unix -k CHANGES LICENSE
|
2019-09-30 11:14:26 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
2021-12-01 14:41:29 +08:00
|
|
|
%py3_install_wheel pyparsing-%{version}-py3-none-any.whl
|
2019-09-30 11:14:26 -04:00
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|
|
%files -n python3-pyparsing
|
|
|
|
|
%license LICENSE
|
2020-07-17 16:37:42 +08:00
|
|
|
%doc CHANGES README.rst
|
2021-12-01 14:41:29 +08:00
|
|
|
%{python3_sitelib}/pyparsing/
|
2019-09-30 11:14:26 -04:00
|
|
|
%{python3_sitelib}/pyparsing-*dist-info/
|
|
|
|
|
|
|
|
|
|
%files help
|
2020-07-17 16:37:42 +08:00
|
|
|
%doc CHANGES README.rst docs examples
|
2019-09-30 11:14:26 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2022-07-01 06:46:07 +00:00
|
|
|
* Fri Jul 01 2022 wangkuntian <wangkuntian@uniontech.com> - 3.0.7-1
|
|
|
|
|
- Upgrade package pyparsing to version 3.0.7
|
|
|
|
|
|
2021-12-01 14:41:29 +08:00
|
|
|
* Wed Dec 01 2021 shixuantong <shixuantong@huawei.com> - 3.0.6-1
|
|
|
|
|
- update version to 3.0.6
|
|
|
|
|
|
2020-09-05 18:33:35 +08:00
|
|
|
* Sat Sep 5 2020 shixuantong <shixuantong@huawei.com> - 2.4.7-3
|
|
|
|
|
- Type: bugfix
|
|
|
|
|
- ID: NA
|
|
|
|
|
- SUG: NA
|
|
|
|
|
- DESC: update Source0
|
|
|
|
|
|
2020-08-07 19:40:57 +08:00
|
|
|
* Fri Aug 7 2020 wenzhanli<wenzhanli2@huawei.com> - 2.4.7-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NAl
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove python2 require
|
|
|
|
|
|
2020-07-17 16:37:42 +08:00
|
|
|
* Fri Jul 17 2020 shixuantong <shixuantong@huawei.com> -2.4.7-1
|
|
|
|
|
- update to 2.4.7-1
|
|
|
|
|
|
2019-09-30 11:14:26 -04:00
|
|
|
* Fri Sep 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.0-4
|
|
|
|
|
- Package init
|