9 Star 0 Fork 10

src-openEuler/python-six

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-six.spec 2.54 KB
一键复制 编辑 原始数据 按行查看 历史
weiwei_tiantian 提交于 2022-02-16 15:24 . enable check
%global modname six
%global python_wheelname %{modname}-%{version}-py2.py3-none-any.whl
Name: python-six
Version: 1.16.0
Release: 3
Summary: It is a Python 2 and 3 compatibility library
License: MIT
URL: https://pypi.python.org/pypi/%{modname}
Source0: https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz
BuildArch: noarch
%description
Python-six provides simple utilities for wrapping over differences Python 3.
%package -n python3-%{modname}
Summary: Compatibility library for python 3
BuildRequires: python3-devel python3-setuptools
BuildRequires: python3-tkinter
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}}
Obsoletes: platform-python-%{modname} < %{version}-%{release}
%description -n python3-%{modname}
Compatibility library for python 3.
%prep
%autosetup -n %{modname}-%{version}
%build
%py3_build_wheel
%install
%py3_install_wheel %{python_wheelname}
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -rfsxX test_six.py
%files -n python3-%{modname}
%license LICENSE
%doc README* documentation/index*
%{python3_sitelib}/%{modname}-*.dist-info/
%exclude %{python3_sitelib}/%{modname}-*.dist-info/LICENSE*
%{python3_sitelib}/%{modname}.py
%{python3_sitelib}/__pycache__/%{modname}.*
%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
- Type:bugfix
- ID:NAl
- SUG:NA
- DESC:remove python2 require
* Mon Jul 27 2020 tianwei<tianwei123@huawei.com> -1.15.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade software to v1.15.0
* Thu Apr 16 2020 chengquan<chengquan3@huawei.com> -1.14.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade software to v1.14.0
* Thu Sep 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.12.0-1
- Package Init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-six.git
git@gitee.com:src-openeuler/python-six.git
src-openeuler
python-six
python-six
master

搜索帮助