代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-hamcrest 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-hamcrest
Version: 2.0.3
Release: 2
Summary: Hamcrest matchers for Python
License: BSD-3-Clause
URL: https://github.com/hamcrest/PyHamcrest
Source0: https://github.com/hamcrest/PyHamcrest/archive/V2.0.3/%{name}-%{version}.tar.gz
Patch0: numpy-1.20.0-alias-depr.patch
BuildArch: noarch
%description
PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations
where matchers are invaluable, such as UI validation, or data filtering,
but it is in the area of writing flexible tests that matchers are most
commonly used.
%package -n python3-hamcrest
Summary: Hamcrest matchers for Python
%{?python_provide:%python_provide python3-hamcrest}
BuildRequires: python3-devel python3-setuptools python3-pytest python3-mock python3-six
BuildRequires: python3-numpy
Requires: python3-six
%description -n python3-hamcrest
PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations
where matchers are invaluable, such as UI validation, or data filtering,
but it is in the area of writing flexible tests that matchers are most
commonly used.
Python 3 version.
%prep
%autosetup -n PyHamcrest-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
%files -n python3-hamcrest
%{python3_sitelib}/*
%changelog
* Sun Jul 23 2023 wangkai <13474090681@163.com> - 2.0.3-2
- Fix build error for numpy-1.20
* Wed Jun 29 2022 yaoxin <yaoxin30@h-partners.com> - 2.0.3-1
- Update to 2.0.3
* Wed May 11 2022 houyingchao <houyingchao@h-partners.com> - 1.9.0-11
- License compliance rectification
* Fri Jan 08 2021 maminjie <maminjie1@huawei.com> - 1.9.0-10
- port to pytest4
* Wed Aug 05 2020 lingsheng <lingsheng@huawei.com> - 1.9.0-9
- Remove python2-hamcrest subpackage
* Fri Feb 21 2020 likexin <likexin4@huawei.com> - 1.9.0-8
- package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。