121 Star 0 Fork 7

src-openEuler / python-contextlib2
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-contextlib2.spec 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
王歌 提交于 2022-10-18 16:32 +08:00 . update to version 21.6.0
%{!?_licensedir: %global license %%doc}
Name: python-contextlib2
Version: 21.6.0
Release: 1
Summary: Backports and enhancements for the contextlib module
License: Python
URL: https://pypi.io/project/contextlib2
Source0: https://pypi.io/packages/source/c/contextlib2/contextlib2-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
The package is a backport of the standard library's contextlib module to earlier Python versions.
It provides a ground for enhancements to the standard library version.
%package -n python3-contextlib2
Summary: Backports and enhancements for the contextlib module
%description -n python3-contextlib2
The package is a backport of the standard library's contextlib module to earlier Python versions.
It provides a ground for enhancements to the standard library version.
%prep
%autosetup -n contextlib2-%{version}
rm -rf contextlib2.egg-info
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
cd %{py3dir}
%{__python3} setup.py build
cd -
%install
cd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
%check
python3 -m unittest discover -v
%files -n python3-contextlib2
%doc README.rst VERSION.txt NEWS.rst
%license LICENSE.txt
%{python3_sitelib}/*
%changelog
* Tue Oct 18 2022 Ge Wang <wangge20@h-partners.com> - 21.6.0-1
- Update to version 21.6.0
* Wed Oct 21 2020 zhangtao <zhangtao221@huawei.com> - 0.5.5-10
- delete python2
* Wed Mar 4 2020 zhujunhao <zhujunhao5@huawei.com> - 0.5.5-9
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-contextlib2.git
git@gitee.com:src-openeuler/python-contextlib2.git
src-openeuler
python-contextlib2
python-contextlib2
openEuler-22.03-LTS-SP1

搜索帮助