Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4dce137893
!17 enable check
From: @run-is-pig 
Reviewed-by: @hanxinke 
Signed-off-by: @hanxinke
2022-02-22 07:15:51 +00:00
weiwei_tiantian
53959681c8 enable check 2022-02-18 11:34:23 +08:00
openeuler-ci-bot
75777f5b34 !13 provide pythonXdist(six)
From: @tong_1001
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
2021-12-08 11:53:45 +00:00
shixuantong
84618bfacc provide pythonXdist(six) 2021-12-08 16:26:22 +08:00
openeuler-ci-bot
dd6a47a18c !11 upgrade to 1.16.0
From: @jxy_git
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-12-06 03:28:53 +00:00
jiangxinyu
ed16831618 upgrade to 1.16.0 2021-12-06 09:52:04 +08:00
openeuler-ci-bot
b3259fbd58 !12 delete "%bcond_with python3" and add "%bcond_with test"
From: @tong_1001
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-12-03 08:39:24 +00:00
shixuantong
75e37e60cc delete "%bcond_with python3" and add "%bcond_with test" 2021-12-03 16:23:40 +08:00
openeuler-ci-bot
fc89b87903 !10 update Source0
Merge pull request !10 from 桐小哥/master
2020-09-09 11:13:02 +08:00
桐小哥
bdb429ccac update Source0 2020-09-05 14:22:49 +08:00
3 changed files with 28 additions and 16 deletions

View File

@ -1,53 +1,45 @@
%bcond_without python3
%global modname six %global modname six
%global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl %global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl
Name: python-six Name: python-six
Version: 1.15.0 Version: 1.16.0
Release: 2 Release: 3
Summary: It is a Python 2 and 3 compatibility library Summary: It is a Python 2 and 3 compatibility library
License: MIT License: MIT
URL: https://pypi.python.org/pypi/%{modname} URL: https://pypi.python.org/pypi/%{modname}
Source0: https://files.pythonhosted.org/packages/source/%(n=%{modname}; echo ${n:0:1})/%{modname}/%{modname}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
Python-six provides simple utilities for wrapping over differences Python 3. Python-six provides simple utilities for wrapping over differences Python 3.
%if %{with python3}
%package -n python3-%{modname} %package -n python3-%{modname}
Summary: Compatibility library for python 3 Summary: Compatibility library for python 3
BuildRequires: python3-devel python3-setuptools BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-pytest python3-tkinter BuildRequires: python3-tkinter
BuildRequires: python3-pip python3-wheel BuildRequires: python3-pip python3-wheel
BuildRequires: python3-pytest
Provides: python%{python3_pkgversion}dist(six) = %{version}
Provides: python%{python3_version}dist(six) = %{version}
%{?python_provide:%python_provide python3-%{modname}} %{?python_provide:%python_provide python3-%{modname}}
Obsoletes: platform-python-%{modname} < %{version}-%{release} Obsoletes: platform-python-%{modname} < %{version}-%{release}
%description -n python3-%{modname} %description -n python3-%{modname}
Compatibility library for python 3. Compatibility library for python 3.
%endif
%prep %prep
%autosetup -n %{modname}-%{version} %autosetup -n %{modname}-%{version}
%build %build
%if %{with python3}
%py3_build_wheel %py3_build_wheel
%endif
%install %install
%if %{with python3}
%py3_install_wheel %{python_wheelname} %py3_install_wheel %{python_wheelname}
%endif
%check %check
%if %{with python3}
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py
%endif
%if %{with python3}
%files -n python3-%{modname} %files -n python3-%{modname}
%license LICENSE %license LICENSE
%doc README* documentation/index* %doc README* documentation/index*
@ -55,9 +47,29 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py
%exclude %{python3_sitelib}/%{modname}-*.dist-info/LICENSE* %exclude %{python3_sitelib}/%{modname}-*.dist-info/LICENSE*
%{python3_sitelib}/%{modname}.py %{python3_sitelib}/%{modname}.py
%{python3_sitelib}/__pycache__/%{modname}.* %{python3_sitelib}/__pycache__/%{modname}.*
%endif
%changelog %changelog
* Wed Feb 16 2022 liudabo <liudabo1@huawei.com> - 1.16.0-3
- enable check
* Wed Dec 08 2021 shixuantong <shixuantong@huawei.com> - 1.16.0-2
- provide pythonXdist(six)
* Thu Dec 02 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 1.16.0-1
- upgrade to 1.16.0
* Fri Dec 03 2021 shixuantong <shixuantong@huawei.com> - 1.15.0-4
- Type: bugfix
- ID: NA
- SUG: NA
- DESC:delete "%bcond_with python3" and add "%bcond_with test"
* Sat Sep 5 2020 shixuantong <shixuantong@huawei.com> - 1.15.0-3
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: update Source0
* Fri Aug 7 2020 wenzhanli<wenzhanli2@huawei.com> - 1.15.0-2 * Fri Aug 7 2020 wenzhanli<wenzhanli2@huawei.com> - 1.15.0-2
- Type:bugfix - Type:bugfix
- ID:NAl - ID:NAl

Binary file not shown.

BIN
six-1.16.0.tar.gz Normal file

Binary file not shown.