1 Star 0 Fork 12

src-oepkgs-oE-rv/python-polib

forked from src-openEuler/python-polib 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-polib.spec 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
wangxiao65 提交于 2020-10-29 11:56 . drop python2 subpackage
Name: python-polib
Version: 1.1.0
Release: 4
Summary: A library to manipulate gettext files (po and mo files)
License: MIT
URL: https://pypi.org/project/polib/
Source0: https://pypi.python.org/packages/source/p/polib/polib-1.1.0.tar.gz
BuildRequires: python3-devel
BuildArch: noarch
%description
polib is a library to manipulate, create, modify gettext files (pot, po and mo files). You can load
existing files, iterate through it’s entries, add, modify entries, comments or metadata, etc… or
create new po files from scratch.
%package -n python3-polib
Summary: A library to manipulate gettext files (po and mo files)
%{?python_provide:%python_provide python3-polib}
%description -n python3-polib
polib is a library to manipulate, create, modify gettext files (pot, po and mo files). You can load
existing files, iterate through it’s entries, add, modify entries, comments or metadata, etc… or
create new po files from scratch.
%prep
%autosetup -n polib-1.1.0 -p1
rm -rf polib.egg-info
%build
%py3_build
%install
%py3_install
%check
%{__python3} tests/tests.py
%files -n python3-polib
%doc README.rst
%license LICENSE
%{python3_sitelib}/polib-1.1.0-py3.*.egg-info
%{python3_sitelib}/polib.py
%{python3_sitelib}/__pycache__/polib.cpython-3*.pyc
%changelog
* Wed Oct 21 2020 wangxiao <[email protected]> - 1.1.0-4
- drop python2 subpackage
* Thu Jun 18 2020 hanhui <[email protected]> - 1.1.0-3
- bugfix
- fix python3.8 can not find path
* Mon Jan 6 2020 lingsheng <[email protected]> - 1.1.0-2
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/python-polib.git
[email protected]:src-oepkgs-oe-rv/python-polib.git
src-oepkgs-oe-rv
python-polib
python-polib
master

搜索帮助