Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
608a9b6e6b
!6 [sync] PR-5: Package upgrade
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-18 08:48:17 +00:00
starlet-dx
6d32809f55 Package upgrade
(cherry picked from commit ba2a6c18a1041214f5581c22a8018908c7eabac2)
2022-10-18 15:46:42 +08:00
openeuler-ci-bot
dbf10f5acd !4 drop python2 subpackage
From: @wangxiao65
Reviewed-by: @miao_kaibo
Signed-off-by: @miao_kaibo
2020-10-30 10:47:54 +08:00
wangxiao65
85e18f5593 drop python2 subpackage 2020-10-29 11:56:01 +08:00
openeuler-ci-bot
74750cc6da !3 python-polib
Merge pull request !3 from shirely/master
2020-06-18 17:06:56 +08:00
shirely16
6882ad82d7 fix python3.8 can not find path 2020-06-18 14:55:27 +08:00
openeuler-ci-bot
2e3563907b !2 add yaml
Merge pull request !2 from cuibb1/master
2020-05-13 19:07:40 +08:00
root
9978a5b327 yaml 2020-05-11 15:38:43 +08:00
openeuler-ci-bot
25e31a3cb0 !1 package init
Merge pull request !1 from ultra_planet/new
2020-01-10 16:25:02 +08:00
ultra_planet
633d810fca package init 2020-01-10 16:10:57 +08:00
3 changed files with 62 additions and 0 deletions

BIN
polib-1.1.1.tar.gz Normal file

Binary file not shown.

58
python-polib.spec Normal file
View File

@ -0,0 +1,58 @@
Name: python-polib
Version: 1.1.1
Release: 1
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.1.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 its 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 its entries, add, modify entries, comments or metadata, etc… or
create new po files from scratch.
%prep
%autosetup -n polib-1.1.1 -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.1-py3.*.egg-info
%{python3_sitelib}/polib.py
%{python3_sitelib}/__pycache__/polib.cpython-3*.pyc
%changelog
* 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

4
python-polib.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: polib
tag_prefix: "^v"
seperator: "."