124 Star 0 Fork 16

src-openEuler/python-hamcrest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-hamcrest.spec 2.30 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2024-09-04 17:42 . update to version 2.1.0
Name: python-hamcrest
Version: 2.1.0
Release: 1
Summary: Hamcrest matchers for Python
License: BSD-3-Clause
URL: https://github.com/hamcrest/PyHamcrest
Source0: %{pypi_source pyhamcrest}
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
BuildRequires: python3-pip
BuildRequires: python3-hatchling
BuildRequires: python3-hatch-vcs
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
%pyproject_build
%install
%pyproject_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
%files -n python3-hamcrest
%{python3_sitelib}/*
%changelog
* Wed Sep 04 2024 Ge Wang <wang__ge@126.com> - 2.1.0-1
- Update package to version 2.1.0
* Wed May 15 2024 wuzhaomin <wuzhaomin@kylinos.cn> - 2.0.3-3
- Add missing __all__ to library submodules
- doc: Fix raises example
- Don't recommend "import *" form.
* 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-hamcrest.git
git@gitee.com:src-openeuler/python-hamcrest.git
src-openeuler
python-hamcrest
python-hamcrest
master

搜索帮助