Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
90f690ce33
!10 update to version 2.0.3
From: @wang--ge 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2022-10-28 08:37:48 +00:00
wang--ge
4db2f110d0 update to version 2.0.3 2022-10-26 17:34:56 +08:00
openeuler-ci-bot
34d499b6b5 !5 port to pytest4
From: @maminjie
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-01-11 20:35:22 +08:00
maminjie
344e1d120e port to pytest4 2021-01-11 19:01:52 +08:00
openeuler-ci-bot
713a39c4c0 !4 Remove python2-hamcrest subpackage
Merge pull request !4 from ultra_planet/master
2020-08-05 15:02:44 +08:00
lingsheng
34874770b9 Remove python2-hamcrest subpackage 2020-08-05 14:19:55 +08:00
openeuler-ci-bot
03f081122a !3 python-hamcrest
Merge pull request !3 from wangef/master
2020-05-19 16:16:11 +08:00
wwx913452
07dda38f82 added python-hamcrest.yaml 2020-05-07 10:41:50 +08:00
openeuler-ci-bot
349f7bfef1 !1 Package init
Merge pull request !1 from lkx690/master
2020-02-27 11:15:32 +08:00
lkx690
2d4b4c7568 package init 2020-02-26 16:49:23 +08:00
3 changed files with 62 additions and 0 deletions

Binary file not shown.

58
python-hamcrest.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: hamcrest/PyHamcrest
tag_prefix: ^v
seperator: .