Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
64002d362c
!20 Update to 4.1.0
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-01-11 11:45:57 +00:00
lyn1001
f9790bb8e4 Update to 4.1.0 2024-01-11 14:39:08 +08:00
openeuler-ci-bot
8fe5051bbf
!16 Update to 4.0.1
From: @bzg1107 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-07-19 02:27:40 +00:00
baizg1107
b0b274f66d update to 4.0.1 2022-07-13 15:40:16 +08:00
openeuler-ci-bot
eab5cccfcd
!11 修复编译失败问题
From: @caodongxia 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-04-06 01:14:45 +00:00
caodongxia
25ae631e1f fixtest_monkeypatch failed 2022-04-01 18:03:53 +08:00
openeuler-ci-bot
73c0bc3e32 !3 Fix source0
From: @kkkl12
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-29 14:10:26 +08:00
kkkl12
8b65d57eed Fix Source0 2020-09-29 10:22:04 +08:00
openeuler-ci-bot
22db10581a !2 Remove python2-fixtures subpackage
Merge pull request !2 from ultra_planet/master
2020-08-10 14:24:47 +08:00
lingsheng
ab9fe172c3 Remove python2-fixtures subpackage 2020-08-10 14:14:12 +08:00
3 changed files with 28 additions and 27 deletions

Binary file not shown.

BIN
fixtures-4.1.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,33 +1,22 @@
Name: python-fixtures Name: python-fixtures
Version: 3.0.0 Version: 4.1.0
Release: 12 Release: 1
Summary: A python contract for writing reusable state / support logic tests Summary: A python contract for writing reusable state / support logic tests
License: ASL 2.0 or BSD License: ASL 2.0 or BSD
URL: https://launchpad.net/python-fixtures URL: https://launchpad.net/python-fixtures
Source0: http://pypi.python.org/packages/source/f/fixtures/fixtures-%{version}.tar.gz Source0: https://pypi.python.org/packages/source/f/fixtures/fixtures-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python2-devel python2-pbr >= 0.11 python2-mock python2-testtools >= 0.9.22
%description %description
Fixtures is a python contract that provides reusable state / support logic Fixtures is a python contract that provides reusable state / support logic
for unit testing. It includes some helper and adaptation logic to write your for unit testing. It includes some helper and adaptation logic to write your
own fixtures using the fixtures contract. own fixtures using the fixtures contract.
%package -n python2-fixtures
Summary: A python2 contract for reusable state / support logic
Requires: python2-testtools >= 0.9.22 python2-six
%{?python_provide:%python_provide python2-fixtures}
%description -n python2-fixtures
Fixtures is a python2 contract that provides reusable state / support logic
for unit testing. It includes some helper and adaptation logic to write your
own fixtures using the fixtures contract.
%package -n python3-fixtures %package -n python3-fixtures
Summary: A python3 contract for reusable state / support logic Summary: A python3 contract for reusable state / support logic
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel python3-pbr >= 0.11 python3-mock python3-testtools >= 0.9.22 BuildRequires: python3-devel python3-pbr >= 5.7.0 python3-mock python3-testtools >= 2.5.0
Requires: python3-testtools >= 0.9.22 python3-six Requires: python-extras python-pbr >= 5.7.0 python3-testtools >= 2.5.0
%{?python_provide:%python_provide python3-fixtures} %{?python_provide:%python_provide python3-fixtures}
%description -n python3-fixtures %description -n python3-fixtures
@ -36,27 +25,39 @@ for unit testing. It includes some helper and adaptation logic to write your
own fixtures using the fixtures contract. own fixtures using the fixtures contract.
%prep %prep
%autosetup -n fixtures-%{version} %autosetup -n fixtures-%{version} -p1
%build %build
%py2_build export PBR_VERSION=%{version}
%py3_build %py3_build
%install %install
%py2_install export PBR_VERSION=%{version}
%py3_install %py3_install
%check %check
%{__python2} -m testtools.run fixtures.test_suite
%{__python3} -m testtools.run fixtures.test_suite %{__python3} -m testtools.run fixtures.test_suite
%files -n python2-fixtures
%doc README GOALS NEWS Apache-2.0 BSD COPYING
%{python2_sitelib}/fixtures
%{python2_sitelib}/fixtures-%{version}-py?.?.egg-info
%files -n python3-fixtures %files -n python3-fixtures
%doc README GOALS NEWS Apache-2.0 BSD COPYING %doc README.rst GOALS NEWS Apache-2.0 BSD COPYING
%{python3_sitelib}/fixtures %{python3_sitelib}/fixtures
%{python3_sitelib}/fixtures-%{version}-py?.?.egg-info %{python3_sitelib}/fixtures-%{version}-py%{python3_version}.egg-info
%changelog %changelog
* Thu Jan 11 2024 liyanan <liyanan61@h-partners.com> - 4.1.0-1
- Update to 4.1.0
* Thu Jul 7 2022 baizhonggui <baizhonggui@h-partners.com> - 4.0.1-1
- Update to 4.0.1
* Fri Apr 1 2022 caodongxia <caodongxia@huawei.com> - 3.0.0-15
- Fix test_monkeypatch failed due to python3.10
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 3.0.0-14
- Fix Source0
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 3.0.0-13
- Remove python2-fixtures subpackage
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 3.0.0-12 * Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 3.0.0-12
- Package init - Package init