41 Commits

Author SHA256 Message Date
8d1f96674a Accepting request 1158841 from devel:languages:python
- Switch to autosetup and pytest macros.
- Skip two broken tests.

OBS-URL: https://build.opensuse.org/request/show/1158841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=27
2024-03-18 15:45:17 +00:00
dd59e29046 - Switch to autosetup and pytest macros.
- Skip two broken tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=43
2024-03-18 01:45:14 +00:00
33b0999046 Accepting request 1143628 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1143628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=26
2024-02-02 14:48:07 +00:00
c990d68f1d Accepting request 1143616 from Application:ERP:GNUHealth:4.4
- Fix multibuild
- Switch to wheel and %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1143616
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=41
2024-02-02 12:24:33 +00:00
14fdc1bf3c Accepting request 1129236 from devel:languages:python
- update to 1.2.0:
  * Added setter for the fuzzy property
  * Escape/unescape ^k, ^h and ^l
  * Added path to error message processing parser symbols
  * Ensure empty previous values for msgid and msgstr are
    properly saved
  * Fixed relative ordering of comments and translator
    comments
  * Do not count obsolete entries in fuzzy() method
  * Close files properly
  * Fixed support for loading mo files from bytes object
  * Fixed msgstr_plural comparison
  * Simplified python version check
  * Updated docs

  endian_magic.patch

OBS-URL: https://build.opensuse.org/request/show/1129236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=25
2023-11-27 21:45:06 +00:00
2e3d31afa7 - update to 1.2.0:
* Added setter for the fuzzy property
  * Escape/unescape ^k, ^h and ^l
  * Added path to error message processing parser symbols
  * Ensure empty previous values for msgid and msgstr are
    properly saved
  * Fixed relative ordering of comments and translator
    comments
  * Do not count obsolete entries in fuzzy() method
  * Close files properly
  * Fixed support for loading mo files from bytes object
  * Fixed msgstr_plural comparison
  * Simplified python version check
  * Updated docs
  endian_magic.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=39
2023-11-27 19:51:25 +00:00
db9206053c Accepting request 1102345 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1102345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=24
2023-08-04 13:04:40 +00:00
71eae500e5 Accepting request 1102220 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1102220
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=37
2023-08-04 11:23:24 +00:00
f7ff185fd1 Accepting request 897853 from devel:languages:python
- update to 1.1.1:
  - Strip UTF-16 BOM (U+FEFF) from start of file
  - Message context (msgctxt) support for MO files
  - Dropped Python < 2.7 support
  - Updated docs and README after switch from Bitbucket to Github

