代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-sure 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-sure
Version: 2.0.0
Release: 1
Summary: Utility belt for automated testing in Python
License: GPLv3+
URL: https://github.com/gabrielfalcao/sure
Source0: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
# https://github.com/gabrielfalcao/sure/commit/9f0e834
# https://src.fedoraproject.org/rpms/python-sure/pull-request/1
Patch0: python3.10-workaround.patch
BuildRequires: python3-devel python3-mock python3-setuptools python3-six python3-pytest python-pytest-cov
BuildArch: noarch
%description
An idiomatic testing library for python with powerful and flexible assertions. Sure is heavily
inspired in RSpec Expectations and should.js.
%package -n python3-sure
Summary: Utility belt for automated testing in Python 3
Requires: python3-six
%{?python_provide:%python_provide python3-sure}
%description -n python3-sure
An idiomatic testing library for python with powerful and flexible assertions. Sure is heavily
inspired in RSpec Expectations and should.js.
%prep
%autosetup -n sure-%{version} -p1
cp -r sure/ tests/
rm -rf sure.egg-info
%build
%py3_build
%install
%py3_install
%check
/usr/bin/pytest --ignore=tests/test_old_api.py
%files -n python3-sure
%doc COPYING
%{_bindir}/sure
%{python3_sitelib}/*
%changelog
* Fri Apr 29 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 2.0.0-1
- upgrad 2.0.0
* Fri Apr 01 2022 wangkai <wangkai385@huawei.com> - 1.4.11-7
- Fix compilation failures
* Wed Aug 05 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.4.11-6
- Remove python2
* Thu May 21 2020 yanan li <liyanan032@huawei.com> - 1.4.11-5
- Modify python-mock and python-nose version
* Wed Nov 27 2019 lingsheng <lingsheng@huawei.com> 1.4.11-4
* Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。