File python-polib.changes of Package python-polib
-------------------------------------------------------------------
Mon Sep 10 11:44:59 UTC 2018 - Matěj Cepl <mcepl@suse.com>
- 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)
-------------------------------------------------------------------
Thu Jan 25 15:43:04 UTC 2018 - tchvatal@suse.com
- 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
-------------------------------------------------------------------
Mon Dec 4 08:41:02 UTC 2017 - mlin@suse.com
- Add upstream patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff
* Fixed test for mo files that was failing because since gettext
version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata
entry.
-------------------------------------------------------------------
Sun Apr 23 20:18:09 UTC 2017 - toddrme2178@gmail.com
- 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 13:09:37 UTC 2015 - benoit.monin@gmx.fr
- 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
entries
* 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
platforms
* 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 io.open() instead of codecs.open() 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 14:51:41 UTC 2013 - dvaleev@suse.com
- Fixed issue #53 (bad magic number written on big endian platforms)
endian_magic.patch
-------------------------------------------------------------------
Mon Feb 11 17:31:17 UTC 2013 - lazy.kent@opensuse.org
- Correct RPM group.
- Use full URL as a source.
- Doesn't require fdupes.
-------------------------------------------------------------------
Sat Feb 9 18:47:20 UTC 2013 - p.drouand@gmail.com
- 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 __init__.py file for convenience
* Fixed issue #41: UnicodeDecodeError when running setup.py 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 03:36:04 UTC 2012 - os-dev@jacraig.com
- Update to 1.0.1:
* speed up POFile.merge method
* allow comments starting with two '#' characters
-------------------------------------------------------------------
Wed Jun 13 00:41:24 UTC 2012 - os-dev@jacraig.com
- 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
-------------------------------------------------------------------
Tue Jan 31 10:59:13 UTC 2012 - saschpe@suse.de
- Resolved spec file conflict
- Remove obsolete SUSE version check (for 10.1)
-------------------------------------------------------------------
Tue Aug 16 07:46:58 UTC 2011 - saschpe@suse.de
- Fix build on SLE_10 by adding a version check around fdupes and
by removing the %check section
-------------------------------------------------------------------
Mon Aug 15 07:55:03 UTC 2011 - saschpe@suse.de
- Spec file cleanup:
* Remove authors from description
* Much simpler docs generation and installation (don't install
Makefile and reStructuredText sources)
-------------------------------------------------------------------
Sun Aug 14 23:29:00 CEST 2011 - hpj@urpla.net
- install docs in the package doc dir
-------------------------------------------------------------------
Sat Aug 13 11:58:29 CEST 2011 - hpj@urpla.net
- Release 0.7.0
- create and package docs
-------------------------------------------------------------------
Mon Sep 20 15:15:09 UTC 2010 - fcrozat@novell.com
- Release 0.5.3