OBS-URL: https://build.opensuse.org/request/show/897853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=23
2021-06-06 20:41:00 +00:00
9c6f2c82c2 - update to 1.1.1:
- Strip UTF-16 BOM (U+FEFF) from start of file
  - Message context (msgctxt) support for MO files
  - Dropped Python < 2.7 support
  - Updated docs and README after switch from Bitbucket to Github

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=35
2021-06-06 12:41:04 +00:00
758b727eb1 Accepting request 634946 from devel:languages:python
- Add polib-1.1.0-fix-tests-big-endian.patch to overcome failing tests
  on big-endian machines (https://bitbucket.org/izi/polib/issues/96)

OBS-URL: https://build.opensuse.org/request/show/634946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=22
2018-09-11 15:21:00 +00:00
095133174b Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=33
2018-09-11 11:13:13 +00:00
c2e54c2fda Accepting request 634930 from home:mcepl:work
Update the big endian patch.

OBS-URL: https://build.opensuse.org/request/show/634930
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=32
2018-09-11 09:52:02 +00:00
d2746e983b Another possible way of attack
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=31
2018-09-10 22:27:34 +00:00
9ca36c2c77 Add polib-1.1.0-fix-tests-big-endian.patch to overcome failing tests
on big-endian machines (https://bitbucket.org/izi/polib/issues/96)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=30
2018-09-10 11:47:49 +00:00
23e2c32fac Accepting request 569563 from devel:languages:python
- Version update to 1.1.0:
  - Fixed entries sorting when generating mo file (Fixes #78)
  - Fixed find method (Fixes #84)
  - Refactored POEntry.__cmp__ method (this should fix issues #60, #65 and #79)
  - Fixed duplicated entries when merging po file with pot file (fixes #68)
  - Fixed "None" string being outputted when polib deals with syntax error in string (Fixes issue #66)
  - Added a fuzzy property to entries (Fixes #76)
  - Take into account the message context when comparing entries
  - Leave occurence untouched if line number is not a number (fixes #80 and #90)
  - Fixed test for mo files that was failing because since gettext version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata entry (Fixes #86)
  - Fixed major revision number comparison
  - Dropped python 2.4 support
- Drop merged patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff

OBS-URL: https://build.opensuse.org/request/show/569563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=21
2018-01-26 12:39:50 +00:00
Tomáš Chvátal
80e28e02ee - Version update to 1.1.0:
- Fixed entries sorting when generating mo file (Fixes #78)
  - Fixed find method (Fixes #84)
  - Refactored POEntry.__cmp__ method (this should fix issues #60, #65 and #79)
  - Fixed duplicated entries when merging po file with pot file (fixes #68)
  - Fixed "None" string being outputted when polib deals with syntax error in string (Fixes issue #66)
  - Added a fuzzy property to entries (Fixes #76)
  - Take into account the message context when comparing entries
  - Leave occurence untouched if line number is not a number (fixes #80 and #90)
  - Fixed test for mo files that was failing because since gettext version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata entry (Fixes #86)
  - Fixed major revision number comparison
  - Dropped python 2.4 support
- Drop merged patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=28
2018-01-25 15:45:53 +00:00
a5a1e73c5b Accepting request 548032 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/548032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=20
2017-12-04 11:17:04 +00:00
b554870354 Accepting request 548012 from home:mlin7442:branches:devel:languages:python
fixes failed test

OBS-URL: https://build.opensuse.org/request/show/548012
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=26
2017-12-04 09:52:40 +00:00
fd876ba961 Accepting request 490075 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/490075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=19
2017-05-06 16:27:28 +00:00
Todd R
d874fe65df Accepting request 490073 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.0.8
- Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/490073
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=24
2017-04-24 04:14:46 +00:00
Stephan Kulow
822f597a52 Accepting request 307339 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/307339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=18
2015-05-16 05:14:42 +00:00
Michal Čihař
bd2b5dd62b Accepting request 306353 from home:benoit_monin:branches:devel:languages:python
- update to version 1.0.6
- drop endian_magic.patch: fixed upstream
- point the source URL to pypi

OBS-URL: https://build.opensuse.org/request/show/306353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=22
2015-05-15 13:25:54 +00:00
Tomáš Chvátal
bc790ffa79 Accepting request 198985 from devel:languages:python
- Fixed issue #53 (bad magic number written on big endian platforms)
  endian_magic.patch (forwarded request 198719 from k0da)

OBS-URL: https://build.opensuse.org/request/show/198985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=15
2013-09-14 17:09:27 +00:00
Sascha Peilicke
295fccece0 Accepting request 198719 from home:k0da:ppc
- Fixed issue #53 (bad magic number written on big endian platforms)
  endian_magic.patch

OBS-URL: https://build.opensuse.org/request/show/198719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=20
2013-09-13 15:10:13 +00:00
Stephan Kulow
3ab736aeb4 Accepting request 179933 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=14
2013-06-19 14:43:43 +00:00
Sascha Peilicke
242c67c892 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=18
2013-06-17 12:52:39 +00:00
Stephan Kulow
712a47354b Accepting request 155300 from devel:languages:python
Cosmetic changes in spec.
Built with Python3 (https://build.opensuse.org/package/show?package=python3-polib&project=home%3ALazy_Kent).
Please link to python3-polib.
 (forwarded request 155141 from Lazy_Kent)

OBS-URL: https://build.opensuse.org/request/show/155300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=13
2013-02-13 13:39:11 +00:00
Sascha Peilicke
3dd8a750aa Accepting request 155141 from home:Lazy_Kent:branches:devel:languages:python
Cosmetic changes in spec.
Built with Python3 (https://build.opensuse.org/package/show?package=python3-polib&project=home%3ALazy_Kent).
Please link to python3-polib.

OBS-URL: https://build.opensuse.org/request/show/155141
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=16
2013-02-13 08:25:11 +00:00
Stephan Kulow
94abbc6c0b Accepting request 155085 from devel:languages:python
Update (forwarded request 154998 from posophe)

OBS-URL: https://build.opensuse.org/request/show/155085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=12
2013-02-11 10:12:25 +00:00
Sascha Peilicke
578c4c7173 Accepting request 154998 from home:posophe:branches:devel:languages:python
Update

OBS-URL: https://build.opensuse.org/request/show/154998
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=14
2013-02-11 09:10:45 +00:00
Stephan Kulow
2d1625a66d Accepting request 134632 from devel:languages:python
Update to 1.0.1 (forwarded request 133715 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/134632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=10
2012-09-20 13:43:53 +00:00
Ismail Dönmez
0143db0316 Accepting request 133715 from home:poorboywilly:branches:devel:languages:python
Update to 1.0.1

OBS-URL: https://build.opensuse.org/request/show/133715
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=12
2012-09-17 09:45:53 +00:00
Stephan Kulow
2cba30c427 Accepting request 124776 from devel:languages:python
Update to 1.0.0, add unit tests (forwarded request 124765 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/124776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=8
2012-06-14 20:26:32 +00:00
Todd R
bb2443681b Accepting request 124765 from home:poorboywilly:branches:devel:languages:python
Update to 1.0.0, add unit tests

OBS-URL: https://build.opensuse.org/request/show/124765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=10
2012-06-13 06:04:31 +00:00
Stephan Kulow
3802b8f9ea Accepting request 103935 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=7
2012-02-17 11:08:56 +00:00
Stephan Kulow
dbd71209a1 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=6
2011-12-06 17:57:04 +00:00
Lars Vogdt
f701280812 Autobuild autoformatter for 80623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=4
2011-09-05 15:03:02 +00:00
Lars Vogdt
f1afc87f32 Accepting request 80623 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/80623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=3
2011-09-05 15:02:53 +00:00
789d3093dc Autobuild autoformatter for 78853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=2
2011-08-17 22:07:01 +00:00
c81dc3b807 Accepting request 78853 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/78853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-polib?expand=0&rev=1
2011-08-17 22:06:50 +00:00