Projects
home:Eustace:branches:Eulaceura:Factory
python-polib
_service:obs_scm:python-polib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-polib.spec of Package python-polib
%global _empty_manifest_terminate_build 0 Name: python-polib Version: 1.2.0 Release: 3 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-%{version}.tar.gz Patch0: msgfmt-dont-convert-the-messages-to-UTF-8-encoding.patch BuildRequires: python3-devel gettext BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-setuptools 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-%{version} -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-*.egg-info/ %{python3_sitelib}/polib.py %{python3_sitelib}/__pycache__/ %changelog * Mon Oct 28 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.2.0-3 - Fix provides missing * Thu Jun 6 2024 wangqiang <wangqiang1@kylinos.con> - 1.2.0-2 - Add build require gettext, and fix test case test_save_as_mofile * Tue Aug 22 2023 wulei <wu_lei@hoperun.com> - 1.2.0-1 - Update to 1.2.0 * Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.1.1-1 - Upgrade to version 1.1.1 * Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 1.1.0-4 - drop python2 subpackage * Thu Jun 18 2020 hanhui <hanhui15@huawei.com> - 1.1.0-3 - bugfix - fix python3.8 can not find path * Mon Jan 6 2020 lingsheng <lingsheng@huawei.com> - 1.1.0-2 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2