Package Release Info


Update Info: Base Release
Available in Package Hub : 15 SP5 Subpackages





Change Logs

* Mon Sep 10 2018
- Add polib-1.1.0-fix-tests-big-endian.patch to overcome failing tests
  on big-endian machines (
* Thu Jan 25 2018
- 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, 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
* Mon Dec 04 2017
- Add upstream patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff
  * Fixed test for mo files that was failing because since gettext
    version, msgfmt skips the "POT-Creation-Date" metadata
* Sun Apr 23 2017
- Update to version 1.0.8
  * Fixed issue #70 (occurrences parsing for windows pathes)
  * Fixed issue #71 (tcomment and flags not saved for obsolete entries)
  * Fixed issue #72 (wrong metadata ordering)
  * Fixed issue #73 (can't always unpickle POFile)
  * Use natural sorting for additional headers (metadata)
  * Fixed typos in various documents
- Update to version 1.0.7
  * Fixed bad parsing of indented msgstr_plural
  * Fixed ordering of "Language" metadata entry
  * Removed space after "#" in header if comment line is empty (like gettext tools)
  * Fixed typos / grammar errors (thanks Jakub Wilk)
  * Take into account msgid_plural if needed when comparing entries (thanks Leonardo Constantino Oliveira)
  * Fixed issue #63 (str() on a bytes instance when using python3) (thanks Jakub Wilk)
- Implement single-spec version
- Fix source url.
* Mon May 11 2015
- update to version 1.0.6:
  * Wheel support
  * Add missing 'Language' and 'Plural-Forms' to metadata ordering
  * More accurate float operation for POFile.percent_translated()
- additional changes from version 1.0.5:
  * Fixed issue #59: tokens variable referenced before assignment
  * Implemented feature request #56: line number information in PO
  * Fixed issue #61: polib does not handle previous msgid on
    multines properly
- additional changes from version 1.0.4:
  * Fixed issue #43: improved check that determine if polib is
    dealing with a filepath or unicode content
  * Fixed issue #44: polib now checks MO files revision number and
    throws an error if the number is unexpected
  * Fixed issue #45: parse properly mo files with no header entry
  * Fixed issue #47: added flags attribute for MOEntry to be
    consistant with POEntry
  * Fixed issue #49: use integers rather than strings for
    msgstr_plural keys
  * Fixed issue #51: if a PO file ends with a comment, polib adds a
    spurious empty entry at the end
  * Fixed issue #52: bad magic number written on big endian
  * Fixed issue #53: added a __hash__() method to POEntry and
    MOEntry classes
  * Fixed issue #54: use lowercase for state identifiers. This
    fixes issues with certain locales and string.lower()
  * Fixed issue #58: use instead of because
    the latter doesn't handle very well universal line endings
  * Make sure the mo file is closed at garbage collection, this
    prevents warnings on unclosed file when running tests with
    python >= 3.2
  * Better way to test indianness
  * polib download URL is now on Pypi
- drop endian_magic.patch: fixed upstream
- point the source URL to pypi
* Thu Sep 12 2013
- Fixed issue #53 (bad magic number written on big endian platforms)
* Mon Feb 11 2013
- Correct RPM group.
- Use full URL as a source.
- Doesn't require fdupes.
* Sat Feb 09 2013
- Update to 1.0.3
  * Fixed issue #38: POFile.append() raised a duplicate exception when
    you tried to add a new entry with the same msgid and a different msgctxt
    (only when check_for_duplicates option is set to True)
  * Fixed issue #39: Added file for convenience
  * Fixed issue #41: UnicodeDecodeError when running build on
    python3 with C locale
  * polib is now fully PEP8 compliant
  * Small improvements: remove unused "typ" var, mproved Makefile, Make sure
    BaseFile.__contains__ returns a boolean value
* Wed Sep 12 2012
- Update to 1.0.1:
  * speed up POFile.merge method
  * allow comments starting with two '#' characters
* Wed Jun 13 2012
- Update to 1.0.0:
  * polib.pofile and polib.mofile functions can now return a custom class
    (thanks Craig Blaszczyk)
  * polib now can find the metadata entry no matter where it is located (thanks
    Fran├žois Poirotte)
  * fixed issue #28 (IOError on reading obsolete "previous msgid" entries)
    (thanks James Ni)
  * Dropped python 2.4 support
- Add %check section to run unit tests