Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
b10a3dd463
!23 [sync] PR-21: enable check
From: @openeuler-sync-bot 
Reviewed-by: @gaoruoshu 
Signed-off-by: @gaoruoshu
2023-05-29 02:27:15 +00:00
markeryang
c91fa5694b enable check
(cherry picked from commit e7915fb4f4096f423515d48d7469e8cdbbe17cf4)
2023-05-29 10:09:08 +08:00
openeuler-ci-bot
543eaeaad1
!18 Rebuild for next release
From: @zhuofeng6 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-10-25 02:18:54 +00:00
zhuofeng
f1e400341c
Rebuild for next release
Signed-off-by: zhuofeng <zhuofeng2@huawei.com>
2022-10-25 02:00:22 +00:00
openeuler-ci-bot
0d85606217 !11 [sync] PR-10: update version to 3.0.6
Merge pull request !11 from openeuler-sync-bot/sync-pr10-master-to-openEuler-22.03-LTS-Next
2021-12-28 13:10:22 +00:00
shixuantong
e6fd638a16 update version to 3.0.6
(cherry picked from commit 7f2661b9b5637d27568913f7b9c60f5f556f5052)
2021-12-20 15:15:30 +08:00
openeuler-ci-bot
e5dbf5767d !9 update Source0
Merge pull request !9 from 桐小哥/master
2020-09-07 14:12:31 +08:00
桐小哥
9b4337a1f2 update Source0 2020-09-05 18:33:35 +08:00
openeuler-ci-bot
d16b08a990 !6 remove python2 require
Merge pull request !6 from 温占礼/master
2020-08-08 16:04:27 +08:00
zhanliwen
f04e404185 remove python2 require 2020-08-07 19:40:57 +08:00
3 changed files with 33 additions and 27 deletions

Binary file not shown.

BIN
pyparsing-3.0.6.tar.gz Normal file

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: pyparsing
Version: 2.4.7
Release: 1
Version: 3.0.6
Release: 3
Summary: A Python Parsing Module
License: MIT
URL: https://github.com/pyparsing/pyparsing/
Source0: http://downloads.sourceforge.net/pyparsing/pyparsing-%{version}.tar.gz
Source0: https://github.com/pyparsing/pyparsing/releases/download/pyparsing_%{version}/pyparsing-%{version}.tar.gz
BuildArch: noarch
BuildRequires: dos2unix python2-devel python2-setuptools python3-devel python3-setuptools
BuildRequires: python2-pip python2-wheel python%{python3_pkgversion}-pip python%{python3_pkgversion}-wheel
BuildRequires: dos2unix python3-devel python3-setuptools python3-tox python3-coverage
BuildRequires: python%{python3_pkgversion}-pip python%{python3_pkgversion}-wheel
%description
The pyparsing module is an alternative approach to creating and executing simple
@ -16,18 +16,10 @@ grammars, vs. the traditional lex/yacc approach, or the use of regular expressio
The pyparsing module provides a library of classes that client code uses to
construct the grammar directly in Python code.
%package -n python2-pyparsing
Summary: Pyparsing for python2
%{?python_provide:%python_provide python2-pyparsing}
Provides: pyparsing = %{version}-%{release}
Obsoletes: pyparsing < 2.1.10-5
%description -n python2-pyparsing
pyparsing is a module that can be used to easily and directly configure syntax
definitions for any number of text parsing applications.
%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
@ -50,12 +42,13 @@ Man pages and other related documents for %{name}.
dos2unix -k CHANGES LICENSE
%build
%py2_build_wheel
%py3_build_wheel
%install
%py2_install_wheel pyparsing-%{version}-py2.py3-none-any.whl
%py3_install_wheel pyparsing-%{version}-py2.py3-none-any.whl
%py3_install_wheel pyparsing-%{version}-py3-none-any.whl
%check
%{__python3} tests/test_simple_unit.py
%pre
@ -65,24 +58,37 @@ dos2unix -k CHANGES LICENSE
%postun
%files -n python2-pyparsing
%defattr(-,root,root)
%license LICENSE
%doc CHANGES README.rst
%{python2_sitelib}/pyparsing.py*
%{python2_sitelib}/pyparsing-*dist-info/
%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
* Sat May 27 2023 yanglongkang <yanglongkang@h-partners.com> - 3.0.6-3
- enable check
* Tue Oct 25 2022 zhuofeng <zhuofeng2@huawei.com> - 3.0.6-2
- Rebuild for next release
* 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
- SUG: NA
- DESC: update Source0
* Fri Aug 7 2020 wenzhanli<wenzhanli2@huawei.com> - 2.4.7-2
- Type:bugfix
- ID:NAl
- SUG:NA
- DESC:remove python2 require
* Fri Jul 17 2020 shixuantong <shixuantong@huawei.com> -2.4.7-1
- update to 2.4.7-1