!9 Upgrade package to version 0.6.0

From: @lyn1001 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-04-12 08:04:07 +00:00 committed by Gitee
commit f8cf479971
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 15 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Name: python-parse_type
Version: 0.5.2
Version: 0.6.0
Release: 1
Summary: Make parse types building more easier by parse module
License: BSD
@ -38,7 +38,10 @@ rm -rf python3/*.egg-info
%build
cd python3
sed -i -e '/use_2to3/s/\S.*/pass/' setup.py
# remove deps on pytest-html
sed -i -e '/^\s*pytest-html >= /d' tox.ini
sed -i -e '/^\s*"pytest-html >= /d' setup.py
%py3_build
%install
@ -48,6 +51,13 @@ cd python3
%check
cd python3
sed -i \
-e '/^addopts = --metadata PACKAGE_UNDER_TEST parse_type/d' \
-e '/^ --metadata PACKAGE_VERSION [0-9].[0-9].[0-9]/d' \
-e '\% --html=build/testing/report.html --self-contained-html%d' \
-e '\% --junit-xml=build/testing/report.xml%d' \
pytest.ini
%{__python3} setup.py test
@ -56,6 +66,9 @@ cd python3
%{python3_sitelib}/{parse_type-%{version}-*.egg-info/,parse_type/}
%changelog
* Wed Apr 12 2023 liyanan <thistleslyn@163.com> - 0.6.0-1
- Update to 0.6.0
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.5.2-1
- Upgrade to version 0.5.2

Binary file not shown.

BIN
v0.6.0.tar.gz Normal file

Binary file not shown.