Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
b0cb11b629
!28 【Mainline】Update to 3.1.1
From: @yixiangzhike 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2024-01-29 08:23:55 +00:00
yixiangzhike
69b7a0d998 Update version to 3.1.1 2024-01-29 11:55:15 +08:00
openeuler-ci-bot
9a3c3c2519
!27 update version to 3.0.9
From: @zhuofeng6 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2023-07-29 02:31:42 +00:00
zhuofeng
e7753dcadf update version to 3.0.9 2023-07-28 15:14:31 +08:00
openeuler-ci-bot
0402bb8a88
!20 enable check
From: @markeryang 
Reviewed-by: @zhuofeng6, @gaoruoshu 
Signed-off-by: @gaoruoshu
2023-05-29 02:08:57 +00:00
markeryang
3fdd3983f3 enable check 2023-05-27 10:28:58 +00:00
openeuler-ci-bot
44299638b1
!13 Update package pyparsing of version 3.0.7
From: @A_L_I_E_Z 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-07-22 02:58:22 +00:00
A_L_I_E_Z
e86165d30e Update package pyparsing of version 3.0.7 2022-07-01 06:46:07 +00:00
openeuler-ci-bot
c3f1f40c63 !10 update version to 3.0.6
From: @tong_1001
Reviewed-by: @openeuler-basic
Signed-off-by: @openeuler-basic
2021-12-01 07:28:56 +00:00
shixuantong
7f2661b9b5 update version to 3.0.6 2021-12-01 15:17:00 +08:00
3 changed files with 45 additions and 8 deletions

Binary file not shown.

BIN
pyparsing-3.1.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: pyparsing
Version: 2.4.7
Release: 3
Version: 3.1.1
Release: 1
Summary: A Python Parsing Module
License: MIT
URL: https://github.com/pyparsing/pyparsing/
Source0: https://github.com/pyparsing/pyparsing/releases/download/pyparsing_%{version}/pyparsing-%{version}.tar.gz
Source0: https://github.com/pyparsing/pyparsing/releases/download/%{version}/pyparsing-%{version}.tar.gz
BuildArch: noarch
BuildRequires: dos2unix python3-devel python3-setuptools
BuildRequires: dos2unix python3-devel python3-setuptools python3-tox python3-coverage python3-flit-core
BuildRequires: python%{python3_pkgversion}-pip python%{python3_pkgversion}-wheel
%description
@ -18,6 +18,8 @@ construct the grammar directly in Python code.
%package -n python3-pyparsing
Summary: Pyparsing for python3
Provides: python%{python3_pkgversion}dist(pyparsing) = %{version}
Provides: python%{python3_version}dist(pyparsing) = %{version}
%{?python_provide:%python_provide python3-%pyparsing}
%description -n python3-pyparsing
@ -40,10 +42,13 @@ Man pages and other related documents for %{name}.
dos2unix -k CHANGES LICENSE
%build
%py3_build_wheel
%pyproject_build
%install
%py3_install_wheel pyparsing-%{version}-py2.py3-none-any.whl
%pyproject_install
%check
%{__python3} tests/test_simple_unit.py
%pre
@ -56,14 +61,46 @@ dos2unix -k CHANGES LICENSE
%files -n python3-pyparsing
%license LICENSE
%doc CHANGES README.rst
%{python3_sitelib}/pyparsing.py
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/pyparsing/
%{python3_sitelib}/pyparsing-*dist-info/
%files help
%doc CHANGES README.rst docs examples
%changelog
* Mon Jan 29 2024 yixiangzhike <yixiangzhike007@163.com> - 3.1.1-1
- update version to 3.1.1
- Fixed bug in NotAny where expr parse action was not being run
- Fix regex matching for Python quoted strings
- Make create_diagram() code compatible with latest version of railroad-diagrams
- Support Python 3.12
- Small perf optimization for `expr | ""` mapping to `Optional(expr)`
- Redo QuotedString '\' escape handling as a state machine
- Add ParseResults.deepcopy()
- Remove ^ and $ tags from pp.common.url regex
- Added DelimitedList class, for better handling of naming and diagramming
- Deprecate ParserElement.validate()
- Added new class method ParserElement.using_each
- Fix bug in delimited_list
- Added python_quoted_string; fixed exception messages for ParseElementEnhance subclasses
- Enable packrat in verilogParse.py by default
- Add embed argument to create_diagram
- Add support for slice in expr[] notation
- Fixed bug in srange
- Added Lox language parser
* Fri Jul 28 2023 zhuofeng <zhuofeng2@huawei.com> - 3.0.9-1
- update version to 3.0.9
* Sat May 27 2023 yanglongkang <yanglongkang@h-partners.com> - 3.0.7-2
- enable check
* Fri Jul 01 2022 wangkuntian <wangkuntian@uniontech.com> - 3.0.7-1
- Upgrade package pyparsing to version 3.0.7
* Wed Dec 01 2021 shixuantong <shixuantong@huawei.com> - 3.0.6-1
- update version to 3.0.6
* Sat Sep 5 2020 shixuantong <shixuantong@huawei.com> - 2.4.7-3
- Type: bugfix
- ID: NA