!6 replace nosetests with pytest and remove useless python3-nose

From: @renxichen 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-05-30 11:24:19 +00:00 committed by Gitee
commit 11b5529d08
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: python-ordered-set
Version: 4.0.2
Release: 1
Release: 2
Summary: A mutable data structure
License: MIT
URL: https://github.com/LuminosoInsight/ordered-set
@ -16,7 +16,7 @@ can be looked up.
%package -n python3-ordered-set
Summary: ordered-set for python3
%{?python_provide:%python_provide python2-ordered-set}
BuildRequires: python3-devel python3-setuptools python3-nose python3-pytest
BuildRequires: python3-devel python3-setuptools python3-pytest
%description -n python3-ordered-set
Ordered-set for python3.
@ -31,7 +31,7 @@ Ordered-set for python3.
%py3_install
%check
%{__python3} setup.py nosetests
%{__python3} -m pytest
%pre
@ -49,6 +49,9 @@ Ordered-set for python3.
%{python3_sitelib}/__pycache__/ordered_set.*
%changelog
* Wed May 25 2022 renhongxun <renhongxun@h-partners.com> - 4.0.2-2
- replace nosetests with pytest and remove useless python3-nose
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
- Package update to 4.0.2