112 Star 0 Fork 6

src-openEuler / python-linecache2
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-linecache2.spec 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
alan 提交于 2020-09-29 11:01 +08:00 . Fix Source0
%global package_description\
The linecache module allows one to get any line from any file, while \
attempting to optimize internally, using a cache, the common case where many \
lines are read from a single file. This package provides a backport of \
linecache to older supported Python versions.
Name: python-linecache2
Version: 1.0.0
Release: 20
Summary: A backport of linecache to older supported Python versions
License: Python
URL: https://github.com/testing-cabal/linecache2
Source0: https://pypi.python.org/packages/source/l/linecache2/linecache2-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-pbr python3-fixtures python3-unittest2
%description
%{package_description}
%package -n python3-linecache2
Summary: A backport of linecache to older supported Python versions
%description -n python3-linecache2
%{package_description}
%prep
%autosetup -n linecache2-%{version}
mv linecache2/tests .
%build
%py3_build
%install
%py3_install
mv tests linecache2/
%{__python3} -m unittest2 -v
mv linecache2/tests .
%files -n python3-linecache2
%doc AUTHORS ChangeLog README.rst
%{python3_sitelib}/*
%changelog
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 1.0.0-20
- Fix Source0
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 1.0.0-19
- Remove python2-linecache2 subpackage
* Tue Nov 26 2019 lihao <lihao129@huawei.com> - 1.0.0-18
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-linecache2.git
git@gitee.com:src-openeuler/python-linecache2.git
src-openeuler
python-linecache2
python-linecache2
openEuler-22.03-LTS-SP1

搜索帮助