Compare commits
10 Commits
d013ea08e4
...
90f690ce33
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
90f690ce33 | ||
|
|
4db2f110d0 | ||
|
|
34d499b6b5 | ||
|
|
344e1d120e | ||
|
|
713a39c4c0 | ||
|
|
34874770b9 | ||
|
|
03f081122a | ||
|
|
07dda38f82 | ||
|
|
349f7bfef1 | ||
|
|
2d4b4c7568 |
BIN
python-hamcrest-2.0.3.tar.gz
Normal file
BIN
python-hamcrest-2.0.3.tar.gz
Normal file
Binary file not shown.
58
python-hamcrest.spec
Normal file
58
python-hamcrest.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: python-hamcrest
|
||||
Version: 2.0.3
|
||||
Release: 1
|
||||
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
|
||||
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 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
|
||||
* Wed Oct 26 2022 Ge Wang <wangge20@h-partners.com> - 2.0.3-1
|
||||
- update to version 2.0.3
|
||||
|
||||
* 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
|
||||
4
python-hamcrest.yaml
Normal file
4
python-hamcrest.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: hamcrest/PyHamcrest
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user