Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
34db04f14e !11 adapt to python3.10
Merge pull request !11 from caodongxia/master
2021-12-23 10:16:52 +00:00
caodongxia
2a5900f8f2 adapt to python3.10 2021-12-22 18:18:19 +08:00
openeuler-ci-bot
4d5a983de1 !5 [sync] PR-4: Provide python-pytest-expect
From: @openeuler-sync-bot
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
2021-09-28 06:23:20 +00:00
lingsheng
b2bc1e8669 Provide python-pytest-expect
(cherry picked from commit 90a965efcd883999ec2a5a45fb73ea8520edee28)
2021-09-28 10:56:12 +08:00
openeuler-ci-bot
c8d12bd183 !3 add yaml
Merge pull request !3 from cuibb1/master
2020-05-19 08:54:37 +08:00
root
7ab6f041ce yaml 2020-05-11 16:11:01 +08:00
openeuler-ci-bot
5e289b2f1b !2 modify spec
Merge pull request !2 from chenholmes/cl
2020-02-25 17:32:14 +08:00
gu-gu-gu
726e66383c modify spec 2020-02-25 17:20:36 +08:00
openeuler-ci-bot
f805aa049f !1 pacage init
Merge pull request !1 from yiyurain/cwx887112
2020-01-09 15:23:04 +08:00
ruebb
2e0e546b2b init package 2020-01-09 15:09:28 +08:00
4 changed files with 81 additions and 0 deletions

19
LICENSE Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2015 Geoffrey Sneddon
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

BIN
pytest-expect-1.1.0.tar.gz Normal file

Binary file not shown.

58
python-pytest-expect.spec Normal file
View File

@ -0,0 +1,58 @@
Name: python-pytest-expect
Version: 1.1.0
Release: 5
Summary: Py.test plugin to store test expectations and mark tests based on them
License: MIT
URL: https://pypi.org/project/pytest-expect/
Source0: https://files.pythonhosted.org/packages/8b/3d/c5fcbb8a693dcde00ecc3d69639b2b2b3f385b305bc76a06f94f1030b2dc/pytest-expect-1.1.0.tar.gz
Source1: https://raw.githubusercontent.com/gsnedders/pytest-expect/%{version}/LICENSE
BuildRequires: python3-devel python3-setuptools
BuildArch: noarch
%description
A py.test plugin that stores test expectations by saving the set of failing
tests, allowing them to be marked as xfail when running them in future.
The tests expectations are stored such that they can be distributed alongside
the tests.
%package -n python3-pytest-expect
Summary: Python3 package
%{?python_provide:%python_provide python3-pytest-expect}
%description -n python3-pytest-expect
A py.test plugin that stores test expectations by saving the set of failing
tests, allowing them to be marked as xfail when running them in future.
The tests expectations are stored such that they can be distributed alongside
the tests.
%prep
%autosetup -n pytest-expect-1.1.0 -p1
cp -p %{SOURCE1} .
%build
%py3_build
%install
%py3_install
%files -n python3-pytest-expect
%doc README.rst LICENSE
%{python3_sitelib}/pytest_expect
%{python3_sitelib}/pytest_expect-%{version}-py?.??.egg-info
%changelog
* Wed Dec 22 2021 caodongxia <caodongxia@huawei.com> 1.1.0-5
- Adapt to python3.10
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> 1.1.0-4
- Provide python-pytest-expect
* Tue Feb 25 2020 chenli<chenli147@huawei.com> 1.1.0-3
- Modify Spec
* Mon Jan 6 2020 chenli<chenli147@huawei.com> 1.1.0-2
- Initial package

View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: pytest-expect
tag_prefix: "^v"
seperator: "."