Upgrade package to version 0.6.0
This commit is contained in:
parent
694293acfa
commit
c53f846c28
@ -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
|
||||
|
||||
|
||||
BIN
v0.5.2.tar.gz
BIN
v0.5.2.tar.gz
Binary file not shown.
BIN
v0.6.0.tar.gz
Normal file
BIN
v0.6.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user